summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-07 02:55:41 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-07 02:55:41 +0200
commita2a240a87baa0cf6a425837158880f5235e3bca6 (patch)
treef85864be8e4e58d53853c0c7859f13d67af34286 /system/database
parentceb6f0bfdeaad23bad419ff4e62519342cc03d05 (diff)
Fixed a bug (#2985) in which multiple queries using a single request were not being honored
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_driver.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index b937ffd6a..257f1ee9b 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -382,6 +382,7 @@ class CI_DB_driver {
$RES->stmt_id = $this->stmt_id;
$RES->curs_id = NULL;
$RES->limit_used = $this->limit_used;
+ $this->stmt_id = FALSE;
}
// Is query caching enabled? If so, we'll serialize the