diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-02-07 17:44:09 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-02-07 17:44:09 +0200 |
commit | dc1d5bb10752163bfa1763ca6a3f104bcba2fc9d (patch) | |
tree | 5436075d9f39ac92f9d5a92ad3881060e3d6a1b6 /innobase/page | |
parent | 48d34be2cbab6e4d4f5b09c765d3e7319f36b5be (diff) | |
download | mariadb-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.c | 5 |
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 |