mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-07 17:32:20 +02:00
2018-03-18 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that caused DB corruption when a clock was deleted while still being assigned to a grid.
This commit is contained in:
parent
c1fc523072
commit
f39e85ec5f
@ -16614,3 +16614,6 @@
|
||||
* Added support for DMA bus-mastering to the HPI driver.
|
||||
2018-03-18 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Updated switch() statement formatting in 'rdhpi/'.
|
||||
2018-03-18 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdlogmanager(1) that caused DB corruption when
|
||||
a clock was deleted while still being assigned to a grid.
|
||||
|
@ -609,9 +609,10 @@ void ListClocks::DeleteClock(QString clockname)
|
||||
base_name.replace(" ","_");
|
||||
|
||||
//
|
||||
// Delete Active Clocks
|
||||
// Clear Active Clocks
|
||||
//
|
||||
sql=QString("delete from SERVICE_CLOCKS where ")+
|
||||
sql=QString("update SERVICE_CLOCKS set ")+
|
||||
"CLOCK_NAME=null where "+
|
||||
"CLOCK_NAME=\""+RDEscapeString(clockname)+"\"";
|
||||
q=new RDSqlQuery(sql);
|
||||
delete q;
|
||||
|
Loading…
x
Reference in New Issue
Block a user