summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mssql
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/drivers/mssql')
-rw-r--r--system/database/drivers/mssql/mssql_result.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/database/drivers/mssql/mssql_result.php b/system/database/drivers/mssql/mssql_result.php
index 498deae09..0ba0b8c57 100644
--- a/system/database/drivers/mssql/mssql_result.php
+++ b/system/database/drivers/mssql/mssql_result.php
@@ -60,7 +60,7 @@ class CI_DB_mssql_result extends CI_DB_result {
* @access public
* @return array
*/
- function field_names()
+ function list_fields()
{
$field_names = array();
while ($field = mssql_fetch_field($this->result_id))
@@ -70,6 +70,12 @@ class CI_DB_mssql_result extends CI_DB_result {
return $field_names;
}
+
+ // Deprecated
+ function field_names()
+ {
+ return $this->list_fields();
+ }
// --------------------------------------------------------------------