diff --git a/ChangeLog b/ChangeLog index 0875149686..9f26e7cb2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,7 @@ phpMyAdmin - ChangeLog + rfe #1582 SQL formatter 4.3.8.0 (not yet released) +- bug Undefined constant PMA_DRIZZLE 4.3.7.0 (2015-01-15) - bug #4694 js error on marking table as favorite in Safari (in private mode) diff --git a/libraries/DatabaseInterface.class.php b/libraries/DatabaseInterface.class.php index a2b9fd0944..a93f1d26b2 100644 --- a/libraries/DatabaseInterface.class.php +++ b/libraries/DatabaseInterface.class.php @@ -2391,6 +2391,10 @@ class PMA_DatabaseInterface */ public function isSystemSchema($schema_name, $testForMysqlSchema = false) { + if (!defined("PMA_DRIZZLE")) { + define("PMA_DRIZZLE", false); + } + return strtolower($schema_name) == 'information_schema' || (!PMA_DRIZZLE && strtolower($schema_name) == 'performance_schema')