aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/tools/mssql.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-24 21:35:17 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-02-07 14:41:40 +0100
commit74d1b1812f512ae232a063a2574d62d3f5491f46 (patch)
tree5dfae513699ce84bbdf0028842732695df7c7e47 /phpBB/phpbb/db/tools/mssql.php
parent37ae99c75d388221489aa1069078d92eca413741 (diff)
downloadforums-74d1b1812f512ae232a063a2574d62d3f5491f46.tar
forums-74d1b1812f512ae232a063a2574d62d3f5491f46.tar.gz
forums-74d1b1812f512ae232a063a2574d62d3f5491f46.tar.bz2
forums-74d1b1812f512ae232a063a2574d62d3f5491f46.tar.xz
forums-74d1b1812f512ae232a063a2574d62d3f5491f46.zip
[ticket/10748] Overwrite the type map correctly
PHPBB3-10748
Diffstat (limited to 'phpBB/phpbb/db/tools/mssql.php')
-rw-r--r--phpBB/phpbb/db/tools/mssql.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/tools/mssql.php b/phpBB/phpbb/db/tools/mssql.php
index b4a09143eb..3a7ac6185d 100644
--- a/phpBB/phpbb/db/tools/mssql.php
+++ b/phpBB/phpbb/db/tools/mssql.php
@@ -117,6 +117,8 @@ class mssql extends tools
$this->sql_layer = 'mssqlnative';
break;
}
+
+ $this->dbms_type_map = self::get_dbms_type_map();
}
/**
@@ -344,7 +346,7 @@ class mssql extends tools
}
// Get type
- list($column_type, $orig_column_type) = $this->get_column_type($column_data[0]);
+ list($column_type, ) = $this->get_column_type($column_data[0]);
// Adjust default value if db-dependent specified
if (is_array($column_data[1]))