From 7bd98f87b2bd5fbc26a769e8babf247742b3f6d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Thu, 23 Jan 2025 13:52:26 +0000 Subject: [PATCH] verbose output in mysql_query_logging_memory-t --- test/tap/tests/mysql_query_logging_memory-t.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/test/tap/tests/mysql_query_logging_memory-t.cpp b/test/tap/tests/mysql_query_logging_memory-t.cpp index 9d160d9eb..f87de525f 100644 --- a/test/tap/tests/mysql_query_logging_memory-t.cpp +++ b/test/tap/tests/mysql_query_logging_memory-t.cpp @@ -159,7 +159,20 @@ bool checkQueryResult(MYSQL* conn, const std::string& query, const std::map::const_iterator it = expectedResults.begin() ; it != expectedResults.end() ; it++) { + diag(" %d : %d", it->first, it->second); + } + diag("ActualResult:"); + for (std::map::const_iterator it = actualResults.begin() ; it != actualResults.end() ; it++) { + diag(" %d : %d", it->first, it->second); + } + } + return ret; }