1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +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

@@ -462,6 +462,11 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
return $connection->result("SELECT sql FROM sqlite_master WHERE name = " . $connection->quote($table));
}
function use_sql($database) {
global $connection;
return "ATTACH " . $connection->quote($database) . " AS " . idf_escape($database);
}
function show_variables() {
global $connection;
$return = array();