MCPcopy Create free account
hub / github.com/MariaDB/server / exec

Method exec

sql/sql_union.cc:2337–2351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2335
2336
2337bool 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
2354bool st_select_lex_unit::exec_inner()

Callers 3

mysql_unionFunction · 0.45
exec_innerMethod · 0.45
exec_recursiveMethod · 0.45

Calls 2

executeMethod · 0.45

Tested by

no test coverage detected