diff options
| author | Alexander Barkov <bar@mariadb.com> | 2018-07-24 18:44:49 +0400 |
|---|---|---|
| committer | Alexander Barkov <bar@mariadb.com> | 2018-07-24 18:44:49 +0400 |
| commit | 294a426088bd7167f42388e7e76ff8d42df7d6be (patch) | |
| tree | b6608f7651c83c858cfed3686f8053773511fa99 /mysql-test/main/func_json.test | |
| parent | f74d2a9faa4b4233433dfcb0d2d14a6b269c48ba (diff) | |
| parent | a8227a154306a818685ab291f1715c3971d03099 (diff) | |
| download | mariadb-git-294a426088bd7167f42388e7e76ff8d42df7d6be.tar.gz | |
Merge remote-tracking branch 'origin/10.2' into 10.3
Diffstat (limited to 'mysql-test/main/func_json.test')
| -rw-r--r-- | mysql-test/main/func_json.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/main/func_json.test b/mysql-test/main/func_json.test index 4f05d4f23c4..eddf64a0052 100644 --- a/mysql-test/main/func_json.test +++ b/mysql-test/main/func_json.test @@ -413,6 +413,16 @@ SELECT * FROM t1 WHERE c IN (JSON_EXTRACT('{"a":"b"}', '$.*')); DROP TABLE t1; --echo # +--echo # MDEV-16814 CREATE TABLE SELECT JSON_QUOTE(multibyte_charset_expr) makes a field of a wrong length +--echo # + +CREATE TABLE t1 AS SELECT + JSON_QUOTE(_latin1'foo') AS c1, + JSON_QUOTE(_utf8'foo') AS c2; +SHOW CREATE TABLE t1; +DROP TABLE t1; + +--echo # --echo # End of 10.2 tests --echo # |
