mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
git-svn-id: file:///svn/phpbb/trunk@6797 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -643,7 +643,7 @@ class fulltext_mysql extends search_backend
|
||||
|
||||
if (!isset($this->stats['post_subject']))
|
||||
{
|
||||
if (version_compare($db->mysql_version, '4.1.3', '>='))
|
||||
if ($db->sql_layer == 'mysqli' || version_compare($db->mysql_version, '4.1.3', '>='))
|
||||
{
|
||||
$alter[] = 'MODIFY post_subject varchar(100) COLLATE utf8_unicode_ci DEFAULT \'\' NOT NULL';
|
||||
}
|
||||
@@ -652,7 +652,7 @@ class fulltext_mysql extends search_backend
|
||||
|
||||
if (!isset($this->stats['post_text']))
|
||||
{
|
||||
if (version_compare($db->mysql_version, '4.1.3', '>='))
|
||||
if ($db->sql_layer == 'mysqli' || version_compare($db->mysql_version, '4.1.3', '>='))
|
||||
{
|
||||
$alter[] = 'MODIFY post_text mediumtext COLLATE utf8_unicode_ci NOT NULL';
|
||||
}
|
||||
|
Reference in New Issue
Block a user