2018-07-10 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up SQL quieries to ensure UTF-8 compatibility in caed(8).
This commit is contained in:
Fred Gleason 2018-07-10 11:14:03 -04:00
parent 3973ab5f01
commit 76fd9affd0
2 changed files with 6 additions and 1 deletions

View File

@ -17115,3 +17115,5 @@
2018-07-10 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STACK_LINES' table to the database.
* Incremented the database version to 293.
2018-07-10 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries to ensure UTF-8 compatibility in caed(8).

View File

@ -430,7 +430,10 @@ void MainObject::jackRecordTimerData(int stream)
void MainObject::jackClientStartData()
{
#ifdef JACK
QString sql=QString("select DESCRIPTION,COMMAND_LINE from JACK_CLIENTS where ")+
QString sql=QString("select ")+
"DESCRIPTION,"+ // 00
"COMMAND_LINE "+ // 01
"from JACK_CLIENTS where "+
"STATION_NAME=\""+RDEscapeString(rd_config->stationName())+"\"";
RDSqlQuery *q=new RDSqlQuery(sql);
while(q->next()) {