From f26be8cae28a6c947278080d45d546ac2b9fa69f Mon Sep 17 00:00:00 2001 From: Olivier Bertrand Date: Sun, 23 Mar 2014 18:49:19 +0100 Subject: - Work in progress modified: storage/connect/filter.h storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/mysql-test/connect/r/alter.result storage/connect/mysql-test/connect/r/xml.result --- storage/connect/ha_connect.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'storage/connect/ha_connect.h') diff --git a/storage/connect/ha_connect.h b/storage/connect/ha_connect.h index 1924d8de185..d8395335edb 100644 --- a/storage/connect/ha_connect.h +++ b/storage/connect/ha_connect.h @@ -130,6 +130,19 @@ struct ha_field_option_struct char *special; }; +/* + index options can be declared similarly + using the ha_index_option_struct structure. + + Their values can be specified in the CREATE TABLE per index: + CREATE TABLE ( field ..., .., INDEX .... *here*, ... ) +*/ +struct ha_index_option_struct +{ + bool kindx; + bool mapped; +}; + /** @brief CONNECT_SHARE is a structure that will be shared among all open handlers. This example implements the minimum of what you will probably need. @@ -210,7 +223,7 @@ public: The name of the index type that will be used for display. Don't implement this method unless you really have indexes. */ - const char *index_type(uint inx) { return "XPLUG"; } + const char *index_type(uint inx) { return "XINDEX"; } /** @brief The file extensions. -- cgit v1.2.1