fixed bug in query duration logging

This commit is contained in:
louis 2014-05-10 09:24:30 +02:00
parent 31f55fb489
commit caa68fa4ca
1 changed files with 1 additions and 1 deletions

View File

@ -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());