You've already forked mariadb-columnstore-engine
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:
@ -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) {}
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user