fixed bug in query duration logging
This commit is contained in:
parent
31f55fb489
commit
caa68fa4ca
2
lib/db.c
2
lib/db.c
|
@ -115,7 +115,7 @@ int cDbStatement::execute(int noResult)
|
||||||
|
|
||||||
// tell(0, "execute %d [%s]", stmt, stmtTxt.c_str());
|
// tell(0, "execute %d [%s]", stmt, stmtTxt.c_str());
|
||||||
|
|
||||||
long start = usNow();
|
double start = usNow();
|
||||||
|
|
||||||
if (mysql_stmt_execute(stmt))
|
if (mysql_stmt_execute(stmt))
|
||||||
return connection->errorSql(connection, "execute(stmt_execute)", stmt, stmtTxt.c_str());
|
return connection->errorSql(connection, "execute(stmt_execute)", stmt, stmtTxt.c_str());
|
||||||
|
|
Loading…
Reference in New Issue