From a014f237de59b30385f750b0b17b2f62622d8e00 Mon Sep 17 00:00:00 2001 From: David M Date: Thu, 15 Feb 2007 21:51:54 +0000 Subject: [PATCH] #8144 git-svn-id: file:///svn/phpbb/trunk@6989 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/acp_database.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/phpBB/includes/acp/acp_database.php b/phpBB/includes/acp/acp_database.php index b6405d88fe..f450d1a284 100644 --- a/phpBB/includes/acp/acp_database.php +++ b/phpBB/includes/acp/acp_database.php @@ -616,7 +616,14 @@ class mysql_extractor extends base_extractor if ($new_extract === null) { - $new_extract = version_compare($db->mysql_version, '3.23.20', '>='); + if ($db->sql_layer === 'mysqli' || version_compare($db->mysql_version, '3.23.20', '>=')) + { + $new_extract = true; + } + else + { + $new_extract = false; + } } if ($new_extract)