You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
Set up so that configure --with-debug works
This commit is contained in:
@@ -46,7 +46,7 @@ struct st_ha_create_information;
|
|||||||
#include "functor.h"
|
#include "functor.h"
|
||||||
|
|
||||||
/** Debug macro */
|
/** Debug macro */
|
||||||
#if INFINIDB_DEBUG
|
#ifdef INFINIDB_DEBUG
|
||||||
#define IDEBUG(x) {x;}
|
#define IDEBUG(x) {x;}
|
||||||
#else
|
#else
|
||||||
#define IDEBUG(x) {}
|
#define IDEBUG(x) {}
|
||||||
|
@@ -34,12 +34,20 @@ template <class T> bool isnan(T);
|
|||||||
#undef LOG_INFO
|
#undef LOG_INFO
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
#define SAFE_MUTEX
|
||||||
#define SAFEMALLOC
|
#define SAFEMALLOC
|
||||||
|
#endif
|
||||||
|
#define ENABLED_DEBUG_SYNC
|
||||||
|
#define INFINIDB_DEBUG
|
||||||
#define DBUG_ON 1
|
#define DBUG_ON 1
|
||||||
#undef DBUG_OFF
|
#undef DBUG_OFF
|
||||||
#else
|
#else
|
||||||
#define DBUG_OFF 1
|
#undef SAFE_MUTEX
|
||||||
|
#undef SAFEMALLOC
|
||||||
|
#undef ENABLED_DEBUG_SYNC
|
||||||
#undef DBUG_ON
|
#undef DBUG_ON
|
||||||
|
#define DBUG_OFF 1
|
||||||
#endif
|
#endif
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define MYSQL_DYNAMIC_PLUGIN
|
#define MYSQL_DYNAMIC_PLUGIN
|
||||||
|
Reference in New Issue
Block a user