Index: trunk/phase3/includes/db/DatabaseMysql.php |
— | — | @@ -336,7 +336,7 @@ |
337 | 337 | $items[] = $this->tableName( $table ) . ' READ'; |
338 | 338 | } |
339 | 339 | $sql = "LOCK TABLES " . implode( ',', $items ); |
340 | | - $db->query( $sql, $method ); |
| 340 | + $this->query( $sql, $method ); |
341 | 341 | } |
342 | 342 | |
343 | 343 | public function unlockTables( $method ) { |