From c4c420d019d403c691bd66ca8f46caba1a6f6a02 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 30 Sep 2005 19:58:32 +0000 Subject: [PATCH] MySQL < 4.1.x and super-user --- libraries/check_user_privileges.lib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/check_user_privileges.lib.php b/libraries/check_user_privileges.lib.php index cf6138b45..768270ddc 100644 --- a/libraries/check_user_privileges.lib.php +++ b/libraries/check_user_privileges.lib.php @@ -137,6 +137,9 @@ if (PMA_MYSQL_INT_VERSION >= 40102) { } // end if } // end elseif } // end if + if ($is_create_db_priv) { + $dbs_where_create_table_allowed[] = '*'; + } } // end else (MySQL < 4.1.2) // If disabled, don't show it