1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

This should get rid of the filesorts and temp tables on index (with topic read tracking as exception).

Updater still needs testing. Not yet merged to 3.1
#22715 - thanks HoL


git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8436 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof
2008-03-17 16:25:07 +00:00
parent 217dc8e6d5
commit b7ef95ed09
5 changed files with 235 additions and 136 deletions

View File

@@ -480,6 +480,20 @@ $database_update_info = array(
FORUMS_TABLE => array(
'display_subforum_list' => array('BOOL', 1),
),
SESSIONS_TABLE => array(
'session_forum_id' => array('UINT', 0),
),
),
'add_index' => array(
SESSIONS_TABLE => array(
'session_forum_id' => 'session_forum_id',
),
GROUP_TABLE => array(
'group_legend_name' => array('group_legend', 'group_name'),
),
),
'drop_keys' => array(
GROUP_TABLE => array('group_legend'),
),
),
);