aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-03-19 12:55:37 +0100
committerAndreas Fischer <bantu@phpbb.com>2012-03-19 12:55:37 +0100
commitcfd0afe4ead0c4910567d955088d4225d17d4186 (patch)
treebbdd039ed0ad1d62fbe1fa1b1f8964b34b40719d /phpBB
parent1fa39ea722ab8e27402d3db67d5f11587570a96d (diff)
parentdad37a4329ae855372aaf4d5289fe0c2b844a84f (diff)
downloadforums-cfd0afe4ead0c4910567d955088d4225d17d4186.tar
forums-cfd0afe4ead0c4910567d955088d4225d17d4186.tar.gz
forums-cfd0afe4ead0c4910567d955088d4225d17d4186.tar.bz2
forums-cfd0afe4ead0c4910567d955088d4225d17d4186.tar.xz
forums-cfd0afe4ead0c4910567d955088d4225d17d4186.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10691] Fixed the speed of creating search index
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/develop/create_search_index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/develop/create_search_index.php b/phpBB/develop/create_search_index.php
index 1de20f3099..f329b805a0 100644
--- a/phpBB/develop/create_search_index.php
+++ b/phpBB/develop/create_search_index.php
@@ -35,7 +35,6 @@ $search_errors = array();
$search = new $class_name($search_errors);
$batch_size = isset($argv[2]) ? $argv[2] : 2000;
-$time = time();
if (method_exists($search, 'create_index'))
{
@@ -67,6 +66,7 @@ else
while ($post_counter <= $max_post_id)
{
$row_count = 0;
+ $time = time();
printf("Processing posts with %d <= post_id <= %d\n",
$post_counter + 1,