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:
+1
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user