Hello

Firstly, this is my first query, so I can only hope I have sent it to the
correct list!

I am using the C API for MySQL, and using the mysql_insert_id() function to
get the last id assigned in an AUTO INCREMENT column. Orignially I was using
3.22.32 and everything worked fine. Upon upgrading to 3.23.35 the call to
mysql_insert_id(MYSQL*) returned the same value for every call. Each time a
new connection is made, this value seems to increase (e.g it will be 14,
then make a new connection, then it is 15 for that session...)

I am sure I am reading the documenation correctly, but can't seem to find
what is wrong. Any help with this problem (or my reading ability!) would be
greatly appreciated.

Thank you
Matthew Fincham


---------------------------------------------------------------------
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

Reply via email to