forked from extern/egroupware
disable transactions, since they break in 7.3.X so far
This commit is contained in:
parent
c4db604c28
commit
f2f773f8ab
@ -226,12 +226,16 @@
|
||||
|
||||
function transaction_begin()
|
||||
{
|
||||
/* disable transactions in PG for now */
|
||||
return True;
|
||||
return $this->query('begin');
|
||||
}
|
||||
|
||||
function transaction_commit()
|
||||
{
|
||||
if (! $this->Errno)
|
||||
/* disable transactions in PG for now */
|
||||
return True;
|
||||
if(!$this->Errno)
|
||||
{
|
||||
return pg_Exec($this->Link_ID,'commit');
|
||||
}
|
||||
@ -243,6 +247,7 @@
|
||||
|
||||
function transaction_abort()
|
||||
{
|
||||
return True;
|
||||
return pg_Exec($this->Link_ID,'rollback');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user