mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-09-13 23:10:38 +02: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:
parent
e716cd5022
commit
b92943f3e8
@ -18334,3 +18334,6 @@
|
|||||||
'Configuring RDAirPlay' in the Operations Guide.
|
'Configuring RDAirPlay' in the Operations Guide.
|
||||||
* Added a 'Managing PyPAD Instances' subsection to the 'Configuring
|
* Added a 'Managing PyPAD Instances' subsection to the 'Configuring
|
||||||
RDAirPlay section in the Operations Guide.
|
RDAirPlay section in the Operations Guide.
|
||||||
|
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.
|
||||||
|
@ -204,9 +204,9 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
|
|||||||
//
|
//
|
||||||
// Revert 297
|
// Revert 297
|
||||||
//
|
//
|
||||||
|
if((cur_schema==297)&&(set_schema<cur_schema)) {
|
||||||
ModifyCharset("latin1","latin1_swedish_ci");
|
ModifyCharset("latin1","latin1_swedish_ci");
|
||||||
|
|
||||||
if((cur_schema==297)&&(set_schema<cur_schema)) {
|
|
||||||
sql=QString("alter table AUDIO_CARDS ")+
|
sql=QString("alter table AUDIO_CARDS ")+
|
||||||
"modify column STATION_NAME char(64) not null";
|
"modify column STATION_NAME char(64) not null";
|
||||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user