summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/odbc/odbc_result.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-07-05 11:06:34 +0200
committerAndrey Andreev <narf@bofh.bg>2012-07-05 11:06:34 +0200
commit5ca0513e1af6c2498f6f28b769c30d762495389f (patch)
treeb21e1305dfc21749960284371312a1c289ff8f82 /system/database/drivers/odbc/odbc_result.php
parent26086874ebb5425a38e879018f9a654182f93b40 (diff)
Change DB_result::num_rows default value to NULL
Diffstat (limited to 'system/database/drivers/odbc/odbc_result.php')
-rw-r--r--system/database/drivers/odbc/odbc_result.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/database/drivers/odbc/odbc_result.php b/system/database/drivers/odbc/odbc_result.php
index af532110a..0085ef664 100644
--- a/system/database/drivers/odbc/odbc_result.php
+++ b/system/database/drivers/odbc/odbc_result.php
@@ -33,11 +33,10 @@
* @category Database
* @author EllisLab Dev Team
* @link http://codeigniter.com/user_guide/database/
+ * @since 1.3
*/
class CI_DB_odbc_result extends CI_DB_result {
- public $num_rows;
-
/**
* Number of rows in the result set
*
@@ -59,6 +58,8 @@ class CI_DB_odbc_result extends CI_DB_result {
return $this->num_rows;
}
+ // --------------------------------------------------------------------
+
/**
* Number of fields in the result set
*