summaryrefslogtreecommitdiff
path: root/mysql-test/t/merge.test
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2005-09-27 15:42:14 +0200
committerunknown <ingo@mysql.com>2005-09-27 15:42:14 +0200
commite4074a675320399164275e90535d9b03cd5ecedc (patch)
treefdb3aa733c1e2c5f7256f20dae1e6d7678bc03ff /mysql-test/t/merge.test
parentab7ec7ee8f4ac8c751c6f0d84d8314154146bf10 (diff)
parent629697e59406aa32e7e43371e767269ff98e6161 (diff)
downloadmariadb-git-e4074a675320399164275e90535d9b03cd5ecedc.tar.gz
Merge mysql.com:/home/mydev/mysql-4.0-4000
into mysql.com:/home/mydev/mysql-4.1-4100 mysql-test/r/merge.result: Bug#9112 - Merge table with composite index producing invalid results with some queries Manual merge mysql-test/t/merge.test: Bug#9112 - Merge table with composite index producing invalid results with some queries Manual merge
Diffstat (limited to 'mysql-test/t/merge.test')
-rw-r--r--mysql-test/t/merge.test12
1 files changed, 4 insertions, 8 deletions
diff --git a/mysql-test/t/merge.test b/mysql-test/t/merge.test
index 347a76c3991..a5677b4cd32 100644
--- a/mysql-test/t/merge.test
+++ b/mysql-test/t/merge.test
@@ -294,29 +294,25 @@ drop table t1, t2;
# non-debug build. But there is no guarantee that this will be always so.
#
create table t1 (
- a double(16,6),
+ a double(14,4),
b varchar(10),
index (a,b)
) engine=merge union=(t2,t3);
create table t2 (
- a double(16,6),
+ a double(14,4),
b varchar(10),
index (a,b)
) engine=myisam;
create table t3 (
- a double(16,6),
+ a double(14,4),
b varchar(10),
index (a,b)
) engine=myisam;
insert into t2 values ( null, '');
-# We may have insufficient accuracy for 16 digits of '9'.
-# Suppress a "truncate" warning due to accuracy problems.
---disable_warnings
-insert into t2 values ( 9999999999.999999, '');
---enable_warnings
+insert into t2 values ( 9999999999.9999, '');
insert into t3 select * from t2;
select min(a), max(a) from t1;
flush tables;