mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/psergey/mysql-4.1-bug10095 mysql-test/t/range.test: Auto merged
This commit is contained in:
commit
1fb790d3f0
1 changed files with 2 additions and 0 deletions
|
@ -450,6 +450,7 @@ explain select * from t1 where a='aaa' collate latin1_german1_ci;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
# Test for BUG#9348 "result for WHERE A AND (B OR C) differs from WHERE a AND (C OR B)"
|
# 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 (
|
CREATE TABLE t1 (
|
||||||
`CLIENT` char(3) character set latin1 collate latin1_bin NOT NULL default '000',
|
`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 '',
|
`ARG1` char(3) character set latin1 collate latin1_bin NOT NULL default '',
|
||||||
|
@ -458,6 +459,7 @@ CREATE TABLE t1 (
|
||||||
`FUNCTINT` int(11) NOT NULL default '0',
|
`FUNCTINT` int(11) NOT NULL default '0',
|
||||||
KEY `VERI_CLNT~2` (`ARG1`)
|
KEY `VERI_CLNT~2` (`ARG1`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
--enable_warnings
|
||||||
|
|
||||||
INSERT INTO t1 VALUES ('000',' 0',' 0','Text 001',0), ('000',' 0',' 1','Text 002',0),
|
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),
|
('000',' 1',' 2','Text 003',0), ('000',' 2',' 3','Text 004',0),
|
||||||
|
|
Loading…
Reference in a new issue