1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Search for 'topic title only' and 'first post' should work again for non-mysql dbms. (Bug #40605)

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9473 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2009-04-18 17:46:34 +00:00
parent eb49218428
commit 59763841b3
2 changed files with 9 additions and 0 deletions

View File

@@ -645,6 +645,14 @@ class fulltext_native extends search_backend
$sql = '';
$sql_array_count = $sql_array;
if ($left_join_topics)
{
$sql_array_count['LEFT_JOIN'][] = array(
'FROM' => array(TOPICS_TABLE => 't'),
'ON' => 'p.topic_id = t.topic_id'
);
}
switch ($db->sql_layer)
{
case 'mysql4':