|
Hi
I have a script that is working on a few different RedHat Fedora Core # installs on 32 & 64 bit platforms. We now have a Fedora 7, 64 bit machine and I just tried running it there. I get the message:
DBI last_insert_id: invalid number of arguments: got handle + 0, expected handle + between 4 and 5
Usage: $h->last_insert_id($catalog, $schema, $table_name, $field_name [, \%attr ]) at /usr/loca
+l/bin/myScript line 454.
That line looks like
my $id = $DBH->last_insert_id();
This machine is running an RPM install of MySQL 5.0.45 and I have updated the CPAN modules that this machine is running as well. It is still failing.
Is this a change in the MySQL modules or MySQL itself?
Dean |