summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorbrian@zim.(none) <>2005-11-10 08:24:21 -0800
committerbrian@zim.(none) <>2005-11-10 08:24:21 -0800
commit510d0f24c88ed6b157c055dec7a2d5342c6a0a7b (patch)
treead803d0cd2c9f0ef981d67cce5ae9d1e1ce6b581 /sql/handler.h
parentb318ed1768e98af3aa8a680ade343533f9323bf6 (diff)
downloadmariadb-git-510d0f24c88ed6b157c055dec7a2d5342c6a0a7b.tar.gz
Added handlerton flag to make storage engines invisable via flag.
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/handler.h b/sql/handler.h
index e317f95b990..be188f7cacd 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -401,8 +401,9 @@ struct show_table_alias_st {
/* Possible flags of a handlerton */
#define HTON_NO_FLAGS 0
#define HTON_CLOSE_CURSORS_AT_COMMIT (1 << 0)
-#define HTON_ALTER_NOT_SUPPORTED (1 << 1)
-#define HTON_CAN_RECREATE (1 << 2)
+#define HTON_ALTER_NOT_SUPPORTED (1 << 1) //Engine does not support alter
+#define HTON_CAN_RECREATE (1 << 2) //Delete all is used fro truncate
+#define HTON_HIDDEN (1 << 3) //Engine does not appear in lists
typedef struct st_thd_trans
{