From 5846164563f15ed0d44637cb092eed4091387e28 Mon Sep 17 00:00:00 2001 From: David M Date: Wed, 18 Apr 2007 20:21:50 +0000 Subject: [PATCH] #9904 git-svn-id: file:///svn/phpbb/trunk@7371 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/search/fulltext_mysql.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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)'; }