mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix for bug #10004 (Decimal operation crashes server)
mysql-test/r/type_newdecimal.result: test result fixed mysql-test/t/type_newdecimal.test: test case added strings/decimal.c: old code didn't work when both decimals had zero before the decimal point
This commit is contained in:
@ -876,3 +876,8 @@ select 10.3330000000000/12.34500000;
|
||||
|
||||
set sql_mode='';
|
||||
select 0/0;
|
||||
|
||||
#
|
||||
# Bug #10004
|
||||
#
|
||||
select 0.190287977636363637 + 0.040372670 * 0 - 0;
|
||||
|
Reference in New Issue
Block a user