note 14600 deleted from function.mysql-insert-id by sander
| From: | sander@php.net | Date: | Sat, 18 May 2002 07:16:45 +0000 |
| Subject: | note 14600 deleted from function.mysql-insert-id by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-30792@lists.php.net to get a copy of this message | ||
From mysql's manual:
"The last ID that was generated is maintained in the server on a per-connection
basis. It will not be changed by another client. It will not even be changed if
you update another AUTO_INCREMENT column with a non-magic value (that is,
a value that is not NULL and not 0)."
As each thread is using it's own connection there is no need to lock the table.