diff --git a/mysql-test/r/type_newdecimal.result b/mysql-test/r/type_newdecimal.result index a922ed048261b7c8c91b60521a5158ca1a18c2d8..86c905b83a253794f37b37434a5f6646eb0732eb 100644 --- a/mysql-test/r/type_newdecimal.result +++ b/mysql-test/r/type_newdecimal.result @@ -860,3 +860,6 @@ Error 1292 Truncated incorrect DECIMAL value: '' select 0.190287977636363637 + 0.040372670 * 0 - 0; 0.190287977636363637 + 0.040372670 * 0 - 0 0.190287977636363637 +select -0.123 * 0; +-0.123 * 0 +0.000 diff --git a/mysql-test/t/type_newdecimal.test b/mysql-test/t/type_newdecimal.test index 7b33a46ae96fb085cfff07b80a1e645b6274c858..5ceb704eaf76e0e1d066f5ccb2b82730538870fd 100644 --- a/mysql-test/t/type_newdecimal.test +++ b/mysql-test/t/type_newdecimal.test @@ -888,3 +888,7 @@ select 9999999999999999999999999999999999999999999999999999999999999999999999999 # Bug #10004 # select 0.190287977636363637 + 0.040372670 * 0 - 0; +# +# Bug #9527 +# +select -0.123 * 0;