From caa68fa4ca606c64fdd28abf5bafb28955ebb9c6 Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 10 May 2014 09:24:30 +0200 Subject: [PATCH] fixed bug in query duration logging --- lib/db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db.c b/lib/db.c index b5e2911..6ee2c71 100644 --- a/lib/db.c +++ b/lib/db.c @@ -115,7 +115,7 @@ int cDbStatement::execute(int noResult) // tell(0, "execute %d [%s]", stmt, stmtTxt.c_str()); - long start = usNow(); + double start = usNow(); if (mysql_stmt_execute(stmt)) return connection->errorSql(connection, "execute(stmt_execute)", stmt, stmtTxt.c_str());