mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
35948b18b7
commit
5be808dc97
1 changed files with 1 additions and 1 deletions
|
@ -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)";
|
||||||
|
|
Loading…
Add table
Reference in a new issue