mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Post-merge fixes part #1.
This commit is contained in:
parent
77b3b960b1
commit
f0038da8f6
2 changed files with 3 additions and 1 deletions
|
@ -666,7 +666,6 @@ INSERT INTO t2 VALUES ('f'),('d');
|
|||
SET @old_optimizer_switch = @@session.optimizer_switch;
|
||||
SET SESSION optimizer_switch = 'materialization=on,in_to_exists=off,';
|
||||
|
||||
select sin(0);
|
||||
EXPLAIN
|
||||
SELECT * FROM t1
|
||||
WHERE f3 = (
|
||||
|
|
|
@ -9114,7 +9114,10 @@ void JOIN_TAB::cleanup()
|
|||
if (table->pos_in_table_list &&
|
||||
table->pos_in_table_list->jtbm_subselect)
|
||||
{
|
||||
end_read_record(&read_record);
|
||||
//psergey-merge:
|
||||
table->pos_in_table_list->jtbm_subselect->cleanup();
|
||||
return;
|
||||
}
|
||||
/*
|
||||
We need to reset this for next select
|
||||
|
|
Loading…
Reference in a new issue