diff options
author | David Colón <david@davidiq.com> | 2017-01-25 15:48:39 -0500 |
---|---|---|
committer | David Colón <david@davidiq.com> | 2017-01-26 08:43:06 -0500 |
commit | 66b0fe3b5d982220e593e945a71e95b3283ac4a5 (patch) | |
tree | 42e763ad4ab0b718edc23ccd090d5b0195897586 /phpBB/phpbb/db | |
parent | 903d6be3bbd9671079ad1310d3af01cd2e8d24eb (diff) | |
download | forums-66b0fe3b5d982220e593e945a71e95b3283ac4a5.tar forums-66b0fe3b5d982220e593e945a71e95b3283ac4a5.tar.gz forums-66b0fe3b5d982220e593e945a71e95b3283ac4a5.tar.bz2 forums-66b0fe3b5d982220e593e945a71e95b3283ac4a5.tar.xz forums-66b0fe3b5d982220e593e945a71e95b3283ac4a5.zip |
[ticket/15047] No index name length check for mssql
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r-- | phpBB/phpbb/db/tools/mssql.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/phpBB/phpbb/db/tools/mssql.php b/phpBB/phpbb/db/tools/mssql.php index a132832005..254599444d 100644 --- a/phpBB/phpbb/db/tools/mssql.php +++ b/phpBB/phpbb/db/tools/mssql.php @@ -524,8 +524,6 @@ class mssql extends tools { $statements = array(); - $this->check_index_name_length($table_name, $index_name); - $statements[] = 'CREATE UNIQUE INDEX [' . $index_name . '] ON [' . $table_name . ']([' . implode('], [', $column) . '])'; return $this->_sql_run_sql($statements); @@ -538,8 +536,6 @@ class mssql extends tools { $statements = array(); - $this->check_index_name_length($table_name, $index_name); - // remove index length $column = preg_replace('#:.*$#', '', $column); |