summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-11-02 15:53:04 +0100
committerunknown <msvensson@neptunus.(none)>2005-11-02 15:53:04 +0100
commit316e95049d4957923e2a72394b16e988a1d68ad4 (patch)
tree2ee0e1b6bb0bdf078f424e661d1cd174ca4c7863 /include
parentec69ca57c8f5dfd12c1eff039d43c4db494178e2 (diff)
downloadmariadb-git-316e95049d4957923e2a72394b16e988a1d68ad4.tar.gz
BUG#14514 Creating table with packed key fails silently
include/my_base.h: Move HA_CREATE_FROM_ENGINE to HA_OPTION_CREATE_FROM_ENGINE sql/ha_ndbcluster.cc: Use HA_OPTION_CREATE_FROM_ENGINE sql/handler.cc: Use HA_OPTION_CREATE_FROM_ENGINE
Diffstat (limited to 'include')
-rw-r--r--include/my_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_base.h b/include/my_base.h
index c76cf8c604e..ba3edfad0c8 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -248,6 +248,7 @@ enum ha_base_keytype {
#define HA_OPTION_CHECKSUM 32
#define HA_OPTION_DELAY_KEY_WRITE 64
#define HA_OPTION_NO_PACK_KEYS 128 /* Reserved for MySQL */
+#define HA_OPTION_CREATE_FROM_ENGINE 256
#define HA_OPTION_TEMP_COMPRESS_RECORD ((uint) 16384) /* set by isamchk */
#define HA_OPTION_READ_ONLY_DATA ((uint) 32768) /* Set by isamchk */
@@ -258,7 +259,6 @@ enum ha_base_keytype {
#define HA_CREATE_TMP_TABLE 4
#define HA_CREATE_CHECKSUM 8
#define HA_CREATE_DELAY_KEY_WRITE 64
-#define HA_CREATE_FROM_ENGINE 128
/* Bits in flag to _status */