mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-09 01:24:07 +01:00
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