1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 12:14:06 +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:
Andreas Fischer
2010-01-28 23:15:25 +00:00
parent c0cd713f4c
commit 2906a24122
11 changed files with 18 additions and 0 deletions

View File

@@ -900,6 +900,11 @@ function database_update_info()
'drop_keys' => array(
LOG_TABLE => array('log_time'),
),
'add_index' => array(
TOPICS_TRACK_TABLE => array(
'topic_id' => array('topic_id'),
),
),
),
);
}