summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 8f238fc52..381b70f42 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -325,7 +325,8 @@ class CI_DB_driver {
$RES = new $driver();
$RES->conn_id = $this->conn_id;
$RES->result_id = $this->result_id;
-
+ $RES->num_rows = $RES->num_rows();
+
if ($this->dbdriver == 'oci8')
{
$RES->stmt_id = $this->stmt_id;