summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/drivers/DB_mysqli.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/system/drivers/DB_mysqli.php b/system/drivers/DB_mysqli.php
index d2a3140c2..4b9685799 100644
--- a/system/drivers/DB_mysqli.php
+++ b/system/drivers/DB_mysqli.php
@@ -89,12 +89,6 @@ class CI_DB_mysqli extends CI_DB {
{
$sql = $this->_prep_query($sql);
$result = @mysqli_query($this->conn_id, $sql);
-
- // We only advance the result pointer if there isn't an error
- if (mysqli_errno($this->conn_id) == 0)
- {
- mysqli_next_result($this->conn_id);
- }
return $result;
}