summaryrefslogtreecommitdiff
path: root/mysql-test/r/cast.result
diff options
context:
space:
mode:
authorhf@deer.(none) <>2005-06-15 19:02:35 +0500
committerhf@deer.(none) <>2005-06-15 19:02:35 +0500
commit971eaa189dc79a4f676d0418b2b122516054289e (patch)
tree2268d066683e95ed6e8f926cec22816a1105f198 /mysql-test/r/cast.result
parent66591aea022251cf4901d86fcd3774ec121d5560 (diff)
downloadmariadb-git-971eaa189dc79a4f676d0418b2b122516054289e.tar.gz
Fix for bug #10337 (cast(NULL DECIMAL) crashes the server)
Diffstat (limited to 'mysql-test/r/cast.result')
-rw-r--r--mysql-test/r/cast.result3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/cast.result b/mysql-test/r/cast.result
index 6dc608a9289..66a1a26ee95 100644
--- a/mysql-test/r/cast.result
+++ b/mysql-test/r/cast.result
@@ -344,3 +344,6 @@ select cast(s1 as decimal(7,2)) from t1;
cast(s1 as decimal(7,2))
111111.00
drop table t1;
+select cast(NULL as decimal(6)) as t1;
+t1
+NULL