summaryrefslogtreecommitdiff
path: root/strings/ctype-eucjpms.c
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-03-13 16:51:36 +0400
committerAlexander Barkov <bar@mariadb.org>2015-03-13 16:51:36 +0400
commit197afb413fcc9f06b5e5e6ef41ce980d108b354f (patch)
tree7052fbaa1bf1af1c5c849e8fda4a3a790af09b25 /strings/ctype-eucjpms.c
parent702fba1511c90ea9c72b6c00122e0f31a05237b4 (diff)
downloadmariadb-git-197afb413fcc9f06b5e5e6ef41ce980d108b354f.tar.gz
MDEV-6566 Different INSERT behaviour on bad bytes with and without character set conversion
Diffstat (limited to 'strings/ctype-eucjpms.c')
-rw-r--r--strings/ctype-eucjpms.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/strings/ctype-eucjpms.c b/strings/ctype-eucjpms.c
index 52873c2f87e..827feda927b 100644
--- a/strings/ctype-eucjpms.c
+++ b/strings/ctype-eucjpms.c
@@ -198,7 +198,7 @@ static const uchar sort_order_eucjpms[]=
#define IS_MB2_KATA(x,y) (iseucjpms_ss2(x) && iskata(y))
#define IS_MB2_CHAR(x,y) (IS_MB2_KATA(x,y) || IS_MB2_JIS(x,y))
#define IS_MB3_CHAR(x,y,z) (iseucjpms_ss3(x) && IS_MB2_JIS(y,z))
-#define WELL_FORMED_LEN
+#define DEFINE_ASIAN_ROUTINES
#include "ctype-mb.ic"
@@ -67511,7 +67511,9 @@ static MY_CHARSET_HANDLER my_charset_handler=
my_strtoll10_8bit,
my_strntoull10rnd_8bit,
my_scan_8bit,
- my_copy_abort_mb,
+ my_charlen_eucjpms,
+ my_well_formed_char_length_eucjpms,
+ my_copy_fix_mb,
};