Author: timbo
Date: Thu Apr  1 06:58:36 2004
New Revision: 252

Modified:
   dbi/trunk/Changes
   dbi/trunk/DBI.pm
Log:
Fixed last_insert_id(...) thanks to Rudy Lippan.


Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes   (original)
+++ dbi/trunk/Changes   Thu Apr  1 06:58:36 2004
@@ -12,6 +12,7 @@
   Fixed "trace level set to" trace message thanks to H.Merijn Brand.
   Fixed DBD::DBM $dbh->{dbm_tables}->{...} to be keyed by the
     table name not the file name thanks to Jeff Zucker.
+  Fixed last_insert_id(...) thanks to Rudy Lippan.
 
   Changed selectall_arrayref() to call finish() if
     $attr->{MaxRows} is defined.

Modified: dbi/trunk/DBI.pm
==============================================================================
--- dbi/trunk/DBI.pm    (original)
+++ dbi/trunk/DBI.pm    Thu Apr  1 06:58:36 2004
@@ -383,7 +383,7 @@
        commit          => { U =>[1,1], O=>0x0480|0x0800 },
        rollback        => { U =>[1,1], O=>0x0480|0x0800 },
        'do'            => { U =>[2,0,'$statement [, \%attr [, @bind_params ] ]'], 
O=>0x3200 },
-       last_insert_id  => { U =>[3,4,'$table_name, $field_name [, \%attr ]'],     
O=>0x2100 },
+       last_insert_id  => { U =>[5,6,'$catalog, $schema, $table_name, $field_name [, 
\%attr ]'], O=>0x2100 },
        preparse        => {  }, # XXX
        prepare         => { U =>[2,3,'$statement [, \%attr]'],                    
O=>0x2200 },
        prepare_cached  => { U =>[2,4,'$statement [, \%attr [, $if_active ] ]'],   
O=>0x2200 },

Reply via email to