aboutsummaryrefslogtreecommitdiff
path: root/src/database_sqlite.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/database_sqlite.cc')
-rw-r--r--src/database_sqlite.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database_sqlite.cc b/src/database_sqlite.cc
index b50c6df..bcc4914 100644
--- a/src/database_sqlite.cc
+++ b/src/database_sqlite.cc
@@ -94,7 +94,7 @@ static sqlite3_stmt *PrepareQuery(TDatabase *Database, const char *Text){
ASSERT(EntryText != NULL);
if(StringEq(EntryText, Text)){
Stmt = Entry->Stmt;
- Entry->LastUsed = GetMonotonicUptimeMS();
+ Entry->LastUsed = GetMonotonicUptime();
break;
}
}
@@ -113,7 +113,7 @@ static sqlite3_stmt *PrepareQuery(TDatabase *Database, const char *Text){
}
Entry->Stmt = Stmt;
- Entry->LastUsed = GetMonotonicUptimeMS();
+ Entry->LastUsed = GetMonotonicUptime();
Entry->Hash = Hash;
}else{
if(sqlite3_stmt_busy(Stmt) != 0){