From d6159b8b56e27709705d2b579c606ac53226877d Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 31 Dec 2001 20:36:46 +0000 Subject: [PATCH] Missing transaction code ... may have caused some or all of the current PostgreSQL issues ... git-svn-id: file:///svn/phpbb/trunk@1754 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/db/postgres7.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpBB/db/postgres7.php b/phpBB/db/postgres7.php index 33b7f6809f..41d055a556 100644 --- a/phpBB/db/postgres7.php +++ b/phpBB/db/postgres7.php @@ -142,6 +142,7 @@ class sql_db { return false; } + $this->in_transaction = TRUE; } $this->query_result = @pg_exec($this->db_connect_id, $query); @@ -172,6 +173,8 @@ class sql_db { @pg_exec($this->db_connect_id, "ROLLBACK"); } + $this->in_transaction = FALSE; + return false; } }