summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlsrv/sqlsrv_result.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-07 21:26:29 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-07 21:26:29 +0200
commit25c08390bd93ba27d89a8682b37c8c6184a53c07 (patch)
treeffe257a549ae70749dcf4646695a0d73535e237e /system/database/drivers/sqlsrv/sqlsrv_result.php
parent928b9aa6340654b1dbb69af44c41468456f0b7b6 (diff)
parent27af930d4ed1daf9f2710b005d103c7f1c7d919d (diff)
Merge pull request #975 from narfbg/develop-db-sqlsrv
Improve the SQLSRV (MSSQL) database driver
Diffstat (limited to 'system/database/drivers/sqlsrv/sqlsrv_result.php')
-rw-r--r--system/database/drivers/sqlsrv/sqlsrv_result.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_result.php b/system/database/drivers/sqlsrv/sqlsrv_result.php
index 0802677fc..f802383d2 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_result.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_result.php
@@ -92,12 +92,12 @@ class CI_DB_sqlsrv_result extends CI_DB_result {
$retval = array();
foreach (sqlsrv_field_metadata($this->result_id) as $offset => $field)
{
- $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['Size'];
$F->primary_key = 0;
- $F->default = '';
+ $F->default = '';
$retval[] = $F;
}