Merge with 5.3 main

This commit is contained in:
Michael Widenius 2011-05-16 15:07:04 +03:00
commit 8543621fa0
80 changed files with 9889 additions and 1861 deletions

View file

@ -307,6 +307,10 @@ int mysql_update(THD *thd,
DBUG_RETURN(1); /* purecov: inspected */
}
/* Apply the IN=>EXISTS transformation to all subqueries and optimize them. */
if (select_lex->optimize_unflattened_subqueries())
DBUG_RETURN(TRUE);
if (select_lex->inner_refs_list.elements &&
fix_inner_refs(thd, all_fields, select_lex, select_lex->ref_pointer_array))
DBUG_RETURN(1);