2021-04-20 Fred Gleason <fredg@paravelsystems.com>

* Escaped all SQL identifiers in 'utils/rddbconfig/'.
	* Replaced " with ' delimiters in all SQL literal strings in
	'utils/rddbconfig/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-04-20 11:44:46 -04:00
parent cf29c18364
commit c2fcc23cfd
3 changed files with 21 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ Db::Db(QString *err_str,RDConfig *config)
return;
}
q=new QSqlQuery("select DB from VERSION",db);
q=new QSqlQuery("select `DB` from `VERSION`",db);
if(q->first()) {
db_schema=q->value(0).toUInt();
}