diff options
author | Andrey Andreev <narf@bofh.bg> | 2013-01-29 01:13:46 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2013-01-29 01:13:46 +0100 |
commit | 3b9319bcb11d4a17d9b19a62aef718891f4722ff (patch) | |
tree | f0ee86528a2672ffea5444f5bc6a41eff0ccce2f /system/database/drivers/mssql/mssql_result.php | |
parent | 7bea4fb8a880d774f7b399f8c2cbcd75ce85123c (diff) | |
parent | b835a4f3b3f8fccd7ce457d4ab13344d3dcb91a9 (diff) |
Merge pull request #2204 from starsquare/develop
Fix list_fields seek bug
Diffstat (limited to 'system/database/drivers/mssql/mssql_result.php')
-rw-r--r-- | system/database/drivers/mssql/mssql_result.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/drivers/mssql/mssql_result.php b/system/database/drivers/mssql/mssql_result.php index ea3f8e4d1..b6e5f2b17 100644 --- a/system/database/drivers/mssql/mssql_result.php +++ b/system/database/drivers/mssql/mssql_result.php @@ -74,6 +74,7 @@ class CI_DB_mssql_result extends CI_DB_result { public function list_fields() { $field_names = array(); + mssql_field_seek($this->result_id, 0); while ($field = mssql_fetch_field($this->result_id)) { $field_names[] = $field->name; |