summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-01-18 13:12:40 -0800
committerunknown <jimw@mysql.com>2005-01-18 13:12:40 -0800
commit9ceccfaf55e2f944980fcc326724b8e16f54510a (patch)
tree228172f6b566d17ddfd328bccbeef21dc0794922 /mysql-test
parent8a33347689730097cbae531bd0924db8f507897d (diff)
downloadmariadb-git-9ceccfaf55e2f944980fcc326724b8e16f54510a.tar.gz
Update type_float test results after merge.
mysql-test/r/type_float.result: Update test results (4.1 produces a warning that 4.0 did not, and they were merged into the wrong position).
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/type_float.result16
1 files changed, 9 insertions, 7 deletions
diff --git a/mysql-test/r/type_float.result b/mysql-test/r/type_float.result
index 6e8275d5dac..1f5a34917d7 100644
--- a/mysql-test/r/type_float.result
+++ b/mysql-test/r/type_float.result
@@ -143,6 +143,15 @@ drop table t1;
create table t1 (f float(54));
ERROR 42000: Incorrect column specifier for column 'f'
drop table if exists t1;
+create table t1 (d1 double, d2 double unsigned);
+insert into t1 set d1 = -1.0;
+update t1 set d2 = d1;
+Warnings:
+Warning 1264 Data truncated; out of range for column 'd2' at row 1
+select * from t1;
+d1 d2
+-1 0
+drop table t1;
create table t1 (f float(4,3));
insert into t1 values (-11.0),(-11),("-11"),(11.0),(11),("11");
Warnings:
@@ -179,13 +188,6 @@ f
9.999
9.999
drop table if exists t1;
-create table t1 (d1 double, d2 double unsigned);
-insert into t1 set d1 = -1.0;
-update t1 set d2 = d1;
-select * from t1;
-d1 d2
--1 0
-drop table t1;
create table t1 (c char(20));
insert into t1 values (5e-28);
select * from t1;