Invert passed check, this broke all queries, whoops
This commit is contained in:
parent
966bdcd1cb
commit
6e12e28cd7
@ -59,7 +59,7 @@ QSqlDatabase get_thread_connection() {
|
|||||||
bool ci_query_exec(QSqlQuery* query) {
|
bool ci_query_exec(QSqlQuery* query) {
|
||||||
bool passed = false;
|
bool passed = false;
|
||||||
int attempt = 0;
|
int attempt = 0;
|
||||||
while (passed) {
|
while (!passed) {
|
||||||
passed = query->exec();
|
passed = query->exec();
|
||||||
if (passed) return true;
|
if (passed) return true;
|
||||||
attempt++;
|
attempt++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user