aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-12-31 20:36:46 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-12-31 20:36:46 +0000
commitd6159b8b56e27709705d2b579c606ac53226877d (patch)
tree8331619cfddae3aa18551159ebeab6d3343290bb /phpBB/db
parente6ffdbe9185e4f9a82cfe0ae123e8fb315c11b42 (diff)
downloadforums-d6159b8b56e27709705d2b579c606ac53226877d.tar
forums-d6159b8b56e27709705d2b579c606ac53226877d.tar.gz
forums-d6159b8b56e27709705d2b579c606ac53226877d.tar.bz2
forums-d6159b8b56e27709705d2b579c606ac53226877d.tar.xz
forums-d6159b8b56e27709705d2b579c606ac53226877d.zip
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
Diffstat (limited to 'phpBB/db')
-rw-r--r--phpBB/db/postgres7.php3
1 files changed, 3 insertions, 0 deletions
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;
}
}