summaryrefslogtreecommitdiff
path: root/storage/connect/ha_connect.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/connect/ha_connect.h')
-rw-r--r--storage/connect/ha_connect.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/connect/ha_connect.h b/storage/connect/ha_connect.h
index 46763394945..fac7560ddd6 100644
--- a/storage/connect/ha_connect.h
+++ b/storage/connect/ha_connect.h
@@ -180,7 +180,7 @@ public:
// CONNECT Implementation
static bool connect_init(void);
static bool connect_end(void);
- TABTYPE GetRealType(PTOS pos);
+ TABTYPE GetRealType(PTOS pos= NULL);
char *GetStringOption(char *opname, char *sdef= NULL);
PTOS GetTableOptionStruct(TABLE *table_arg);
bool GetBooleanOption(char *opname, bool bdef);
@@ -256,8 +256,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 | HA_KEY_SCAN_NOT_ROR;
+ return HA_READ_NEXT | HA_READ_RANGE | HA_READ_ORDER |
+ HA_READ_PREV | HA_KEYREAD_ONLY | HA_KEY_SCAN_NOT_ROR;
} // end of index_flags
/** @brief
@@ -421,7 +421,7 @@ PFIL CondFilter(PGLOBAL g, Item *cond);
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_prev(uchar *buf);
+int index_prev(uchar *buf);
/** @brief
We implement this in ha_connect.cc. It's not an obligatory method;