note 8242 deleted from mysql_insert_id by danbeck
| From: | danbeck@php.net | Date: | Thu, 07 Sep 2000 16:18:05 +0000 |
| Subject: | note 8242 deleted from mysql_insert_id by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4397@lists.php.net to get a copy of this message | ||
Is this "permanent connection" safe ? The MySQL documentation states that the last insert
ID is connection dependant (ie each connection to MySQL keep in memory its last insert ID). What
happens when permanent connections are used in PHP (use of pconnect) ? In this situation, several
scripts would have only one last insert id, and this would create concurrency problems...