mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 21:08:53 +00:00
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:
parent
8b7b50cdfb
commit
8618f81d77
1 changed files with 2 additions and 2 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue