diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-04-06 09:13:49 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2016-04-06 09:13:49 +0400 |
commit | d516a2ae0cbd09d3b5b1667ec62b421330ab9902 (patch) | |
tree | 8180665f03dcf47a233a56346f2724cfa141a93f /strings/ctype-eucjpms.c | |
parent | bddd63cfbaa5dba96e934166a2a234e13e20db4b (diff) | |
download | mariadb-git-d516a2ae0cbd09d3b5b1667ec62b421330ab9902.tar.gz |
MDEV-9823 LOAD DATA INFILE silently truncates incomplete byte sequences
Diffstat (limited to 'strings/ctype-eucjpms.c')
-rw-r--r-- | strings/ctype-eucjpms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/strings/ctype-eucjpms.c b/strings/ctype-eucjpms.c index 52494b7dfb3..469d3a5be6c 100644 --- a/strings/ctype-eucjpms.c +++ b/strings/ctype-eucjpms.c @@ -199,6 +199,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 IS_MB_PREFIX2(x,y) (iseucjpms_ss3(x) && iseucjpms(y)) #define DEFINE_ASIAN_ROUTINES #include "ctype-mb.ic" |