disable transactions, since they break in 7.3.X so far

This commit is contained in:
Miles Lott 2004-02-06 00:34:24 +00:00
parent c4db604c28
commit f2f773f8ab

View File

@ -226,12 +226,16 @@
function transaction_begin() function transaction_begin()
{ {
/* disable transactions in PG for now */
return True;
return $this->query('begin'); return $this->query('begin');
} }
function transaction_commit() function transaction_commit()
{ {
if (! $this->Errno) /* disable transactions in PG for now */
return True;
if(!$this->Errno)
{ {
return pg_Exec($this->Link_ID,'commit'); return pg_Exec($this->Link_ID,'commit');
} }
@ -243,6 +247,7 @@
function transaction_abort() function transaction_abort()
{ {
return True;
return pg_Exec($this->Link_ID,'rollback'); return pg_Exec($this->Link_ID,'rollback');
} }