summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-02-22 15:22:37 +0100
committerunknown <serg@serg.mylan>2005-02-22 15:22:37 +0100
commit7caef7f4aa826db751626a9833c70df33ebf1363 (patch)
tree97a0fc943f0fefa7f11f4a58e4ccb54e23b025bc /sql/handler.h
parent17cca96ec9c613a0e25cf78f7230bd9ebfb72010 (diff)
downloadmariadb-git-7caef7f4aa826db751626a9833c70df33ebf1363.tar.gz
compatibility fixes, crashing tests
include/my_sys.h: sol9x86, sunfire100b, qnx compatibility mysql-test/t/rpl_rotate_logs.test: fix the test sql/ha_innodb.cc: don't bother sql/handler.cc: few more ways to crash mysqld :) sql/handler.h: gdb/safemalloc workaround sql/log.cc: rotate a binlog on heuristic recover sql/mysqld.cc: rotate a binlog on heuristic recover
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h
index 3a1862cad07..ad9345ac75c 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -253,7 +253,11 @@ typedef struct xid_t XID;
/* for recover() handlerton call */
#define MIN_XID_LIST_SIZE 128
+#ifdef SAFEMALLOC
+#define MAX_XID_LIST_SIZE 256
+#else
#define MAX_XID_LIST_SIZE (1024*128)
+#endif
/*
handlerton is a singleton structure - one instance per storage engine -