mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -2958,8 +2958,12 @@ int JOIN::optimize_stage2()
|
||||
having_is_correlated= MY_TEST(having->used_tables() & OUTER_REF_TABLE_BIT);
|
||||
tmp_having= having;
|
||||
|
||||
if ((select_lex->options & OPTION_SCHEMA_TABLE))
|
||||
optimize_schema_tables_reads(this);
|
||||
if ((select_lex->options & OPTION_SCHEMA_TABLE) &&
|
||||
optimize_schema_tables_reads(this))
|
||||
DBUG_RETURN(TRUE);
|
||||
|
||||
if (unlikely(thd->is_error()))
|
||||
DBUG_RETURN(TRUE);
|
||||
|
||||
/*
|
||||
The loose index scan access method guarantees that all grouping or
|
||||
|
Reference in New Issue
Block a user