diff --git a/plugins/system/debug/debug.php b/plugins/system/debug/debug.php index 9c23fcf10a4fc..e0ffba2427923 100644 --- a/plugins/system/debug/debug.php +++ b/plugins/system/debug/debug.php @@ -1533,6 +1533,12 @@ public function mysqlDisconnectHandler(&$db) foreach ($log as $k => $query) { $dbVersion56 = $db->getServerType() === 'mysql' && version_compare($db->getVersion(), '5.6', '>='); + $dbVersion80 = $db->getServerType() === 'mysql' && version_compare($db->getVersion(), '8.0', '>='); + + if ($dbVersion80) + { + $dbVersion56 = false; + } if ((stripos($query, 'select') === 0) || ($dbVersion56 && ((stripos($query, 'delete') === 0) || (stripos($query, 'update') === 0)))) {