1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 00:54:08 +02:00

Driver specific USE

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1471 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2010-04-21 22:37:16 +00:00
parent a29ac72c9c
commit 58c80e369c
4 changed files with 24 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
}
if ($_POST["format"] == "sql") {
if ($style) {
echo "USE " . idf_escape($db) . ";\n\n";
echo use_sql($db) . ";\n\n";
}
if (in_array("CREATE+ALTER", array($style, $_POST["table_style"]))) {
echo "SET @adminer_alter = '';\n\n";