From dda05f0322066c5254f15e761b7c5ab825b61fc4 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Thu, 5 Nov 2015 15:43:09 +0100 Subject: [PATCH] Fix: Async mysql queries aren't logged in the debug log fixes #10540 --- lib/db_ido_mysql/idomysqlconnection.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/db_ido_mysql/idomysqlconnection.cpp b/lib/db_ido_mysql/idomysqlconnection.cpp index 731e1e48b..03a4f2277 100644 --- a/lib/db_ido_mysql/idomysqlconnection.cpp +++ b/lib/db_ido_mysql/idomysqlconnection.cpp @@ -435,6 +435,9 @@ void IdoMysqlConnection::FinishAsyncQueries(bool force) IncreaseQueryCount(); count++; + Log(LogDebug, "IdoMysqlConnection") + << "Query: " << aq.Query; + querybuf << aq.Query; num_bytes += size_query; }