Re: documentation: mysql_insert_id() thread safe w persistent connections?
| From: | Richard Lynch | Date: | Wed, 06 Sep 2000 19:21:00 +0000 |
| Subject: | Re: documentation: mysql_insert_id() thread safe w persistent connections? | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-1246@lists.php.net to get a copy of this message | ||
> Well, if the same link_identifier is used for two(or many more)
> simultaneous clients, does mysql_insert_id() return the correct ID of
> the last operation with the same client or does it just return the last
> insert_id of another client on the same persistent connection.
"And in the end, there can be only one"
Only *one* httpd client can actually have any given persistent connection
open at a time. There can be no other open persistent connection to confuse
the ID.