Re: Locking mysql tables with PHP

From: Date: Tue, 25 Nov 2003 15:49:04 +0000
Subject: Re: Locking mysql tables with PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-170897@lists.php.net to get a copy of this message
Wouter van Vliet wrote:
I may be wrong here, but doesn't PHP let MySQL retain the locks when you've connected with the mysql_pconnect(); function? (persistent connect, I would expect locks to get released on a disconnect, which usually happens on a page refresh (new mysql_connect() call).
That is only a side effect, more a bug than feature as it breaks temporary table functionality. And it cannot be relied upon as the persistent connection can end anytime.

« previous php.general (#170897) next »