mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 01:36:57 +02:00
- improvements to search indexing performance, espacially tidy() by adding a word_count column, the database update from b5 to next version will take quite a while on bigger databases, I also lowered the default common word threshold from 20 to 5 percent, big boards might want to use 3 or 2 percent, 20 was way too high
- added some keys to ACL tables, great improvement of auth query performance - we will only add new language strings to install.php language file and won't modify any, if a language file is updated before phpBB is updated, the updater will not overwrite the user's language with english if install.php was modified git-svn-id: file:///svn/phpbb/trunk@7182 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -38,7 +38,8 @@ CREATE TABLE phpbb_acl_groups (
|
||||
auth_role_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
auth_setting tinyint(2) DEFAULT '0' NOT NULL,
|
||||
KEY group_id (group_id),
|
||||
KEY auth_opt_id (auth_option_id)
|
||||
KEY auth_opt_id (auth_option_id),
|
||||
KEY auth_role_id (auth_role_id)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
||||
|
||||
@@ -72,7 +73,8 @@ CREATE TABLE phpbb_acl_roles_data (
|
||||
role_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
auth_option_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
auth_setting tinyint(2) DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (role_id, auth_option_id)
|
||||
PRIMARY KEY (role_id, auth_option_id),
|
||||
KEY auth_option_id (auth_option_id)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
||||
|
||||
@@ -84,7 +86,8 @@ CREATE TABLE phpbb_acl_users (
|
||||
auth_role_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
auth_setting tinyint(2) DEFAULT '0' NOT NULL,
|
||||
KEY user_id (user_id),
|
||||
KEY auth_option_id (auth_option_id)
|
||||
KEY auth_option_id (auth_option_id),
|
||||
KEY auth_role_id (auth_role_id)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
||||
|
||||
@@ -638,8 +641,10 @@ CREATE TABLE phpbb_search_wordlist (
|
||||
word_id mediumint(8) UNSIGNED NOT NULL auto_increment,
|
||||
word_text varchar(255) DEFAULT '' NOT NULL,
|
||||
word_common tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
word_count mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (word_id),
|
||||
UNIQUE wrd_txt (word_text)
|
||||
UNIQUE wrd_txt (word_text),
|
||||
KEY wrd_cnt (word_count)
|
||||
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user