| 5969 | */ |
| 5970 | |
| 5971 | void SELECT_LEX::mark_const_derived(bool empty) |
| 5972 | { |
| 5973 | TABLE_LIST *derived= master_unit()->derived; |
| 5974 | /* join == NULL in DELETE ... RETURNING */ |
| 5975 | if (!(join && join->thd->lex->describe) && derived) |
| 5976 | { |
| 5977 | if (!empty) |
| 5978 | increase_derived_records(1); |
| 5979 | if (!master_unit()->is_unit_op() && !derived->is_merged_derived() && |
| 5980 | !(join && join->with_two_phase_optimization)) |
| 5981 | derived->fill_me= TRUE; |
| 5982 | } |
| 5983 | } |
| 5984 | |
| 5985 | |
| 5986 | bool st_select_lex::save_leaf_tables(THD *thd) |
no test coverage detected