Index: trunk/phase3/includes/db/DatabaseOracle.php |
— | — | @@ -706,5 +706,15 @@ |
707 | 707 | function getServer() { |
708 | 708 | return $this->mServer; |
709 | 709 | } |
| 710 | + |
| 711 | + /** |
| 712 | + * No-op lock functions |
| 713 | + */ |
| 714 | + public function lock( $lockName, $method ) { |
| 715 | + return true; |
| 716 | + } |
| 717 | + public function unlock( $lockName, $method ) { |
| 718 | + return true; |
| 719 | + } |
710 | 720 | |
711 | 721 | } // end DatabaseOracle class |
Index: trunk/phase3/includes/db/DatabaseMssql.php |
— | — | @@ -997,6 +997,16 @@ |
998 | 998 | $this->query("$sql $matches[1],$matches[2])"); |
999 | 999 | } |
1000 | 1000 | } |
| 1001 | + |
| 1002 | + /** |
| 1003 | + * No-op lock functions |
| 1004 | + */ |
| 1005 | + public function lock( $lockName, $method ) { |
| 1006 | + return true; |
| 1007 | + } |
| 1008 | + public function unlock( $lockName, $method ) { |
| 1009 | + return true; |
| 1010 | + } |
1001 | 1011 | |
1002 | 1012 | } |
1003 | 1013 | |
Index: trunk/phase3/includes/db/DatabaseSqlite.php |
— | — | @@ -373,6 +373,16 @@ |
374 | 374 | $this->query("$sql $matches[1],$matches[2])"); |
375 | 375 | } |
376 | 376 | } |
| 377 | + |
| 378 | + /** |
| 379 | + * No-op lock functions |
| 380 | + */ |
| 381 | + public function lock( $lockName, $method ) { |
| 382 | + return true; |
| 383 | + } |
| 384 | + public function unlock( $lockName, $method ) { |
| 385 | + return true; |
| 386 | + } |
377 | 387 | |
378 | 388 | } |
379 | 389 | |