1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00
- utf8_general_ci picked over utf8_unicode_ci for performance reasons


git-svn-id: file:///svn/phpbb/trunk@7202 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2007-03-17 02:32:08 +00:00
parent a387828494
commit 0f840a80c2
3 changed files with 17 additions and 4 deletions

View File

@@ -740,6 +740,12 @@ if (version_compare($current_version, '3.0.b4', '<='))
if (version_compare($current_version, '3.0.b6', '<='))
{
// sorting thang
if ($map_dbms === 'mysql_41')
{
sql_column_change($dbms, TOPICS_TABLE, 'topic_title', 'varchar(100) DEFAULT \'\' NOT NULL COLLATE utf8_general_ci');
}
if ($config['fulltext_native_common_thres'] == 20)
{
set_config('fulltext_native_common_thres', '5');

View File

@@ -884,7 +884,7 @@ CREATE TABLE phpbb_topics (
topic_attachment tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
topic_approved tinyint(1) UNSIGNED DEFAULT '1' NOT NULL,
topic_reported tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
topic_title varchar(100) DEFAULT '' NOT NULL,
topic_title varchar(100) DEFAULT '' NOT NULL COLLATE utf8_general_ci,
topic_poster mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
topic_time int(11) UNSIGNED DEFAULT '0' NOT NULL,
topic_time_limit int(11) UNSIGNED DEFAULT '0' NOT NULL,