summaryrefslogtreecommitdiffstats
path: root/system/drivers/DB_mysqli.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/drivers/DB_mysqli.php')
-rw-r--r--system/drivers/DB_mysqli.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/drivers/DB_mysqli.php b/system/drivers/DB_mysqli.php
index 75c01e7f8..fadcdd3c4 100644
--- a/system/drivers/DB_mysqli.php
+++ b/system/drivers/DB_mysqli.php
@@ -88,7 +88,9 @@ class CI_DB_mysqli extends CI_DB {
function execute($sql)
{
$sql = $this->_prep_query($sql);
- return @mysqli_query($this->conn_id, $sql);
+ $result = @mysqli_query($this->conn_id, $sql);
+ mysqli_next_result($this->conn_id);
+ return $result;
}
// --------------------------------------------------------------------