summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2003-02-07 17:44:09 +0200
committerunknown <heikki@hundin.mysql.fi>2003-02-07 17:44:09 +0200
commitc161bbdbe472a8711b2e8168de5fccc54fe674b9 (patch)
tree5436075d9f39ac92f9d5a92ad3881060e3d6a1b6
parenta811b06b30b6ad3c8ac286f389a50e4f71f6a909 (diff)
downloadmariadb-git-c161bbdbe472a8711b2e8168de5fccc54fe674b9.tar.gz
page0cur.c:
Disable PAGE_CUR_LE_OR_EXTENDS because it does not work for non-latin1 char sets now innobase/page/page0cur.c: Disable PAGE_CUR_LE_OR_EXTENDS because it does not work for non-latin1 char sets now
-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