From 27540ea81a30036f1505fc08059222d448c09b43 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 18 Jan 2015 06:36:23 -0500 Subject: [PATCH] Bug Undefined constant PMA_DRIZZLE Signed-off-by: Marc Delisle --- ChangeLog | 1 + libraries/DatabaseInterface.class.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1d84b97690..4ad4f59edc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ phpMyAdmin - ChangeLog ====================== 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')