mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Initail merge with MySQL 5.1 (XtraDB still needs to be merged)
Fixed up copyright messages.
This commit is contained in:
commit
a8d03ab235
837 changed files with 11276 additions and 4578 deletions
|
|
@ -1041,6 +1041,14 @@ Item_in_subselect::single_value_transformer(JOIN *join,
|
|||
it.replace(item);
|
||||
}
|
||||
|
||||
DBUG_EXECUTE("where",
|
||||
print_where(item, "rewrite with MIN/MAX", QT_ORDINARY););
|
||||
if (thd->variables.sql_mode & MODE_ONLY_FULL_GROUP_BY)
|
||||
{
|
||||
DBUG_ASSERT(select_lex->non_agg_field_used());
|
||||
select_lex->set_non_agg_field_used(false);
|
||||
}
|
||||
|
||||
save_allow_sum_func= thd->lex->allow_sum_func;
|
||||
thd->lex->allow_sum_func|= 1 << thd->lex->current_select->nest_level;
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue