diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-04-20 11:02:34 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2016-04-20 11:02:34 +0400 |
commit | 2564650fb91faec3e409d6ffe369c82252042710 (patch) | |
tree | e51608623d5c2879c40ec6702e1cc0b26776aea8 /mysql-test/r/ctype_latin1.result | |
parent | 9a987142f93756b37b2ff02d513034cc4079c978 (diff) | |
download | mariadb-git-2564650fb91faec3e409d6ffe369c82252042710.tar.gz |
MDEV-9662 Assertion `precision || !scale' failed in my_decimal_precision_to_length_no_truncation(uint, uint8, bool)
The patch for MDEV-9745 earlier fixed the problem reported in MDEV-9662 as well.
Only adding tests.
Diffstat (limited to 'mysql-test/r/ctype_latin1.result')
-rw-r--r-- | mysql-test/r/ctype_latin1.result | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/ctype_latin1.result b/mysql-test/r/ctype_latin1.result index 11a9479afa3..dc96495b1ac 100644 --- a/mysql-test/r/ctype_latin1.result +++ b/mysql-test/r/ctype_latin1.result @@ -3423,6 +3423,15 @@ f1() DROP FUNCTION f1; DROP TABLE t1; # +# MDEV-9662 Assertion `precision || !scale' failed in my_decimal_precision_to_length_no_truncation(uint, uint8, bool) +# +SELECT @@collation_connection; +@@collation_connection +latin1_swedish_ci +SELECT CASE 1 WHEN 2 THEN ( - '3' ) END; +CASE 1 WHEN 2 THEN ( - '3' ) END +NULL +# # MDEV-5702 Incorrect results are returned with NULLIF() # CREATE TABLE t1 (d DATE); |