Enforce UTF-8 encoding when creating databases

We use InnoDB everywhere, so there should be no issues with long unicode
keys. Dropped charset parameter for recreate_database since it's not
needed anymore.

Change-Id: Ib768402a9337c918309030a92ab81da17269f4f6
This commit is contained in:
Ihar Hrachyshka
2014-10-06 13:29:39 +02:00
parent 5c0a3cfb71
commit 157c84b876
14 changed files with 15 additions and 22 deletions
+1 -3
View File
@@ -98,11 +98,9 @@ function initialize_database_backends {
# Recreate a given database
# $1 The name of the database
# $2 The character set/encoding of the database
function recreate_database {
local db=$1
local charset=$2
recreate_database_$DATABASE_TYPE $db $charset
recreate_database_$DATABASE_TYPE $db
}
# Install the database