summaryrefslogtreecommitdiff
path: root/include/myisamchk.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2012-12-20 10:58:40 -0800
committerIgor Babaev <igor@askmonty.org>2012-12-20 10:58:40 -0800
commitca2cdaad86750509764256ff8086e031b4870b24 (patch)
treebda13b02b556072c72a247b2c6f13f2ec9722ffe /include/myisamchk.h
parent6c3de76ad5cb8683ab8b049e0bbba670115d304a (diff)
downloadmariadb-git-ca2cdaad86750509764256ff8086e031b4870b24.tar.gz
The patch for the task mdev-539.
The patch lifts the limitation of the current implementation of ALTER TABLE that does not allow to build unique/primary indexes by sort for MyISAM and Aria engines.
Diffstat (limited to 'include/myisamchk.h')
-rw-r--r--include/myisamchk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/myisamchk.h b/include/myisamchk.h
index 9478936c748..789e95572b3 100644
--- a/include/myisamchk.h
+++ b/include/myisamchk.h
@@ -63,6 +63,8 @@
#define T_ZEROFILL_KEEP_LSN ((ulonglong) 1L << 33)
/** If repair should not bump create_rename_lsn */
#define T_NO_CREATE_RENAME_LSN ((ulonglong) 1L << 33)
+#define T_CREATE_UNIQUE_BY_SORT ((ulonglong) 1L << 34)
+#define T_SUPPRESS_ERR_HANDLING ((ulonglong) 1L << 35)
#define T_REP_ANY (T_REP | T_REP_BY_SORT | T_REP_PARALLEL)