]> git.joonet.de Git - adminer.git/commitdiff
Comment
authorJakub Vrana <jakub@vrana.cz>
Thu, 9 Aug 2012 19:18:31 +0000 (12:18 -0700)
committerJakub Vrana <jakub@vrana.cz>
Thu, 9 Aug 2012 19:18:31 +0000 (12:18 -0700)
adminer/include/adminer.inc.php

index 93cd7a35be240ee48126da55e487bfd4603d0a45..ca147116a32cc375eda3f568dd4da30aa2ac7725 100644 (file)
@@ -573,7 +573,6 @@ username.form['auth[driver]'].onchange();
                                        echo "DROP " . ($is_view ? "VIEW" : "TABLE") . " IF EXISTS " . table($table) . ";\n";
                                }
                                if ($is_view) {
-                                       // remove DEFINER with current user
                                        $create = remove_definer($create);
                                }
                                echo ($style != "CREATE+ALTER" ? $create : ($is_view ? substr_replace($create, " OR REPLACE", 6, 0) : substr_replace($create, " IF NOT EXISTS", 12, 0))) . ";\n\n";