summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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