Commit 8b9246b2 authored by unknown's avatar unknown

Test case added for bug #9527 (negative zero is a nonsence)


mysql-test/r/type_newdecimal.result:
  test result fixed
mysql-test/t/type_newdecimal.test:
  test case added
parent 48b1fc4f
...@@ -860,3 +860,6 @@ Error 1292 Truncated incorrect DECIMAL value: '' ...@@ -860,3 +860,6 @@ Error 1292 Truncated incorrect DECIMAL value: ''
select 0.190287977636363637 + 0.040372670 * 0 - 0; select 0.190287977636363637 + 0.040372670 * 0 - 0;
0.190287977636363637 + 0.040372670 * 0 - 0 0.190287977636363637 + 0.040372670 * 0 - 0
0.190287977636363637 0.190287977636363637
select -0.123 * 0;
-0.123 * 0
0.000
...@@ -888,3 +888,7 @@ select 9999999999999999999999999999999999999999999999999999999999999999999999999 ...@@ -888,3 +888,7 @@ select 9999999999999999999999999999999999999999999999999999999999999999999999999
# Bug #10004 # Bug #10004
# #
select 0.190287977636363637 + 0.040372670 * 0 - 0; select 0.190287977636363637 + 0.040372670 * 0 - 0;
#
# Bug #9527
#
select -0.123 * 0;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment