Michael Villalba writes:
> mysql_insert_id returns the correct value to my application when I insert a
> single
> row using the INSERT...VALUES syntax. However, when I insert multiple rows,
> it always returns 0. This is inconsistent with the behavior of
> LAST_INSERT_ID,
> which returns the id of the first row.
>
> Has anyone else observed this behavior? I haven't found anything in the
> archives.
>
> I'm using client 3.23.47. I get the same behavior on win2k and RH 2.2.19.
> The
> server is also 3.23.47 and runs on RH 2.2.19.
>
> Regards,
> Michael
>
Hi!
Can you make a test case for us, so that we can test it ??
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php