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/include | |
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/include')
-rw-r--r-- | mysql-test/include/ctype_numconv.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/include/ctype_numconv.inc b/mysql-test/include/ctype_numconv.inc index 25314d53fba..9b21e7f38c1 100644 --- a/mysql-test/include/ctype_numconv.inc +++ b/mysql-test/include/ctype_numconv.inc @@ -1795,6 +1795,12 @@ DROP FUNCTION f1; DROP TABLE t1; --echo # +--echo # MDEV-9662 Assertion `precision || !scale' failed in my_decimal_precision_to_length_no_truncation(uint, uint8, bool) +--echo # +SELECT @@collation_connection; +SELECT CASE 1 WHEN 2 THEN ( - '3' ) END; + +--echo # --echo # MDEV-5702 Incorrect results are returned with NULLIF() --echo # CREATE TABLE t1 (d DATE); |