mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2018-07-18 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'ripcd/' to ensure UTF-8 compatibility.
This commit is contained in:
@@ -138,7 +138,11 @@ LiveWireMcastGpio::LiveWireMcastGpio(RDMatrix *matrix,QObject *parent)
|
||||
//
|
||||
// Source Table
|
||||
//
|
||||
sql=QString("select SLOT,SOURCE_NUMBER,IP_ADDRESS from LIVEWIRE_GPIO_SLOTS ")+
|
||||
sql=QString("select ")+
|
||||
"SLOT,"+ // 00
|
||||
"SOURCE_NUMBER,"+ // 01
|
||||
"IP_ADDRESS "+ // 02
|
||||
"from LIVEWIRE_GPIO_SLOTS "+
|
||||
"where (STATION_NAME=\""+RDEscapeString(livewire_stationname)+"\")&&"+
|
||||
QString().sprintf("(MATRIX=%d) ",livewire_matrix)+
|
||||
"order by SLOT";
|
||||
|
||||
Reference in New Issue
Block a user