mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@6797 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0d502f3b07
commit
c4a7d13055
1 changed files with 2 additions and 2 deletions
|
@ -643,7 +643,7 @@ class fulltext_mysql extends search_backend
|
||||||
|
|
||||||
if (!isset($this->stats['post_subject']))
|
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';
|
$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 (!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';
|
$alter[] = 'MODIFY post_text mediumtext COLLATE utf8_unicode_ci NOT NULL';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue