committed by
Craig Drummond
parent
6e100a5ef5
commit
f322d43899
@@ -453,7 +453,8 @@ public:
|
||||
if (limit>0) {
|
||||
sql+=" LIMIT "+QString::number(limit);
|
||||
}
|
||||
query=QSqlQuery(sql, db);
|
||||
query = QSqlQuery(db);
|
||||
query.prepare(sql);
|
||||
|
||||
for (const QVariant &value: boundValues) {
|
||||
query.addBindValue(value);
|
||||
|
||||
Reference in New Issue
Block a user