mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-05 06:32:34 +02:00
2018-11-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rddbmgr(8) that attempted to drop the 'RDAIRPLAY.INSTANCE' field when processing schema update 284.
This commit is contained in:
parent
0d271e168c
commit
b41d35ff40
@ -17990,3 +17990,6 @@
|
||||
* Fixed buffer overflow bugs in the rd_trimaudio(7) rivcwebapi call.
|
||||
2018-11-07 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Modified rd_deleteaudio(7) in the rivwebcapi to process UTF-8.
|
||||
2018-11-08 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in rddbmgr(8) that attempted to drop the
|
||||
'RDAIRPLAY.INSTANCE' field when processing schema update 284.
|
||||
|
@ -2687,11 +2687,6 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
// Revert 284
|
||||
//
|
||||
if((cur_schema==284)&&(set_schema<cur_schema)) {
|
||||
sql=QString("alter table RDAIRPLAY add column INSTANCE int unsigned ")+
|
||||
"not null default 0 after STATION";
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
return false;
|
||||
}
|
||||
for(int i=9;i>=0;i--) {
|
||||
sql=QString("alter table RDAIRPLAY add column ")+
|
||||
QString().sprintf("STOP_RML%d char(255) after INSTANCE",i);
|
||||
|
@ -7008,10 +7008,6 @@ bool MainObject::UpdateSchema(int cur_schema,int set_schema,QString *err_msg)
|
||||
}
|
||||
|
||||
if((cur_schema<284)&&(set_schema>cur_schema)) {
|
||||
sql=QString("alter table RDAIRPLAY drop column INSTANCE");
|
||||
if(!RDSqlQuery::apply(sql,err_msg)) {
|
||||
return false;
|
||||
}
|
||||
for(int i=0;i<10;i++) {
|
||||
sql=QString("alter table RDAIRPLAY ")+
|
||||
QString().sprintf("drop column CARD%d",i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user