From ab3f9bcedc6fb6925650e8ab6ec4e2b06a132436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Mon, 15 Nov 2021 14:31:06 +0100 Subject: [PATCH] PROXYSQLTEST 51 and 52 on debug build only --- lib/ProxySQL_Admin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ProxySQL_Admin.cpp b/lib/ProxySQL_Admin.cpp index d4ae54eb2..d4402b2e8 100644 --- a/lib/ProxySQL_Admin.cpp +++ b/lib/ProxySQL_Admin.cpp @@ -3791,6 +3791,7 @@ void admin_session_handler(MySQL_Session *sess, void *_pa, PtrSize_t *pkt) { run_query=false; } break; +#ifdef DEBUG case 51: { char msg[256]; @@ -3822,6 +3823,7 @@ void admin_session_handler(MySQL_Session *sess, void *_pa, PtrSize_t *pkt) { run_query=false; } break; +#endif // DEBUG default: SPA->send_MySQL_ERR(&sess->client_myds->myprot, (char *)"Invalid test"); run_query=false;