David T. Ashley wrote:
Nigel wrote:
mod_php will persist the MySQL connection holding open any lock or
syncronisation token obtained through any of the three methods :
begin/commit, lock/unlock tables or get_lock/release_lock. PHP does
ensure that even in the event of timeouts or fatal errors any shutdown
handlers registered are still executed so it is possible to clean up
properly whichever method is used.
http://uk.php.net/manual/en/function.register-shutdown-function.php If
you use php's pdo with transactions it perform a rollback for you on
abort or completion.
What is a "pdo"?
Thanks, Dave.
PHP's newest official way to talk to databases:
http://www.*php*.net/*pdo
*http://wiki.cc/*php*/PDO
http://www.phpro.org/tutorials/Introduction-to-PHP-PDO-(PHP-Data-Objects).html
Nigel
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]