modified lock and unlock to return always '1' and to execute no code

=> no locks with pgsql anymore!!!!
This commit is contained in:
Lars Kneschke 2003-12-08 08:07:19 +00:00
parent cab021e7b9
commit fdbf8c18a9

View File

@ -277,6 +277,9 @@
function lock($table, $mode = 'write') function lock($table, $mode = 'write')
{ {
// don't lock any tables in pgsql anymore
return 1;
$result = $this->transaction_begin(); $result = $this->transaction_begin();
if ($mode == 'write') if ($mode == 'write')
@ -303,6 +306,9 @@
function unlock() function unlock()
{ {
// we don't lock tables anymore in pgsql
return 1;
return $this->transaction_commit(); return $this->transaction_commit();
} }