diff options
author | Bart van Bragt <bartvb@users.sourceforge.net> | 2001-12-14 01:58:21 +0000 |
---|---|---|
committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2001-12-14 01:58:21 +0000 |
commit | 44d257f4401807c1d5e579197e737bfc55d6dcab (patch) | |
tree | 3dfe7ee6bbcd7a914d800fb3dbe320e1beec22ad /phpBB/develop/search_fill.php | |
parent | Updates to remove search new for anonymous users ... will soon become pointless (diff) | |
download | phpbb-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.php | 4 |
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"; |