diff options
Diffstat (limited to 'phpBB/includes/db/oracle.php')
-rw-r--r-- | phpBB/includes/db/oracle.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/db/oracle.php b/phpBB/includes/db/oracle.php index 72732d2a50..f2499c5456 100644 --- a/phpBB/includes/db/oracle.php +++ b/phpBB/includes/db/oracle.php @@ -99,11 +99,10 @@ class dbal_oracle extends dbal $this->last_query_text = $query; $this->query_result = ($cache_ttl && method_exists($cache, 'sql_load')) ? $cache->sql_load($query) : false; - + $this->sql_add_num_queries($this->query_result); + if (!$this->query_result) { - $this->num_queries++; - $in_transaction = false; if (!$this->transaction) { |