mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Bug #56545 - Speed up topic move operation by adding an index for topic_id on the topics track table.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10462 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1746,6 +1746,7 @@ function get_schema_struct()
|
||||
),
|
||||
'PRIMARY_KEY' => array('user_id', 'topic_id'),
|
||||
'KEYS' => array(
|
||||
'topic_id' => array('INDEX', 'topic_id'),
|
||||
'forum_id' => array('INDEX', 'forum_id'),
|
||||
),
|
||||
);
|
||||
|
@@ -1236,6 +1236,7 @@ function get_schema_struct()
|
||||
),
|
||||
'PRIMARY_KEY' => array('user_id', 'topic_id'),
|
||||
'KEYS' => array(
|
||||
'topic_id' => array('INDEX', 'topic_id'),
|
||||
'forum_id' => array('INDEX', 'forum_id'),
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user