summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2005-05-10 00:40:41 +0200
committerunknown <sergefp@mysql.com>2005-05-10 00:40:41 +0200
commit4a1b6c010212c2b29ecd509b030d457bfdd17603 (patch)
treef1b336b98f9d97b16700c32bf68b7db17ed3a158 /mysql-test
parent0de8a53ff223bee81fa8bd17adecf2be8767fa26 (diff)
downloadmariadb-git-4a1b6c010212c2b29ecd509b030d457bfdd17603.tar.gz
Fix for BUG#10070: Make the test not to produce warnings if InnoDB is not available
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/t/range.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/range.test b/mysql-test/t/range.test
index 3d3d4748fe3..b51a79fba77 100644
--- a/mysql-test/t/range.test
+++ b/mysql-test/t/range.test
@@ -448,6 +448,7 @@ explain select * from t1 where a='aaa' collate latin1_german1_ci;
drop table t1;
# Test for BUG#9348 "result for WHERE A AND (B OR C) differs from WHERE a AND (C OR B)"
+--disable_warnings
CREATE TABLE t1 (
`CLIENT` char(3) character set latin1 collate latin1_bin NOT NULL default '000',
`ARG1` char(3) character set latin1 collate latin1_bin NOT NULL default '',
@@ -456,6 +457,7 @@ CREATE TABLE t1 (
`FUNCTINT` int(11) NOT NULL default '0',
KEY `VERI_CLNT~2` (`ARG1`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+--enable_warnings
INSERT INTO t1 VALUES ('000',' 0',' 0','Text 001',0), ('000',' 0',' 1','Text 002',0),
('000',' 1',' 2','Text 003',0), ('000',' 2',' 3','Text 004',0),