mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-01 14:43:50 +01: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:
@@ -16614,3 +16614,6 @@
|
|||||||
* Added support for DMA bus-mastering to the HPI driver.
|
* Added support for DMA bus-mastering to the HPI driver.
|
||||||
2018-03-18 Fred Gleason <fredg@paravelsystems.com>
|
2018-03-18 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Updated switch() statement formatting in 'rdhpi/'.
|
* 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(" ","_");
|
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)+"\"";
|
"CLOCK_NAME=\""+RDEscapeString(clockname)+"\"";
|
||||||
q=new RDSqlQuery(sql);
|
q=new RDSqlQuery(sql);
|
||||||
delete q;
|
delete q;
|
||||||
|
|||||||
Reference in New Issue
Block a user