Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-09-08 13:29:55 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-09-09 18:02:40 +0300
commit98372481bb511dff7dfd674c4511dce9f34496ae (patch)
treedac1b2bbeda11dc116b2d8eb5688f359a1d6a684 /db_operations.php
parentf3ff8403f2cb88418a017a5c4ed102ff59cea1be (diff)
Remove Drizzle from database level functions
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'db_operations.php')
-rw-r--r--db_operations.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/db_operations.php b/db_operations.php
index 7f0e2b9df5..bc50d1732d 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -105,7 +105,7 @@ if (/*overload*/mb_strlen($GLOBALS['db'])
}
unset($sqlConstratints);
- if (! PMA_DRIZZLE && PMA_MYSQL_INT_VERSION >= 50100) {
+ if (PMA_MYSQL_INT_VERSION >= 50100) {
// here DELIMITER is not used because it's not part of the
// language; each statement is sent one by one
@@ -261,7 +261,7 @@ if (!$is_information_schema) {
// Don't allow to easily drop mysql database, RFE #1327514.
if (($is_superuser || $GLOBALS['cfg']['AllowUserDropDatabase'])
&& ! $db_is_system_schema
- && (PMA_DRIZZLE || $GLOBALS['db'] != 'mysql')
+ && $GLOBALS['db'] != 'mysql'
) {
$response->addHTML(PMA_getHtmlForDropDatabaseLink($GLOBALS['db']));
}