mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed compiler warnings and warnings from build.tags
Other things - Ensure that ut_d() is set to EXPR if ut_ad() is DEBUG_ASSERT() If not, we will get a crash in purge_sys_t::~purge_sys_t() as this ut_ad() code expect's that the ut_d() codes has been executed
This commit is contained in:
@@ -96,7 +96,7 @@ extern struct my_snprintf_service_st {
|
||||
#define ATTRIBUTE_FORMAT_DEFINED
|
||||
#define ATTRIBUTE_FORMAT(A,B,C)
|
||||
#endif
|
||||
#ifdef MYSQL_ABI_CHECK
|
||||
#if defined(MYSQL_ABI_CHECK) || defined(USING_MARIADB_SNPRINTF_EXTENSIONS)
|
||||
#undef ATTRIBUTE_FORMAT
|
||||
#define ATTRIBUTE_FORMAT(A,B,C)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user