diff options
| author | Jon Olav Hauglid <jon.hauglid@oracle.com> | 2010-11-05 15:24:16 +0100 |
|---|---|---|
| committer | Jon Olav Hauglid <jon.hauglid@oracle.com> | 2010-11-05 15:24:16 +0100 |
| commit | 0de0d997f0ec877c17fe55bd59d6f2098c021a7f (patch) | |
| tree | 8c8c1c761437a638ec0de31bfbf1b3c5fe699e41 /mysql-test/t/errors.test | |
| parent | b138f1d77dcf85c693eec4332eb7556ecf151016 (diff) | |
| parent | da6683d3a390a4f2ce823270a81c1e497d597c30 (diff) | |
| download | mariadb-git-0de0d997f0ec877c17fe55bd59d6f2098c021a7f.tar.gz | |
Merge from mysql-5.5-bugteam to mysql-5.5-runtime
No conflicts
Diffstat (limited to 'mysql-test/t/errors.test')
| -rw-r--r-- | mysql-test/t/errors.test | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/t/errors.test b/mysql-test/t/errors.test index f308c340645..82822c87e89 100644 --- a/mysql-test/t/errors.test +++ b/mysql-test/t/errors.test @@ -155,3 +155,19 @@ INSERT INTO t1 VALUES ('abc\0\0'); --error ER_DUP_ENTRY INSERT INTO t1 VALUES ('abc\0\0'); DROP TABLE t1; + +--echo # +--echo # Bug#57882: Item_func_conv_charset::val_str(String*): +--echo # Assertion `fixed == 1' failed +--echo # + +--error ER_DATA_OUT_OF_RANGE +SELECT (CONVERT('0' USING latin1) IN (CHAR(COT('v') USING utf8),'')); + +SET NAMES utf8 COLLATE utf8_latvian_ci ; +--error ER_DATA_OUT_OF_RANGE +SELECT UPDATEXML(-73 * -2465717823867977728,@@global.auto_increment_increment,null); + +--echo # +--echo # End Bug#57882 +--echo # |
