From: chrisj
Date: Thu May 17 02:58:02 2001
Modified files:
php-lib-stable/php/db_mysql.inc
Log message:
Fix unlock() to add $this->Link_ID to mysql_query() as pointed out by
John Sutton <[EMAIL PROTECTED]> on the mailing list.
Index: php-lib-stable/php/db_mysql.inc
diff -u php-lib-stable/php/db_mysql.inc:1.2 php-lib-stable/php/db_mysql.inc:1.3
--- php-lib-stable/php/db_mysql.inc:1.2 Wed Jul 12 20:22:34 2000
+++ php-lib-stable/php/db_mysql.inc Thu May 17 02:57:31 2001
@@ -5,7 +5,7 @@
* Copyright (c) 1998-2000 NetUSE AG
* Boris Erdmann, Kristian Koehntopp
*
- * $Id: db_mysql.inc,v 1.2 2000/07/12 18:22:34 kk Exp $
+ * $Id: db_mysql.inc,v 1.3 2001/05/17 00:57:31 chrisj Exp $
*
*/
@@ -192,7 +192,7 @@
function unlock() {
$this->connect();
- $res = @mysql_query("unlock tables");
+ $res = @mysql_query("unlock tables", $this->Link_ID);
if (!$res) {
$this->halt("unlock() failed.");
return 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]