aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2001-12-14 01:58:21 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2001-12-14 01:58:21 +0000
commit44d257f4401807c1d5e579197e737bfc55d6dcab (patch)
tree3dfe7ee6bbcd7a914d800fb3dbe320e1beec22ad /phpBB/develop/search_fill.php
parentUpdates to remove search new for anonymous users ... will soon become pointless (diff)
downloadphpbb-44d257f4401807c1d5e579197e737bfc55d6dcab.tar.gz
phpbb-44d257f4401807c1d5e579197e737bfc55d6dcab.tar.bz2
phpbb-44d257f4401807c1d5e579197e737bfc55d6dcab.zip
Changed fixed table name to constant
git-svn-id: file:///svn/phpbb/trunk@1560 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/develop/search_fill.php')
-rw-r--r--phpBB/develop/search_fill.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/develop/search_fill.php b/phpBB/develop/search_fill.php
index 4a38fcde19..b993015ac3 100644
--- a/phpBB/develop/search_fill.php
+++ b/phpBB/develop/search_fill.php
@@ -124,7 +124,7 @@ function remove_common($percent, $delete_common = 0)
if( $delete_common)
{
- $sql = "DELETE FROM phpbb_search_wordmatch
+ $sql = "DELETE FROM ".SEARCH_MATCH_TABLE."
WHERE word_id IN ($common_word_ids)";
$result = $db->sql_query($sql);
if( !$result )
@@ -215,7 +215,7 @@ for(;$postcounter <= $max_post_id; $postcounter += $batchsize)
if( $post_rows = $db->sql_numrows($posts_result) )
{
- // $sql = "LOCK TABLES phpbb_posts_text WRITE";
+ // $sql = "LOCK TABLES ".POST_TEXT_TABLE." WRITE";
// $result = $db->sql_query($sql);
print "\n<p>\n<a href='$PHP_SELF?batchstart=$batchstart'>Restart from posting $batchstart</a><br>\n";