diff --git a/programs/mythfilldatabase/filldata.cpp b/programs/mythfilldatabase/filldata.cpp
index a90909f..a27e9c1 100644
a
|
b
|
static bool updateLastRunEnd(MSqlQuery &query) |
43 | 43 | query.prepare("UPDATE settings SET data = :ENDTIME " |
44 | 44 | "WHERE value='mythfilldatabaseLastRunEnd'"); |
45 | 45 | |
46 | | query.bindValue(qdtNow.toString("yyyy-MM-dd hh:mm"), ":ENDTIME"); |
| 46 | query.bindValue(":ENDTIME", qdtNow.toString("yyyy-MM-dd hh:mm")); |
47 | 47 | |
48 | 48 | if (!query.exec()) |
49 | 49 | { |
… |
… |
static bool updateLastRunStart(MSqlQuery &query) |
59 | 59 | query.prepare("UPDATE settings SET data = :STARTTIME " |
60 | 60 | "WHERE value='mythfilldatabaseLastRunStart'"); |
61 | 61 | |
62 | | query.bindValue(qdtNow.toString("yyyy-MM-dd hh:mm"), ":STARTTIME"); |
| 62 | query.bindValue(":STARTTIME", qdtNow.toString("yyyy-MM-dd hh:mm")); |
63 | 63 | |
64 | 64 | if (!query.exec()) |
65 | 65 | { |
… |
… |
static bool updateLastRunStatus(MSqlQuery &query, QString &status) |
74 | 74 | query.prepare("UPDATE settings SET data = :STATUS " |
75 | 75 | "WHERE value='mythfilldatabaseLastRunStatus'"); |
76 | 76 | |
77 | | query.bindValue(status, ":STATUS"); |
| 77 | query.bindValue(":STATUS", status); |
78 | 78 | |
79 | 79 | if (!query.exec()) |
80 | 80 | { |