summaryrefslogtreecommitdiff
path: root/storage/connect/ha_connect.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2014-04-19 17:02:53 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2014-04-19 17:02:53 +0200
commit187e41697b7e4c43fcfe8e5c01f7cc7ad289f995 (patch)
tree77a96d5bbcd63a2abc1f8130e8b6218f3d4df428 /storage/connect/ha_connect.h
parent213ecbbb4f3d252ba2d653eacf756e123821c41a (diff)
downloadmariadb-git-187e41697b7e4c43fcfe8e5c01f7cc7ad289f995.tar.gz
- Implement "remote" index (similar to FEDERATED ones) for MYSQL tables.
Not yet done for ODBC tables. modified: storage/connect/connect.cc storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/mycat.cc storage/connect/plgdbsem.h storage/connect/reldef.h storage/connect/tabdos.h storage/connect/tabmysql.cpp storage/connect/tabmysql.h storage/connect/tabodbc.cpp storage/connect/tabodbc.h storage/connect/xindex.cpp storage/connect/xtable.h - Return error in "info" on Cardinality error. modified: storage/connect/ha_connect.cc
Diffstat (limited to 'storage/connect/ha_connect.h')
-rw-r--r--storage/connect/ha_connect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/connect/ha_connect.h b/storage/connect/ha_connect.h
index 88e8de43ba6..ae7ae010c7d 100644
--- a/storage/connect/ha_connect.h
+++ b/storage/connect/ha_connect.h
@@ -198,6 +198,8 @@ public:
int CheckRecord(PGLOBAL g, const uchar *oldbuf, uchar *newbuf);
int ReadIndexed(uchar *buf, OPVAL op, const uchar* key= NULL,
uint key_len= 0);
+ bool MakeKeyWhere(PGLOBAL g, char *qry, OPVAL op, char *q,
+ const void *key, int klen);
/** @brief
The name that will be used for display purposes.