mirror of
https://projects.vdr-developer.org/git/vdr-plugin-scraper2vdr.git
synced 2023-10-19 17:58:31 +02:00
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
Block a user