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

Fix collations display

This commit is contained in:
Jakub Vrana
2010-05-12 14:42:29 +02:00
parent edf88e674c
commit b4eea5f671
2 changed files with 2 additions and 4 deletions

View File

@@ -514,6 +514,7 @@ if (!defined("DRIVER")) {
* @return string
*/
function create_database($db, $collation) {
global $connection;
set_session("databases", null);
return queries("CREATE DATABASE " . idf_escape($db) . ($collation ? " COLLATE " . $connection->quote($collation) : ""));
}