MySQL Forums
Forum List  »  Stored Procedures

Re: last_insert_id(), is it safe?
Posted by: carl christianson
Date: May 20, 2012 08:26AM

ok I think I answered my own question on this...

It appears that it's bound to connection and as long as you do your work sequentially in that connection you'll be ok.

Just some of the comments I've seen from other users took me aback on this, and I was concerned I could get cross-connection results. That doesn't appear to be the case though in the testing I've done.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: last_insert_id(), is it safe?
1138
May 20, 2012 08:26AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.