mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 18:41:52 +02: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:
@@ -169,8 +169,8 @@ function remove_unmatched_words()
|
|||||||
$sql = "DELETE FROM " . SEARCH_WORD_TABLE . "
|
$sql = "DELETE FROM " . SEARCH_WORD_TABLE . "
|
||||||
WHERE word_id NOT IN (
|
WHERE word_id NOT IN (
|
||||||
SELECT word_id
|
SELECT word_id
|
||||||
FROM " . SEARCH_MATCH_TABLE . ")
|
FROM " . SEARCH_MATCH_TABLE . "
|
||||||
GROUP BY word_id";
|
GROUP BY word_id)";
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
if( !$result )
|
if( !$result )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user