1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Set up so that configure --with-debug works

This commit is contained in:
David Hall
2016-06-28 16:27:35 -05:00
parent 8082472d5c
commit d8c4f4f1cf
2 changed files with 10 additions and 2 deletions

View File

@ -46,7 +46,7 @@ struct st_ha_create_information;
#include "functor.h"
/** Debug macro */
#if INFINIDB_DEBUG
#ifdef INFINIDB_DEBUG
#define IDEBUG(x) {x;}
#else
#define IDEBUG(x) {}

View File

@ -34,12 +34,20 @@ template <class T> bool isnan(T);
#undef LOG_INFO
#ifdef _DEBUG
#ifndef _MSC_VER
#define SAFE_MUTEX
#define SAFEMALLOC
#endif
#define ENABLED_DEBUG_SYNC
#define INFINIDB_DEBUG
#define DBUG_ON 1
#undef DBUG_OFF
#else
#define DBUG_OFF 1
#undef SAFE_MUTEX
#undef SAFEMALLOC
#undef ENABLED_DEBUG_SYNC
#undef DBUG_ON
#define DBUG_OFF 1
#endif
#ifdef _MSC_VER
#define MYSQL_DYNAMIC_PLUGIN