mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
f5ecf70819
The bug is a result of the following change by Monty: Revision Id: monty@askmonty.org-20100716073301-gstby2062nqd42qv Timestamp: Fri 2010-07-16 10:33:01 +0300 Where Monty changed the queues interface and implementation. The fix adjusts the queue_remove call to the new interface. mysql-test/r/subselect_partial_match.result: Added new file for tests related to MWL#89. mysql-test/t/subselect_partial_match.test: Added new file for tests related to MWL#89.
12 lines
513 B
Text
12 lines
513 B
Text
drop table if exists t1, t2;
|
|
#launchpad BUG#608744
|
|
set @save_optimizer_switch=@@optimizer_switch;
|
|
set @@optimizer_switch="materialization=on,semijoin=off,partial_match_rowid_merge=on,partial_match_table_scan=off";
|
|
create table t1 (a1 char(1), a2 char(1));
|
|
insert into t1 values (NULL, 'b');
|
|
create table t2 (b1 char(1), b2 char(2));
|
|
insert into t2 values ('a','b'), ('c', 'd');
|
|
select * from t1 where (a1, a2) NOT IN (select b1, b2 from t2);
|
|
a1 a2
|
|
drop table t1,t2;
|
|
set @@optimizer_switch=@save_optimizer_switch;
|