mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-16 08:34:12 +02:00
2021-04-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed regression in 'RDAudioPorts' that caused SQL errors. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
703be90592
commit
42ee5044e2
@ -21471,3 +21471,5 @@
|
|||||||
* Escaped all SQL identifiers in 'cae/'.
|
* Escaped all SQL identifiers in 'cae/'.
|
||||||
* Replaced " with ' delimiters in all SQL literal strings in
|
* Replaced " with ' delimiters in all SQL literal strings in
|
||||||
'cae/'.
|
'cae/'.
|
||||||
|
2021-04-19 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed regression in 'RDAudioPorts' that caused SQL errors.
|
||||||
|
@ -44,7 +44,7 @@ RDAudioPort::RDAudioPort(QString station,int card)
|
|||||||
"`PORT_NUMBER`,"+ // 00
|
"`PORT_NUMBER`,"+ // 00
|
||||||
"`LEVEL`,"+ // 01
|
"`LEVEL`,"+ // 01
|
||||||
"`TYPE`,"+ // 02
|
"`TYPE`,"+ // 02
|
||||||
"`MODE `"+ // 03
|
"`MODE` "+ // 03
|
||||||
"from `AUDIO_INPUTS` where "+
|
"from `AUDIO_INPUTS` where "+
|
||||||
"`STATION_NAME`='"+RDEscapeString(port_station)+"' && "+
|
"`STATION_NAME`='"+RDEscapeString(port_station)+"' && "+
|
||||||
QString().sprintf("`CARD_NUMBER`=%d",port_card);
|
QString().sprintf("`CARD_NUMBER`=%d",port_card);
|
||||||
@ -60,7 +60,7 @@ RDAudioPort::RDAudioPort(QString station,int card)
|
|||||||
|
|
||||||
sql=QString("select ")+
|
sql=QString("select ")+
|
||||||
"`PORT_NUMBER`,"+ // 00
|
"`PORT_NUMBER`,"+ // 00
|
||||||
"`LEVEL `"+ // 01
|
"`LEVEL` "+ // 01
|
||||||
"from `AUDIO_OUTPUTS` where "+
|
"from `AUDIO_OUTPUTS` where "+
|
||||||
"`STATION_NAME`='"+RDEscapeString(port_station)+"' && "+
|
"`STATION_NAME`='"+RDEscapeString(port_station)+"' && "+
|
||||||
QString().sprintf("`CARD_NUMBER`=%d",port_card);
|
QString().sprintf("`CARD_NUMBER`=%d",port_card);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user