mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Changed fixed table name to constant
git-svn-id: file:///svn/phpbb/trunk@1560 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c4e753e74a
commit
44d257f440
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue