summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/oci8
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/drivers/oci8')
-rw-r--r--system/database/drivers/oci8/oci8_result.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/database/drivers/oci8/oci8_result.php b/system/database/drivers/oci8/oci8_result.php
index a3da80026..ab13a3935 100644
--- a/system/database/drivers/oci8/oci8_result.php
+++ b/system/database/drivers/oci8/oci8_result.php
@@ -84,7 +84,7 @@ class CI_DB_oci8_result extends CI_DB_result {
* @access public
* @return array
*/
- function field_names()
+ function list_fields()
{
$field_names = array();
$fieldCount = $this->num_fields();
@@ -95,6 +95,12 @@ class CI_DB_oci8_result extends CI_DB_result {
return $field_names;
}
+ // Deprecated
+ function field_names()
+ {
+ return $this->list_fields();
+ }
+
// --------------------------------------------------------------------
/**