From f2f773f8abea6ac8d84de4502d01e2378823e733 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 6 Feb 2004 00:34:24 +0000 Subject: [PATCH] disable transactions, since they break in 7.3.X so far --- phpgwapi/inc/class.db_pgsql.inc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.db_pgsql.inc.php b/phpgwapi/inc/class.db_pgsql.inc.php index d18f80e63e..7b040f17d4 100644 --- a/phpgwapi/inc/class.db_pgsql.inc.php +++ b/phpgwapi/inc/class.db_pgsql.inc.php @@ -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'); }