diff options
author | Monty <monty@mariadb.org> | 2017-05-07 18:26:10 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-05-08 02:33:35 +0300 |
commit | 1e04ad284c6ac0a9ce433f827bc6dbfbd6029007 (patch) | |
tree | ff59557c55b06495d93a3420e8aac09588a87a9d /client | |
parent | 276b0c8ef03046cc210e4eeab7231cb8d9f16bac (diff) | |
download | mariadb-git-1e04ad284c6ac0a9ce433f827bc6dbfbd6029007.tar.gz |
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
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlcheck.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c index b47b9c98510..8bc6334448f 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -19,6 +19,8 @@ /* By Jani Tolonen, 2001-04-20, MySQL Development Team */ #define CHECK_VERSION "2.7.4-MariaDB" +/* Avoid warnings from %'s format */ +#define USING_MARIADB_SNPRINTF_EXTENSIONS #include "client_priv.h" #include <m_ctype.h> |