mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
code cleanup
This commit is contained in:
@ -136,7 +136,7 @@ int st_select_lex_unit::prepare(THD *thd, select_result *sel_result,
|
|||||||
found_rows_for_union= first_select()->options & OPTION_FOUND_ROWS &&
|
found_rows_for_union= first_select()->options & OPTION_FOUND_ROWS &&
|
||||||
global_parameters->select_limit;
|
global_parameters->select_limit;
|
||||||
if (found_rows_for_union)
|
if (found_rows_for_union)
|
||||||
first_select()->options ^= OPTION_FOUND_ROWS;
|
first_select()->options&= ~OPTION_FOUND_ROWS;
|
||||||
}
|
}
|
||||||
if (t_and_f)
|
if (t_and_f)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user