1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

A fix (bug #10404: select 0/0 returns 0).

strings/decimal.c:
  A fix (bug #10404: select 0/0 returns 0).
  We should check the second argument (0?) first.
This commit is contained in:
unknown
2005-05-06 13:31:48 +05:00
parent e5670bf248
commit 56426fca88
3 changed files with 24 additions and 13 deletions

View File

@ -842,3 +842,7 @@ drop table Sow6_2f;
select 10.3330000000000/12.34500000;
10.3330000000000/12.34500000
0.83701903604698258
set sql_mode='';
select 0/0;
0/0
NULL

View File

@ -869,3 +869,10 @@ drop table Sow6_2f;
# bug#9501
#
select 10.3330000000000/12.34500000;
#
# Bug #10404
#
set sql_mode='';
select 0/0;