aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/db/oracle.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/db/oracle.php b/phpBB/db/oracle.php
index c58e594bac..560343bfe4 100644
--- a/phpBB/db/oracle.php
+++ b/phpBB/db/oracle.php
@@ -96,6 +96,10 @@ class sql_db
{
// Remove any pre-existing queries
unset($this->query_result);
+
+ // Put us in transaction mode because with Oracle as soon as you make a query you're in a transaction
+ $this->in_transaction = TRUE;
+
if($query != "")
{
$this->last_query = $query;