summaryrefslogtreecommitdiff
path: root/mysql-test/t/merge.test
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2005-09-27 15:26:16 +0200
committerunknown <ingo@mysql.com>2005-09-27 15:26:16 +0200
commit629697e59406aa32e7e43371e767269ff98e6161 (patch)
tree69e3795d1fb9ae3550331908a0a71e12311f300f /mysql-test/t/merge.test
parent674c8165ea4b3430f397d84b0c79642de7b12ce4 (diff)
downloadmariadb-git-629697e59406aa32e7e43371e767269ff98e6161.tar.gz
Bug#9112 - Merge table with composite index producing invalid results with some queries
Reduced the precision of the test numbers. Not all platforms could reproduce the exact numbers. mysql-test/r/merge.result: Bug#9112 - Merge table with composite index producing invalid results with some queries The new test result
Diffstat (limited to 'mysql-test/t/merge.test')
-rw-r--r--mysql-test/t/merge.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/t/merge.test b/mysql-test/t/merge.test
index 4c1d10b47e3..429013af56f 100644
--- a/mysql-test/t/merge.test
+++ b/mysql-test/t/merge.test
@@ -273,25 +273,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, '');
-insert into t2 values ( 9999999999.999999, '');
+insert into t2 values ( 9999999999.9999, '');
insert into t3 select * from t2;
select min(a), max(a) from t1;
flush tables;