summaryrefslogtreecommitdiff
path: root/innobase/page
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
commitdc1d5bb10752163bfa1763ca6a3f104bcba2fc9d (patch)
tree5436075d9f39ac92f9d5a92ad3881060e3d6a1b6 /innobase/page
parent48d34be2cbab6e4d4f5b09c765d3e7319f36b5be (diff)
downloadmariadb-git-dc1d5bb10752163bfa1763ca6a3f104bcba2fc9d.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
Diffstat (limited to 'innobase/page')
-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