summaryrefslogtreecommitdiff
path: root/myisam/mi_static.c
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2002-10-25 14:09:47 +0000
committerserg@serg.mysql.com <>2002-10-25 14:09:47 +0000
commitd552ba7d8a75cbaa676b487c240aa745f12906af (patch)
tree924363f29111df2ea0eb851433529662bc1aa664 /myisam/mi_static.c
parent0ca3212a8cc3bafab07556e5dab2294fce17258a (diff)
downloadmariadb-git-d552ba7d8a75cbaa676b487c240aa745f12906af.tar.gz
support for HA_READ_PREFIX_LAST_OR_PREV in headres
full support for HA_READ_PREFIX_LAST_OR_PREV in MyISAM protected by #if NOT_IMPLEMENTED_YET in opt_range.cc as not all table handlers support it
Diffstat (limited to 'myisam/mi_static.c')
-rw-r--r--myisam/mi_static.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_static.c b/myisam/mi_static.c
index 57683a36920..a36c38e3c01 100644
--- a/myisam/mi_static.c
+++ b/myisam/mi_static.c
@@ -51,12 +51,12 @@ uint NEAR myisam_read_vec[]=
{
SEARCH_FIND, SEARCH_FIND | SEARCH_BIGGER, SEARCH_FIND | SEARCH_SMALLER,
SEARCH_NO_FIND | SEARCH_BIGGER, SEARCH_NO_FIND | SEARCH_SMALLER,
- SEARCH_FIND | SEARCH_PREFIX, SEARCH_LAST,
+ SEARCH_FIND | SEARCH_PREFIX, SEARCH_LAST, SEARCH_LAST | SEARCH_SMALLER,
MBR_CONTAIN, MBR_INTERSECT, MBR_WITHIN, MBR_DISJOINT, MBR_EQUAL
};
uint NEAR myisam_readnext_vec[]=
{
SEARCH_BIGGER, SEARCH_BIGGER, SEARCH_SMALLER, SEARCH_BIGGER, SEARCH_SMALLER,
- SEARCH_BIGGER, SEARCH_SMALLER
+ SEARCH_BIGGER, SEARCH_SMALLER, SEARCH_SMALLER
};