mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-03-21 13:45:54 +01:00
2018-10-08 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Charset=' and 'Collation=' parameters from the '[mySQL]' section of rd.conf(5). * Removed support for the --mysql-charset=' and '--mysql-collation=' switches in rddbmgr(8). * Refactored handling of character set and collation attributes in rddbmgr(8) to treat them as immutable parts of the DB schema.
This commit is contained in:
@@ -163,8 +163,7 @@ bool RDOpenDb (int *schema,QString *err_str,RDConfig *config)
|
||||
}
|
||||
}
|
||||
new RDDbHeartbeat(config->mysqlHeartbeatInterval());
|
||||
sql=QString("set NAMES '")+config->mysqlCharset()+"'"+
|
||||
"COLLATE '"+config->mysqlCollation()+"'";
|
||||
sql=QString("set NAMES utf8mb4 collate utf8mb4_general_ci");
|
||||
q=new QSqlQuery(sql);
|
||||
delete q;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user