| 2335 | |
| 2336 | |
| 2337 | bool st_select_lex_unit::exec() |
| 2338 | { |
| 2339 | DBUG_ENTER("st_select_lex_unit::exec"); |
| 2340 | if (executed && !uncacheable && !describe) |
| 2341 | DBUG_RETURN(FALSE); |
| 2342 | |
| 2343 | if (pushdown_unit) |
| 2344 | { |
| 2345 | create_explain_query_if_not_exists(thd->lex, thd->mem_root); |
| 2346 | if (!executed) |
| 2347 | save_union_explain(thd->lex->explain); |
| 2348 | DBUG_RETURN(pushdown_unit->execute()); |
| 2349 | } |
| 2350 | DBUG_RETURN(exec_inner()); |
| 2351 | } |
| 2352 | |
| 2353 | |
| 2354 | bool st_select_lex_unit::exec_inner() |
no test coverage detected