1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-13 01:01:44 +03:00
unknown c0ebdff9c7 Fixed bug #28980: the result of ROUND(<decimal expr>,<int column>)
was erroneously converted to double, while the result of
ROUND(<decimal expr>, <int literal>) was preserved as decimal.
As a result of such a conversion the value of ROUND(D,A) could
differ from the value of ROUND(D,val(A)) if D was a decimal expression.

Now the result of the ROUND function is never converted to 
double if the first argument is decimal.  


mysql-test/r/type_decimal.result:
  Added a test case for bug #28980.
mysql-test/t/type_decimal.test:
  Added a test case for bug #28980.
2007-06-13 09:32:36 -07:00
..
2007-03-29 11:20:08 +02:00
2007-03-29 11:20:08 +02:00
2007-05-17 19:38:34 +03:00
2007-05-30 10:56:18 +03:00
2006-10-13 08:48:47 +02:00
2007-02-23 18:49:41 +02:00
2006-11-29 13:56:59 -05:00
2007-01-03 03:35:57 +04:00
2007-04-11 13:58:16 +03:00
2007-05-12 00:46:07 +04:00
2007-02-23 21:13:21 +03:00
2006-10-05 00:00:34 +02:00
2006-11-15 10:23:27 +01:00
2007-03-29 11:20:08 +02:00
2007-04-18 19:36:22 -06:00
2006-11-15 10:23:27 +01:00
2007-02-07 14:22:19 -08:00
2007-05-31 12:10:21 +05:00
2007-03-31 17:18:03 +02:00
2007-03-21 09:13:05 +01:00
2007-03-29 11:20:08 +02:00
2007-02-21 19:38:40 +02:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2007-02-08 15:53:14 +01:00
2006-11-15 10:23:27 +01:00
2007-05-31 17:30:56 +05:00
2007-04-10 19:08:08 +03:00
2007-05-18 17:48:44 +02:00
2007-06-06 18:55:21 +05:00
2007-02-01 18:00:24 +04:00
2007-04-17 12:32:01 +02:00
2007-01-18 15:28:45 +04:00
2006-12-04 14:29:51 +02:00
2007-03-29 09:08:30 +05:00
2007-06-03 15:56:48 +04:00
2007-04-23 17:15:51 +03:00