summaryrefslogtreecommitdiff
path: root/storage/connect/ha_connect.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2014-03-23 18:49:19 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2014-03-23 18:49:19 +0100
commitf26be8cae28a6c947278080d45d546ac2b9fa69f (patch)
tree59335fe05894192e7227f63922239a4372fb8f62 /storage/connect/ha_connect.h
parentf48d76620a80174ecdc59c1e70cf4b0024135e4b (diff)
downloadmariadb-git-f26be8cae28a6c947278080d45d546ac2b9fa69f.tar.gz
- 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
Diffstat (limited to 'storage/connect/ha_connect.h')
-rw-r--r--storage/connect/ha_connect.h15
1 files changed, 14 insertions, 1 deletions
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.