mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2019-01-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that caused DB corruption in multi-byte UTF-8 strings when reverting the schema.
This commit is contained in:
@@ -204,9 +204,9 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
//
|
||||
// Revert 297
|
||||
//
|
||||
ModifyCharset("latin1","latin1_swedish_ci");
|
||||
|
||||
if((cur_schema==297)&&(set_schema<cur_schema)) {
|
||||
ModifyCharset("latin1","latin1_swedish_ci");
|
||||
|
||||
sql=QString("alter table AUDIO_CARDS ")+
|
||||
"modify column STATION_NAME char(64) not null";
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
|
||||
Reference in New Issue
Block a user