diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2012-02-22 11:17:50 +0100 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2012-02-22 11:17:50 +0100 |
commit | f3eb021d5e0c09215b28bf82c10b2e3085ad7a38 (patch) | |
tree | c1fb49aaccafd68acbc5bfb869e760e18b68ac7f /mysql-test/r/cast.result | |
parent | b79d492ee5ed6f557df7e3e535126ca80cc28ca2 (diff) | |
download | mariadb-git-f3eb021d5e0c09215b28bf82c10b2e3085ad7a38.tar.gz |
Bug#13519724 63793: CRASH IN DTCOLLATION::SET(DTCOLLATION &SET)
Backport of fix for:
Bug#53236 Segfault in DTCollation::set(DTCollation&)
Diffstat (limited to 'mysql-test/r/cast.result')
-rw-r--r-- | mysql-test/r/cast.result | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/cast.result b/mysql-test/r/cast.result index 44d57055e7f..d7a7503707b 100644 --- a/mysql-test/r/cast.result +++ b/mysql-test/r/cast.result @@ -468,4 +468,13 @@ NULL Warnings: Warning 1301 Result of cast_as_char() was larger than max_allowed_packet (2048) - truncated SET @@GLOBAL.max_allowed_packet=default; +# +# Bug#13519724 63793: CRASH IN DTCOLLATION::SET(DTCOLLATION &SET) +# +CREATE TABLE t1 (a VARCHAR(50)); +SELECT a FROM t1 +WHERE CAST(a as BINARY)=x'62736D697468' +AND CAST(a AS BINARY)=x'65736D697468'; +a +DROP TABLE t1; End of 5.1 tests |