Fixed a bug (#2985) in which multiple queries using a single request were not being honored
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index b937ffd..257f1ee 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -382,6 +382,7 @@
 			$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