mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
- store sql_layer directly within the layer itself
- new method sql_multi_insert to circumvent db-specific hacks (hopefully not introduced any parsing errors) git-svn-id: file:///svn/phpbb/trunk@6497 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -49,7 +49,7 @@ class fulltext_mysql extends search_backend
|
||||
{
|
||||
global $db, $user;
|
||||
|
||||
if (strpos(SQL_LAYER, 'mysql') === false)
|
||||
if (strpos($db->sql_layer, 'mysql') === false)
|
||||
{
|
||||
return $user->lang['FULLTEXT_MYSQL_INCOMPATIBLE_VERSION'];
|
||||
}
|
||||
@@ -732,7 +732,7 @@ class fulltext_mysql extends search_backend
|
||||
{
|
||||
global $db;
|
||||
|
||||
if (strpos(SQL_LAYER, 'mysql') === false)
|
||||
if (strpos($db->sql_layer, 'mysql') === false)
|
||||
{
|
||||
$this->stats = array();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user