mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Fixes small problem with MS Access
git-svn-id: file:///svn/phpbb/trunk@1400 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3f820f64c6
commit
d0b2519813
1 changed files with 1 additions and 2 deletions
|
@ -252,8 +252,7 @@ function remove_old_words($post_id)
|
||||||
$sql = "SELECT word_id, COUNT(post_id) AS post_occur_count
|
$sql = "SELECT word_id, COUNT(post_id) AS post_occur_count
|
||||||
FROM " . SEARCH_MATCH_TABLE . "
|
FROM " . SEARCH_MATCH_TABLE . "
|
||||||
WHERE word_id IN ($word_id_sql)
|
WHERE word_id IN ($word_id_sql)
|
||||||
GROUP BY word_id
|
GROUP BY word_id";
|
||||||
ORDER BY post_occur_count DESC";
|
|
||||||
if( !$result = $db->sql_query($sql) )
|
if( !$result = $db->sql_query($sql) )
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERROR, "Couldn't obtain search word sums", "", __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, "Couldn't obtain search word sums", "", __LINE__, __FILE__, $sql);
|
||||||
|
|
Loading…
Add table
Reference in a new issue