From d8fb778534454b5ad396f1ad254559392232da64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Thu, 12 May 2022 19:01:16 +0200 Subject: [PATCH 1/2] Fix compilation with 'GCC 12.1.0' adding missing include --- include/proxysql_admin.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/proxysql_admin.h b/include/proxysql_admin.h index 402e9de63..28b9c7629 100644 --- a/include/proxysql_admin.h +++ b/include/proxysql_admin.h @@ -10,6 +10,7 @@ #include "cpp.h" #include #include +#include #include "ProxySQL_RESTAPI_Server.hpp" From c57c211f60a8a23fd7de2007a6b06e615bd679fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Thu, 12 May 2022 19:06:57 +0200 Subject: [PATCH 2/2] Remove never defined helper function declaration from tests 'utils.h' --- test/tap/tap/utils.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/tap/tap/utils.h b/test/tap/tap/utils.h index cb5c2243a..d6effc346 100644 --- a/test/tap/tap/utils.h +++ b/test/tap/tap/utils.h @@ -74,12 +74,6 @@ using mysql_res_row = std::vector; */ std::vector extract_mysql_rows(MYSQL_RES* my_res); -/** - * @brief Dummy write function to avoid CURL to write received output to stdout. - * @return Returns the size presented. - */ -size_t my_dummy_write(char*, size_t size, size_t nmemb, void*); - /** * @brief Waits until the provided endpoint is ready to be used or the * timeout period expired. For this checks the return code of