diff options
-rw-r--r-- | phpBB/includes/search/fulltext_mysql.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php index bd15f86334..e4d1a37aa8 100644 --- a/phpBB/includes/search/fulltext_mysql.php +++ b/phpBB/includes/search/fulltext_mysql.php @@ -695,6 +695,10 @@ class fulltext_mysql extends search_backend { $alter[] = 'MODIFY post_subject varchar(100) COLLATE utf8_unicode_ci DEFAULT \'\' NOT NULL'; } + else + { + $alter[] = 'MODIFY post_subject blob NOT NULL'; + } $alter[] = 'ADD FULLTEXT (post_subject)'; } @@ -704,6 +708,10 @@ class fulltext_mysql extends search_backend { $alter[] = 'MODIFY post_text mediumtext COLLATE utf8_unicode_ci NOT NULL'; } + else + { + $alter[] = 'MODIFY post_text blob NOT NULL'; + } $alter[] = 'ADD FULLTEXT (post_text)'; } |