summaryrefslogtreecommitdiff
path: root/storage/connect/ha_connect.h
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2014-04-01 18:14:57 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2014-04-01 18:14:57 +0200
commit3f361af7ce4937f02b939e19b0e17dd942045f99 (patch)
treeea4fae8112f4ab197b03109ece478b98947d02b4 /storage/connect/ha_connect.h
parentb1ae8341655e7af388fc203392151890478ae086 (diff)
downloadmariadb-git-3f361af7ce4937f02b939e19b0e17dd942045f99.tar.gz
- FIX MDEV-5989 (max(indexed) doesn't work)
By implementing index_last modified: storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/xindex.cpp - Adding the TYPE_BIN Connect internal type (not tested and not used yet) modified: storage/connect/global.h storage/connect/value.cpp storage/connect/value.h
Diffstat (limited to 'storage/connect/ha_connect.h')
-rw-r--r--storage/connect/ha_connect.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/connect/ha_connect.h b/storage/connect/ha_connect.h
index f277209a78c..79f4a2e734a 100644
--- a/storage/connect/ha_connect.h
+++ b/storage/connect/ha_connect.h
@@ -241,7 +241,8 @@ public:
*/
ulong index_flags(uint inx, uint part, bool all_parts) const
{
- return HA_READ_NEXT | HA_READ_RANGE | HA_READ_ORDER | HA_KEYREAD_ONLY;
+ return HA_READ_NEXT | HA_READ_RANGE | HA_READ_ORDER
+ | HA_KEYREAD_ONLY | HA_KEY_SCAN_NOT_ROR;
} // end of index_flags
/** @brief
@@ -416,7 +417,7 @@ const char *GetValStr(OPVAL vop, bool neg);
We implement this in ha_connect.cc. It's not an obligatory method;
skip it and and MySQL will treat it as not implemented.
*/
-//int index_last(uchar *buf);
+ int index_last(uchar *buf);
/* Index condition pushdown implementation */
//Item *idx_cond_push(uint keyno, Item* idx_cond);