diff options
author | Alexey Botchkov <holyfoot@mysql.com> | 2008-11-17 19:43:10 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@mysql.com> | 2008-11-17 19:43:10 +0400 |
commit | ed77f02a921d037cd92b968991731c2b8fed38a8 (patch) | |
tree | 39800cd023b58f4d19bf2ae99e61d741d303872e /mysql-test/r/type_newdecimal.result | |
parent | 9be8ab541ce8e0e15815636fd52bdb96ea538fa0 (diff) | |
parent | 88a88636271aee2b89000a99c18d551813f0dcc5 (diff) | |
download | mariadb-git-ed77f02a921d037cd92b968991731c2b8fed38a8.tar.gz |
merging
Diffstat (limited to 'mysql-test/r/type_newdecimal.result')
-rw-r--r-- | mysql-test/r/type_newdecimal.result | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/r/type_newdecimal.result b/mysql-test/r/type_newdecimal.result index 37b77dc4dc8..0487cd56da4 100644 --- a/mysql-test/r/type_newdecimal.result +++ b/mysql-test/r/type_newdecimal.result @@ -1534,6 +1534,21 @@ select (1.20396873 * 0.89550000 * 0.68000000 * 1.08721696 * 0.99500000 * (1.20396873 * 0.89550000 * 0.68000000 * 1.08721696 * 0.99500000 * 1.01500000 * 1.01500000 * 0.99500000) 0.812988073953673124592306939480 +create table t1 as select 5.05 / 0.014; +Warnings: +Note 1265 Data truncated for column '5.05 / 0.014' at row 1 +show warnings; +Level Code Message +Note 1265 Data truncated for column '5.05 / 0.014' at row 1 +show create table t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `5.05 / 0.014` decimal(10,6) default NULL +) ENGINE=MyISAM DEFAULT CHARSET=latin1 +select * from t1; +5.05 / 0.014 +360.714286 +DROP TABLE t1; End of 5.0 tests select cast(143.481 as decimal(4,1)); cast(143.481 as decimal(4,1)) |