diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-03-31 14:22:25 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2016-03-31 14:22:25 +0400 |
commit | 3fc6a8b832fd152f1fbabff08273e0223c0ff0ab (patch) | |
tree | 0144fb4e5187b92a422adffe6de9249081398f7d /mysys | |
parent | 1d73005bf357a607423f858482c52ecb4712607d (diff) | |
download | mariadb-git-3fc6a8b832fd152f1fbabff08273e0223c0ff0ab.tar.gz |
MDEV-9811 LOAD DATA INFILE does not work well with gbk in some cases
MDEV-9824 LOAD DATA does not work with multi-byte strings in LINES TERMINATED BY when IGNORE is specified
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/charset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/charset.c b/mysys/charset.c index ad3eb78ae0e..3c134dc388e 100644 --- a/mysys/charset.c +++ b/mysys/charset.c @@ -545,6 +545,7 @@ static void init_available_charsets(void) { if (*cs) { + DBUG_ASSERT(cs[0]->mbmaxlen <= MY_CS_MBMAXLEN); if (cs[0]->ctype) if (init_state_maps(*cs)) *cs= NULL; |