On Tue, 22 Oct 2002, william ross wrote:
> i doubt that this is an actual bug, or there would have been a
> discussion before, but just in case someone can save what remains of my
> hair:
>
> anyone aware of an os-x-specific problem with dbd::mysql's
> $dbh->{last_insertid}?
> it always returns zero on my powerbook, but the identical applications
> work perfectly everywhere else I've tried them.
[snip]
> I've been updating like crazy to try and make it go away, to no avail.
> Here's the resulting setup:
>
> perl 5.8.0
> DBI 1.30
> mysql Ver 11.18 Distrib 3.23.53, for apple-darwin6.1 (powerpc)
> msql-mysql tools 1.2219 (ie DBD::mysql 2.0419)
>
I saw this behavior in older DBD::mysql's as well. 2.1020 works properly
for me at least (with 10.2.1, perl 5.6.1, and DBI 1.30).
--
Chris Reinhardt
[EMAIL PROTECTED]
Systems Architect
Dynamic DNS Network Services
http://www.dyndns.org/