Re: last insert id



On Thu, Mar 23, 2006 at 11:22:12PM +0200, Stuart Gall wrote:
On 23 Mar 2006, at 18:24, Greg Sabino Mullane wrote:

I am using DBI Version 1.42 on OSX, accessing a MySQL database on
...

The last_insert_id() method was broken prior to 1.43, so at the very
least, you should install a newer version of DBI.

Good Call, I have upgraded to 1.50, but alas *still* only
$dbh->{'mysql_insertid'} works.

The DBI doesn't implement the last_insert_id() method, the driver needs
to do that.

Tim.
.



Relevant Pages

  • Errors in DBI installation!!
    ... I am getting the errors when trying to install DBI module. ... Perl versions below 5.6.1 are no longer supported by the DBI. ... *** Error code 1 ...
    (perl.dbi.users)
  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)
  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)
  • Fwd: DBI install error,can you help me?
    ... Are you sure the compiler you have is the one used to build Perl? ... I try to install the DBI package but it failed. ... d declaration specifiers or '...' ...
    (perl.dbi.users)
  • Re: Unable to install DBD::ODBC on OSX Leopard 10.5.2
    ... Have you installed a newer DBI? ... Subject: Unable to install DBD::ODBC on OSX Leopard 10.5.2 ... the same assignment fails in line 336. ... Marble Bar Asset Management LLP is regulated and authorised by the FSA. ...
    (perl.dbi.users)