2021-12-03 Fred Gleason <fredg@paravelsystems.com>

* Fixed a SQL escaping bug in 'lib/export_resultsrecon.cpp'.
	* Fixed a SQL escaping bug in 'lib/rdlibrarymodel.cpp'.
	* Fixed a SQL escaping bug in 'rdlibrary/rdlibrary.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-12-03 16:21:57 -05:00
parent b7059f300c
commit 3aaa1d5206
4 changed files with 7 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ bool RDReport::ExportResultsReport(const QString &filename,
"`ELR_LINES`.`ARTIST`,"+ // 06
"`ELR_LINES`.`EXT_START_TIME` "+ // 07
"from `ELR_LINES` left join `CART` "+
"on `ELR_LINES`.`CART_NUMBER`=`CART.NUMBER` where "+
"on `ELR_LINES`.`CART_NUMBER`=`CART`.`NUMBER` where "+
"`SERVICE_NAME`='"+RDEscapeString(mixtable)+"' "+
"order by `EVENT_DATETIME`";
q=new RDSqlQuery(sql);