Small error in SQL for Postgres searchmatch clean

git-svn-id: file:///svn/phpbb/trunk@1429 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-11-23 21:09:37 +00:00
parent 8b7b50cdfb
commit 8618f81d77

View file

@ -169,8 +169,8 @@ function remove_unmatched_words()
$sql = "DELETE FROM " . SEARCH_WORD_TABLE . "
WHERE word_id NOT IN (
SELECT word_id
FROM " . SEARCH_MATCH_TABLE . ")
GROUP BY word_id";
FROM " . SEARCH_MATCH_TABLE . "
GROUP BY word_id)";
$result = $db->sql_query($sql);
if( !$result )
{