diff options
author | Sergei Golubchik <serg@mariadb.org> | 2021-09-05 13:09:40 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-10-12 13:28:10 +0200 |
commit | 8150f52e4769cd3b894549656933987c1ef8af2d (patch) | |
tree | b5bc02460ab8966d65e351a058eecf367c4fac9c /mysql-test/main/func_sformat.test | |
parent | fe65ca0176e126f0b33bfcfdaab1154c0bfabe42 (diff) | |
download | mariadb-git-8150f52e4769cd3b894549656933987c1ef8af2d.tar.gz |
support charsets with mbminlen > 1
Diffstat (limited to 'mysql-test/main/func_sformat.test')
-rw-r--r-- | mysql-test/main/func_sformat.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/main/func_sformat.test b/mysql-test/main/func_sformat.test index bbbf0d0d576..9775810148b 100644 --- a/mysql-test/main/func_sformat.test +++ b/mysql-test/main/func_sformat.test @@ -188,3 +188,14 @@ echo #; echo # Unsupported/disabled features; echo #; select sformat('{:p}', '50'); + +echo #; +echo # ucs2 test; +echo #; +select sformat('={}=', _ucs2 x'006100620063'); +set names utf8; +select sformat(_ucs2 x'003D007B007D003D', _ucs2 x'0442043504410442'); +select hex(sformat(_ucs2 x'003D007B007D003D', _ucs2 x'0442043504410442')); +create table t1 as select sformat(_ucs2 x'003D007B007D003D', _ucs2 x'0442043504410442') as x; +show create table t1; +drop table t1; |