2018-05-31 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdrevert(8) that threw SQL errors when reverting
	schema change 278.
This commit is contained in:
Fred Gleason 2018-05-31 15:54:36 +00:00
parent 32b3d1775c
commit 5d187d1e38
2 changed files with 5 additions and 1 deletions

View File

@ -16980,3 +16980,6 @@
* Cleaned up SQL calls in 'RDLogLine'.
* Cleaned up SQL calls in 'RDSvc'.
* Cleaned up SQL calls in rivendell_filter(1).
2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdrevert(8) that threw SQL errors when reverting
schema change 278.

View File

@ -989,7 +989,8 @@ void MainObject::Revert278() const
"UDP_PORT,"+ // 12
"UDP_STRING,"+ // 13
"LOG_RML "+ // 14
"from LOG_MACHINES";
"from LOG_MACHINES where "+
"MACHINE<3";
q=new RDSqlQuery(sql,false);
while(q->next()) {
sql=QString("update RDAIRPLAY set ")+