diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-10-10 02:17:19 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-10-10 02:17:19 -0300 |
| commit | cc4873e33866ba86561774a7e55449d59367661e (patch) | |
| tree | d9c60a3e3d5850e52aeb5b9a674871f8817012e9 /src/database_sqlite.cc | |
| parent | ddcba8ef56fe122a77e890a2740489045e3dc6a0 (diff) | |
| download | querymanager-cc4873e33866ba86561774a7e55449d59367661e.tar.gz querymanager-cc4873e33866ba86561774a7e55449d59367661e.zip | |
switch to blocking poll + fix config, signals, time, non-game login
Diffstat (limited to 'src/database_sqlite.cc')
| -rw-r--r-- | src/database_sqlite.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database_sqlite.cc b/src/database_sqlite.cc index a9b4a58..8a5e526 100644 --- a/src/database_sqlite.cc +++ b/src/database_sqlite.cc @@ -90,7 +90,7 @@ static sqlite3_stmt *PrepareQuery(TDatabase *Database, const char *Text){ ASSERT(EntryText != NULL); if(strcmp(EntryText, Text) == 0){ Stmt = Entry->Stmt; - Entry->LastUsed = g_MonotonicTimeMS; + Entry->LastUsed = GetMonotonicUptimeMS(); break; } } @@ -109,7 +109,7 @@ static sqlite3_stmt *PrepareQuery(TDatabase *Database, const char *Text){ } Entry->Stmt = Stmt; - Entry->LastUsed = g_MonotonicTimeMS; + Entry->LastUsed = GetMonotonicUptimeMS(); Entry->Hash = Hash; }else{ if(sqlite3_stmt_busy(Stmt) != 0){ |
