From: Michael N. <mne...@us...> - 2002-05-21 18:52:20
|
Update of /cvsroot/ruby-dbi/src/lib/dbd_mysql In directory usw-pr-cvs1:/tmp/cvs-serv2869 Modified Files: Mysql.rb Log Message: added driver specific method Database#__insert_id Index: Mysql.rb =================================================================== RCS file: /cvsroot/ruby-dbi/src/lib/dbd_mysql/Mysql.rb,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- Mysql.rb 14 May 2002 18:03:19 -0000 1.13 +++ Mysql.rb 21 May 2002 18:52:17 -0000 1.14 @@ -2,10 +2,10 @@ # DBD::Mysql # $Id$ # -# Version : 0.3.2 +# Version : 0.3.3 # Author : Michael Neumann (ne...@s-...) # -# Copyright (c) 2001 Michael Neumann +# Copyright (c) 2001, 2002 Michael Neumann # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -28,7 +28,7 @@ module DBD module Mysql -VERSION = "0.3.2" +VERSION = "0.3.3" USED_DBD_VERSION = "0.2" MyError = ::MysqlError @@ -294,6 +294,11 @@ def __reload @handle.reload end + + def __insert_id + @handle.insert_id + end + end # class Database |