* Hassan Schroeder
> > LAST_INSERT_ID() is connection specific, so it is safe from the
> > concurrency issue.
>
> Note: "safe" may not apply if you're using connection pooling :-)

In what situation is this unsafe? In general, you would not call
LAST_INSERT_ID() without first having done an INSERT in the same session,
and even with connection pooling you would usually use the same connection
for all statements related to a session. What am I missing?

--
Roger


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to