aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-06-08 12:36:26 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-06-08 12:36:26 +0000
commit9f21f1ab5e2b70da18459ef26c14a2372bc0eb76 (patch)
tree601ec121ad656ce614751d41beaadda19773b3d2 /phpBB/install/database_update.php
parent27d4c7229d97ba25e5bd303b21f376e14550eba6 (diff)
downloadforums-9f21f1ab5e2b70da18459ef26c14a2372bc0eb76.tar
forums-9f21f1ab5e2b70da18459ef26c14a2372bc0eb76.tar.gz
forums-9f21f1ab5e2b70da18459ef26c14a2372bc0eb76.tar.bz2
forums-9f21f1ab5e2b70da18459ef26c14a2372bc0eb76.tar.xz
forums-9f21f1ab5e2b70da18459ef26c14a2372bc0eb76.zip
Fix bug #44665 - Add index on log_time to the log table to prevent slowdown on boards with many log entries.
Authorised by: acydburn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9564 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index a77896c470..171a8f1fc6 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -678,8 +678,14 @@ function database_update_info()
// No changes from 3.0.5-RC1 to 3.0.5
'3.0.5-RC1' => array(),
- // No changes from 3.0.5
- '3.0.5' => array(),
+ // Changes from 3.0.5
+ '3.0.5' => array(
+ 'add_index' => array(
+ LOG_TABLE => array(
+ 'log_time' => array('log_time'),
+ ),
+ ),
+ ),
);
}