1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

disable LeakSanitizer for unit.dbug test

This commit is contained in:
Sergei Golubchik
2019-03-05 22:40:55 +01:00
parent 26f0d72a3f
commit 5ce6fb59a0

View File

@@ -86,3 +86,11 @@ int main (int argc __attribute__((unused)),
return 0;
#endif /* DBUG_OFF */
}
#ifdef __SANITIZE_ADDRESS__
/* Disable LeakSanitizer in this executable */
const char* __asan_default_options()
{
return "detect_leaks=0";
}
#endif