mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
whoopsie ... IGNORE only valid for MySQL
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4423 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -240,7 +240,7 @@ function add_search_words($mode, $post_id, $post_text, $post_title = '')
|
|||||||
|
|
||||||
if ( $match_sql != '' )
|
if ( $match_sql != '' )
|
||||||
{
|
{
|
||||||
$sql = "INSERT IGNORE INTO " . SEARCH_MATCH_TABLE . " (post_id, word_id, title_match)
|
$sql = "INSERT INTO " . SEARCH_MATCH_TABLE . " (post_id, word_id, title_match)
|
||||||
SELECT $post_id, word_id, $title_match
|
SELECT $post_id, word_id, $title_match
|
||||||
FROM " . SEARCH_WORD_TABLE . "
|
FROM " . SEARCH_WORD_TABLE . "
|
||||||
WHERE word_text IN ($match_sql)";
|
WHERE word_text IN ($match_sql)";
|
||||||
|
Reference in New Issue
Block a user