diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-07 21:08:35 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-07 21:08:35 +0200 |
commit | 928b9aa6340654b1dbb69af44c41468456f0b7b6 (patch) | |
tree | dcff391139cc5a11904c16fe2f50c71c752adc7d /system/database/drivers/mssql/mssql_result.php | |
parent | df6aed2e6070b67ace6e52e621a4f14c2cf7578f (diff) | |
parent | c2c361b9c9dcfd94003d97622d74184f01c0615f (diff) |
Merge pull request #972 from narfbg/develop-db-mssql
Improve the MSSQL database driver
Diffstat (limited to 'system/database/drivers/mssql/mssql_result.php')
-rw-r--r-- | system/database/drivers/mssql/mssql_result.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/database/drivers/mssql/mssql_result.php b/system/database/drivers/mssql/mssql_result.php index 4cc87f4cf..5929306af 100644 --- a/system/database/drivers/mssql/mssql_result.php +++ b/system/database/drivers/mssql/mssql_result.php @@ -92,12 +92,12 @@ class CI_DB_mssql_result extends CI_DB_result { $retval = array(); while ($field = mssql_fetch_field($this->result_id)) { - $F = new stdClass(); - $F->name = $field->name; - $F->type = $field->type; + $F = new stdClass(); + $F->name = $field->name; + $F->type = $field->type; $F->max_length = $field->max_length; $F->primary_key = 0; - $F->default = ''; + $F->default = ''; $retval[] = $F; } |