aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/tools/mssql.php
diff options
context:
space:
mode:
authorDavid Colón <david@davidiq.com>2017-01-25 15:48:39 -0500
committerDavid Colón <david@davidiq.com>2017-01-26 08:43:06 -0500
commit66b0fe3b5d982220e593e945a71e95b3283ac4a5 (patch)
tree42e763ad4ab0b718edc23ccd090d5b0195897586 /phpBB/phpbb/db/tools/mssql.php
parent903d6be3bbd9671079ad1310d3af01cd2e8d24eb (diff)
downloadforums-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/tools/mssql.php')
-rw-r--r--phpBB/phpbb/db/tools/mssql.php4
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);