summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-02-08 01:12:58 +0200
committermonty@mashka.mysql.fi <>2003-02-08 01:12:58 +0200
commit7388c5f1618380f5ac29c3ab40d48da0372a3d57 (patch)
treed54b65dfc052978dab95842c84f1a39745ef0d0c /innobase
parent60556efaca57f2db6a9c6484e788623b5591e1e3 (diff)
parentd92022f7f018fb1b19efa8a04ed06217600c16f7 (diff)
downloadmariadb-git-7388c5f1618380f5ac29c3ab40d48da0372a3d57.tar.gz
merge
Diffstat (limited to 'innobase')
-rw-r--r--innobase/page/page0cur.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/innobase/page/page0cur.c b/innobase/page/page0cur.c
index 2042db80529..0e65dc8b1de 100644
--- a/innobase/page/page0cur.c
+++ b/innobase/page/page0cur.c
@@ -193,6 +193,11 @@ page_cur_search_with_match(
}
/*#endif */
#endif
+
+ /* The following flag does not work for non-latin1 char sets because
+ cmp_full_field does not tell how many bytes matched */
+ ut_a(mode != PAGE_CUR_LE_OR_EXTENDS);
+
/* If mode PAGE_CUR_G is specified, we are trying to position the
cursor to answer a query of the form "tuple < X", where tuple is
the input parameter, and X denotes an arbitrary physical record on