1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 01:24:17 +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

@@ -415,6 +415,10 @@ WHERE tc.constraint_type = 'FOREIGN KEY' AND tc.table_name = " . $connection->qu
return $connection->query("EXPLAIN $query");
}
function use_sql($database) {
return "\connect " . idf_escape($database);
}
function support($feature) {
return ereg('^(comment|view|routine|trigger)$', $feature);
}