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

Method restore_set_statement_var

sql/sql_lex.cc:6313–6326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6311}
6312
6313bool LEX::restore_set_statement_var()
6314{
6315 bool err= false;
6316 DBUG_ENTER("LEX::restore_set_statement_var");
6317 if (!old_var_list.is_empty())
6318 {
6319 DBUG_PRINT("info", ("vars: %d", old_var_list.elements));
6320 err= sql_set_variables(thd, &old_var_list, false);
6321 old_var_list.empty();
6322 free_arena_for_set_stmt();
6323 }
6324 DBUG_ASSERT(!is_arena_for_set_stmt());
6325 DBUG_RETURN(err);
6326}
6327
6328unit_common_op st_select_lex_unit::common_op()
6329{

Callers 12

mysql_open_cursorFunction · 0.45
bootstrapFunction · 0.45
do_commandFunction · 0.45
sql_parse.ccFile · 0.45
mysql_sql_stmt_executeFunction · 0.45
execute_server_codeFunction · 0.45
cleanup_stmtMethod · 0.45
executeMethod · 0.45

Calls 3

sql_set_variablesFunction · 0.85
is_emptyMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected