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

Method set_limit

sql/sql_lex.cc:4499–4504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4497*/
4498
4499void st_select_lex_unit::set_limit(st_select_lex *sl)
4500{
4501 DBUG_ASSERT(!thd->stmt_arena->is_stmt_prepare());
4502
4503 lim.set_limit(sl->get_limit(), sl->get_offset(), sl->limit_params.with_ties);
4504}
4505
4506/**
4507 Decide if a temporary table is needed for the UNION.

Callers 15

execMethod · 0.45
mysql_show_binlog_eventsFunction · 0.45
mysqld_show_warningsFunction · 0.45
mysql_derived_optimizeFunction · 0.45
mysql_derived_fillFunction · 0.45
executeMethod · 0.45
sql_parse.ccFile · 0.45
handle_selectFunction · 0.45
mysql_explain_unionFunction · 0.45
set_limit_for_unitFunction · 0.45

Calls 3

get_limitMethod · 0.80
is_stmt_prepareMethod · 0.45
get_offsetMethod · 0.45

Tested by

no test coverage detected