summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-01-16 00:42:52 +0200
committermonty@hundin.mysql.fi <>2002-01-16 00:42:52 +0200
commit4d10a0cb7eac04d7134537df139c87023453111d (patch)
tree890cb295feeab3ebd6413663178be56ec5ed21a2 /include
parent7dd4eb71fe7576e428fe1ecaaad214d3a39ff4dc (diff)
downloadmariadb-git-4d10a0cb7eac04d7134537df139c87023453111d.tar.gz
Add support for NULL=NULL in keys (Used in GROUP BY optimization)
Add ISAM to Windows version Fix of test results Fixes for NULL keys in HEAP tables.
Diffstat (limited to 'include')
-rw-r--r--include/config-win.h2
-rw-r--r--include/my_base.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h
index ea7b290a12a..a3770cd68ad 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -255,6 +255,8 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_COMPRESS
#define HAVE_CREATESEMAPHORE
+#define HAVE_ISAM /* We want to have support for ISAM in 4.0 */
+
#ifdef NOT_USED
#define HAVE_SNPRINTF /* Gave link error */
#define _snprintf snprintf
diff --git a/include/my_base.h b/include/my_base.h
index 6494fa93ab9..68f33147145 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -150,6 +150,7 @@ enum ha_base_keytype {
#define HA_FULLTEXT 128 /* SerG: for full-text search */
#define HA_UNIQUE_CHECK 256 /* Check the key for uniqueness */
#define HA_SPATIAL 1024 /* Alex Barkov: for spatial search */
+#define HA_NULL_ARE_EQUAL 2048 /* NULL in key are cmp as equal */
/* Automatic bits in key-flag */
@@ -260,6 +261,7 @@ enum ha_base_keytype {
#define MBR_DISJOINT 4096
#define MBR_EQUAL 8192
#define MBR_DATA 16384
+#define SEARCH_NULL_ARE_EQUAL 32768 /* NULL in keys are equal */
/* bits in opt_flag */
#define QUICK_USED 1