note 69753 deleted from function.mysql-insert-id by cmb
| From: | cmb@php.net | Date: | Sun, 16 Feb 2020 13:30:17 +0000 |
| Subject: | note 69753 deleted from function.mysql-insert-id by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-214114@lists.php.net to get a copy of this message | ||
Note Submitter: mariano at uvcms dot com
----
When used in transactions, mysql_insert_id() MUST be called before committing. Otherwise, it will
return unpredictable results.