1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-10 16:44:17 +02:00
This commit is contained in:
Jakub Vrana
2012-08-09 12:18:31 -07:00
parent a4e38a266d
commit 9a3b3db4f6

View 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";