summaryrefslogtreecommitdiff
path: root/storage/pbxt/src
diff options
context:
space:
mode:
authorPaul McCullagh <paul.mccullagh@primebase.org>2010-05-11 11:03:01 +0200
committerPaul McCullagh <paul.mccullagh@primebase.org>2010-05-11 11:03:01 +0200
commit6cf5a05dbe3af1648038de6bd043694a2e286870 (patch)
tree268c4481aa79d6a0a61465b33220aac1bb56263c /storage/pbxt/src
parent1f6a936ddc46f9bf035277124ea6be0774038ca4 (diff)
downloadmariadb-git-6cf5a05dbe3af1648038de6bd043694a2e286870.tar.gz
PBXT now builds correctly when DEBUG enabled
Diffstat (limited to 'storage/pbxt/src')
-rw-r--r--storage/pbxt/src/ha_pbxt.cc1
-rw-r--r--storage/pbxt/src/myxt_xt.cc1
-rw-r--r--storage/pbxt/src/xt_config.h4
3 files changed, 6 insertions, 0 deletions
diff --git a/storage/pbxt/src/ha_pbxt.cc b/storage/pbxt/src/ha_pbxt.cc
index 3d4584e60b1..a10c8970b15 100644
--- a/storage/pbxt/src/ha_pbxt.cc
+++ b/storage/pbxt/src/ha_pbxt.cc
@@ -80,6 +80,7 @@ using drizzled::plugin::InfoSchemaMethods;
#include "systab_xt.h"
#include "xaction_xt.h"
#include "backup_xt.h"
+#include "heap_xt.h"
#ifdef DEBUG
//#define XT_USE_SYS_PAR_DEBUG_SIZES
diff --git a/storage/pbxt/src/myxt_xt.cc b/storage/pbxt/src/myxt_xt.cc
index 2b5d59e72fb..8b55cc09f66 100644
--- a/storage/pbxt/src/myxt_xt.cc
+++ b/storage/pbxt/src/myxt_xt.cc
@@ -54,6 +54,7 @@ extern pthread_key_t THR_Session;
#include "database_xt.h"
#include "cache_xt.h"
#include "datalog_xt.h"
+#include "memory_xt.h"
static void myxt_bitmap_init(XTThreadPtr self, MX_BITMAP *map, u_int n_bits);
static void myxt_bitmap_free(XTThreadPtr self, MX_BITMAP *map);
diff --git a/storage/pbxt/src/xt_config.h b/storage/pbxt/src/xt_config.h
index f3749071087..cb3009ecb79 100644
--- a/storage/pbxt/src/xt_config.h
+++ b/storage/pbxt/src/xt_config.h
@@ -128,4 +128,8 @@ const int max_connections = 500;
#endif
#endif
+#if defined(DBUG_ON) && !defined(DBUG_OFF) && !defined(DEBUG)
+#define DEBUG
+#endif // DBUG_ON
+
#endif