Fix: Async mysql queries aren't logged in the debug log

fixes #10540
This commit is contained in:
Michael Friedrich 2015-11-05 15:43:09 +01:00
parent 58da59854d
commit dda05f0322
1 changed files with 3 additions and 0 deletions

View File

@ -435,6 +435,9 @@ void IdoMysqlConnection::FinishAsyncQueries(bool force)
IncreaseQueryCount();
count++;
Log(LogDebug, "IdoMysqlConnection")
<< "Query: " << aq.Query;
querybuf << aq.Query;
num_bytes += size_query;
}