mirror of https://github.com/sysown/proxysql
running export USEVALGRIND=1 , libmariadb_client will be compiled wth valgrind support, so that valgrind is able to track switching stackspull/3866/head
parent
8c55b777ee
commit
15b666866f
@ -0,0 +1,9 @@
|
||||
@@ -25,6 +25,8 @@
|
||||
(This particular implementation uses Posix ucontext swapcontext().)
|
||||
*/
|
||||
|
||||
+#define HAVE_VALGRIND
|
||||
+
|
||||
#ifdef _WIN32
|
||||
#define MY_CONTEXT_USE_WIN32_FIBERS 1
|
||||
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__) && !defined(__ILP32__)
|
||||
Loading…
Reference in new issue