mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-05 16:20:14 +01:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user