diff options
Diffstat (limited to 'sql/unireg.h')
-rw-r--r-- | sql/unireg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/unireg.h b/sql/unireg.h index 6c26f30f116..232ea5e70e7 100644 --- a/sql/unireg.h +++ b/sql/unireg.h @@ -153,6 +153,11 @@ #define OPEN_VIEW 8192 /* Allow open on view */ #define OPEN_VIEW_NO_PARSE 16384 /* Open frm only if it's a view, but do not parse view itself */ +#define OPEN_FRM_FILE_ONLY 32768 /* Open frm file only */ +#define OPEN_TABLE_ONLY OPEN_FRM_FILE_ONLY*2 /* Open view only */ +#define OPEN_VIEW_ONLY OPEN_TABLE_ONLY*2 /* Open table only */ +#define OPEN_TABLE_FROM_SHARE OPEN_VIEW_ONLY*2 /* For I_S tables*/ +#define OPTIMIZE_I_S_TABLE OPEN_TABLE_FROM_SHARE*2 /* For I_S tables*/ #define SC_INFO_LENGTH 4 /* Form format constant */ #define TE_INFO_LENGTH 3 #define MTYP_NOEMPTY_BIT 128 |