aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-04-18 20:21:50 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-04-18 20:21:50 +0000
commit5846164563f15ed0d44637cb092eed4091387e28 (patch)
tree105fef7e3d35d79dfe878bf498ca003be2611927 /phpBB
parentb729c32dc908d73834742ea7d4ab8542632734c4 (diff)
downloadforums-5846164563f15ed0d44637cb092eed4091387e28.tar
forums-5846164563f15ed0d44637cb092eed4091387e28.tar.gz
forums-5846164563f15ed0d44637cb092eed4091387e28.tar.bz2
forums-5846164563f15ed0d44637cb092eed4091387e28.tar.xz
forums-5846164563f15ed0d44637cb092eed4091387e28.zip
#9904
git-svn-id: file:///svn/phpbb/trunk@7371 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/search/fulltext_mysql.php8
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)';
}