Home
last modified time | relevance | path

Searched refs:spcont (Results 1 – 25 of 175) sorted by relevance

1234567

/dports/databases/mariadb103-server/mariadb-10.3.34/sql/
H A Dsql_lex.cc722 spcont= NULL; in start()
5399 if (spcont && (spv= spcont->find_variable(name, false))) in find_variable()
5401 *ctx= spcont; in find_variable()
5709 if (!spcont || !(t= spcont->find_variable(&ref, false))) in sp_variable_declarations_vartype_finalize()
6131 spcont= spcont->push_context(thd, sp_pcontext::HANDLER_SCOPE); in sp_handler_declaration_init()
6174 spcont= spcont->pop_context(); in sp_handler_declaration_finalize()
6182 spcont= spcont->push_context(thd, sp_pcontext::REGULAR_SCOPE); in sp_block_init()
6544 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_exit_block()
6617 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_continue_loop()
6805 if (unlikely(!spcont || !spcont->find_cursor(name, &offset, false))) in make_item_plsql_cursor_attr()
[all …]
H A Dsp_head.cc751 lex->spcont= m_pcont; in init()
753 if (!lex->spcont) in init()
1167 ip= thd->spcont->instr_ptr; in execute()
1523 thd->spcont->instr_ptr= ip; in execute()
1871 thd->spcont= nctx; in execute_trigger()
1885 thd->spcont= octx; in execute_trigger()
2079 thd->spcont= *func_ctx; in execute_function()
2166 thd->spcont= octx; in execute_function()
2234 thd->spcont= octx; in execute_procedure()
2394 thd->spcont= nctx; in execute_procedure()
[all …]
H A Dsp_head.h370 add_instr_jump(THD *thd, sp_pcontext *spcont);
373 add_instr_jump(THD *thd, sp_pcontext *spcont, uint dest);
376 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont,
379 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont) in add_instr_jump_forward_with_backpatch() argument
381 return add_instr_jump_forward_with_backpatch(thd, spcont, in add_instr_jump_forward_with_backpatch()
382 spcont->last_label()); in add_instr_jump_forward_with_backpatch()
389 add_instr_preturn(THD *thd, sp_pcontext *spcont);
403 bool set_local_variable(THD *thd, sp_pcontext *spcont,
407 bool set_local_variable_row_field(THD *thd, sp_pcontext *spcont,
500 bool add_open_cursor(THD *thd, sp_pcontext *spcont,
[all …]
H A Dsp_rcontext.cc688 thd->set_n_backup_active_arena(thd->spcont->callers_arena, &current_arena); in create_case_expr_holder()
692 thd->restore_active_arena(thd->spcont->callers_arena, &current_arena); in create_case_expr_holder()
783 thd->spcont->get_variable(vars->head()->offset)->cols())) in fetch()
866 if (thd->spcont->set_variable(thd, spvar->offset, &item)) in send_data_to_variable_list()
887 (item= thd->spcont->get_variable(spvar_list->head()->offset)) && in send_data()
890 thd->spcont->set_variable_row(thd, spvar_list->head()->offset, items) : in send_data()
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/
H A Dsql_lex.cc722 spcont= NULL; in start()
5399 if (spcont && (spv= spcont->find_variable(name, false))) in find_variable()
5401 *ctx= spcont; in find_variable()
5709 if (!spcont || !(t= spcont->find_variable(&ref, false))) in sp_variable_declarations_vartype_finalize()
6131 spcont= spcont->push_context(thd, sp_pcontext::HANDLER_SCOPE); in sp_handler_declaration_init()
6174 spcont= spcont->pop_context(); in sp_handler_declaration_finalize()
6182 spcont= spcont->push_context(thd, sp_pcontext::REGULAR_SCOPE); in sp_block_init()
6544 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_exit_block()
6617 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_continue_loop()
6805 if (unlikely(!spcont || !spcont->find_cursor(name, &offset, false))) in make_item_plsql_cursor_attr()
[all …]
H A Dsp_head.cc751 lex->spcont= m_pcont;
753 if (!lex->spcont)
1167 ip= thd->spcont->instr_ptr;
1523 thd->spcont->instr_ptr= ip;
1871 thd->spcont= nctx;
1885 thd->spcont= octx;
2079 thd->spcont= *func_ctx;
2166 thd->spcont= octx;
2234 thd->spcont= octx;
2394 thd->spcont= nctx;
[all …]
H A Dsp_head.h370 add_instr_jump(THD *thd, sp_pcontext *spcont);
373 add_instr_jump(THD *thd, sp_pcontext *spcont, uint dest);
376 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont,
379 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont) in add_instr_jump_forward_with_backpatch() argument
381 return add_instr_jump_forward_with_backpatch(thd, spcont, in add_instr_jump_forward_with_backpatch()
382 spcont->last_label()); in add_instr_jump_forward_with_backpatch()
389 add_instr_preturn(THD *thd, sp_pcontext *spcont);
403 bool set_local_variable(THD *thd, sp_pcontext *spcont,
407 bool set_local_variable_row_field(THD *thd, sp_pcontext *spcont,
500 bool add_open_cursor(THD *thd, sp_pcontext *spcont,
[all …]
H A Dsp_rcontext.cc688 thd->set_n_backup_active_arena(thd->spcont->callers_arena, &current_arena);
692 thd->restore_active_arena(thd->spcont->callers_arena, &current_arena);
783 thd->spcont->get_variable(vars->head()->offset)->cols()))
866 if (thd->spcont->set_variable(thd, spvar->offset, &item))
887 (item= thd->spcont->get_variable(spvar_list->head()->offset)) &&
890 thd->spcont->set_variable_row(thd, spvar_list->head()->offset, items) :
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/
H A Dsp_head.cc782 lex->spcont= m_pcont; in init()
784 if (!lex->spcont) in init()
1205 ip= thd->spcont->instr_ptr; in execute()
1565 thd->spcont->instr_ptr= ip; in execute()
1914 thd->spcont= nctx; in execute_trigger()
1928 thd->spcont= octx; in execute_trigger()
2122 thd->spcont= *func_ctx; in execute_function()
2210 thd->spcont= octx; in execute_function()
2278 thd->spcont= octx; in execute_procedure()
2438 thd->spcont= nctx; in execute_procedure()
[all …]
H A Dsql_lex.cc271 if (spcont && !spvar) in create_item_for_sp_var()
1269 spcont= NULL; in start()
6356 if (spcont && (spv= spcont->find_variable(name, false))) in find_variable()
6358 *ctx= spcont; in find_variable()
6666 if (!spcont || !(t= spcont->find_variable(&ref, false))) in sp_variable_declarations_vartype_finalize()
7108 spcont= spcont->push_context(thd, sp_pcontext::HANDLER_SCOPE); in sp_handler_declaration_init()
7151 spcont= spcont->pop_context(); in sp_handler_declaration_finalize()
7159 spcont= spcont->push_context(thd, sp_pcontext::REGULAR_SCOPE); in sp_block_init()
7562 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_exit_block()
7658 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_continue_loop()
[all …]
H A Dsp_head.h388 add_instr_jump(THD *thd, sp_pcontext *spcont);
391 add_instr_jump(THD *thd, sp_pcontext *spcont, uint dest);
394 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont,
397 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont) in add_instr_jump_forward_with_backpatch() argument
399 return add_instr_jump_forward_with_backpatch(thd, spcont, in add_instr_jump_forward_with_backpatch()
400 spcont->last_label()); in add_instr_jump_forward_with_backpatch()
407 add_instr_preturn(THD *thd, sp_pcontext *spcont);
421 bool set_local_variable(THD *thd, sp_pcontext *spcont,
425 bool set_local_variable_row_field(THD *thd, sp_pcontext *spcont,
522 bool add_open_cursor(THD *thd, sp_pcontext *spcont,
[all …]
H A Dsp_rcontext.cc704 thd->set_n_backup_active_arena(thd->spcont->callers_arena, &current_arena); in create_case_expr_holder()
708 thd->restore_active_arena(thd->spcont->callers_arena, &current_arena); in create_case_expr_holder()
799 thd->spcont->get_variable(vars->head()->offset)->cols())) in fetch()
882 if (thd->spcont->set_variable(thd, spvar->offset, &item)) in send_data_to_variable_list()
903 (item= thd->spcont->get_variable(spvar_list->head()->offset)) && in send_data()
906 thd->spcont->set_variable_row(thd, spvar_list->head()->offset, items) : in send_data()
/dports/databases/mariadb104-server/mariadb-10.4.24/sql/
H A Dsp_head.cc729 lex->spcont= m_pcont; in init()
731 if (!lex->spcont) in init()
1145 ip= thd->spcont->instr_ptr; in execute()
1487 thd->spcont->instr_ptr= ip; in execute()
1835 thd->spcont= nctx; in execute_trigger()
1849 thd->spcont= octx; in execute_trigger()
2043 thd->spcont= *func_ctx; in execute_function()
2131 thd->spcont= octx; in execute_function()
2199 thd->spcont= octx; in execute_procedure()
2359 thd->spcont= nctx; in execute_procedure()
[all …]
H A Dsql_lex.cc735 spcont= NULL; in start()
5709 if (spcont && (spv= spcont->find_variable(name, false))) in find_variable()
5711 *ctx= spcont; in find_variable()
6019 if (!spcont || !(t= spcont->find_variable(&ref, false))) in sp_variable_declarations_vartype_finalize()
6461 spcont= spcont->push_context(thd, sp_pcontext::HANDLER_SCOPE); in sp_handler_declaration_init()
6504 spcont= spcont->pop_context(); in sp_handler_declaration_finalize()
6512 spcont= spcont->push_context(thd, sp_pcontext::REGULAR_SCOPE); in sp_block_init()
6915 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_exit_block()
6988 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_continue_loop()
7176 if (unlikely(!spcont || !spcont->find_cursor(name, &offset, false))) in make_item_plsql_cursor_attr()
[all …]
H A Dsp_head.h375 add_instr_jump(THD *thd, sp_pcontext *spcont);
378 add_instr_jump(THD *thd, sp_pcontext *spcont, uint dest);
381 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont,
384 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont) in add_instr_jump_forward_with_backpatch() argument
386 return add_instr_jump_forward_with_backpatch(thd, spcont, in add_instr_jump_forward_with_backpatch()
387 spcont->last_label()); in add_instr_jump_forward_with_backpatch()
394 add_instr_preturn(THD *thd, sp_pcontext *spcont);
408 bool set_local_variable(THD *thd, sp_pcontext *spcont,
412 bool set_local_variable_row_field(THD *thd, sp_pcontext *spcont,
509 bool add_open_cursor(THD *thd, sp_pcontext *spcont,
[all …]
H A Dsp_rcontext.cc703 thd->set_n_backup_active_arena(thd->spcont->callers_arena, &current_arena); in create_case_expr_holder()
707 thd->restore_active_arena(thd->spcont->callers_arena, &current_arena); in create_case_expr_holder()
798 thd->spcont->get_variable(vars->head()->offset)->cols())) in fetch()
881 if (thd->spcont->set_variable(thd, spvar->offset, &item)) in send_data_to_variable_list()
902 (item= thd->spcont->get_variable(spvar_list->head()->offset)) && in send_data()
905 thd->spcont->set_variable_row(thd, spvar_list->head()->offset, items) : in send_data()
/dports/databases/mariadb104-client/mariadb-10.4.24/sql/
H A Dsp_head.cc729 lex->spcont= m_pcont; in init()
731 if (!lex->spcont) in init()
1145 ip= thd->spcont->instr_ptr; in execute()
1487 thd->spcont->instr_ptr= ip; in execute()
1835 thd->spcont= nctx; in execute_trigger()
1849 thd->spcont= octx; in execute_trigger()
2043 thd->spcont= *func_ctx; in execute_function()
2131 thd->spcont= octx; in execute_function()
2199 thd->spcont= octx; in execute_procedure()
2359 thd->spcont= nctx; in execute_procedure()
[all …]
H A Dsql_lex.cc735 spcont= NULL; in start()
5709 if (spcont && (spv= spcont->find_variable(name, false))) in find_variable()
5711 *ctx= spcont; in find_variable()
6019 if (!spcont || !(t= spcont->find_variable(&ref, false))) in sp_variable_declarations_vartype_finalize()
6461 spcont= spcont->push_context(thd, sp_pcontext::HANDLER_SCOPE); in sp_handler_declaration_init()
6504 spcont= spcont->pop_context(); in sp_handler_declaration_finalize()
6512 spcont= spcont->push_context(thd, sp_pcontext::REGULAR_SCOPE); in sp_block_init()
6915 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_exit_block()
6988 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_continue_loop()
7176 if (unlikely(!spcont || !spcont->find_cursor(name, &offset, false))) in make_item_plsql_cursor_attr()
[all …]
H A Dsp_head.h375 add_instr_jump(THD *thd, sp_pcontext *spcont);
378 add_instr_jump(THD *thd, sp_pcontext *spcont, uint dest);
381 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont,
384 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont) in add_instr_jump_forward_with_backpatch() argument
386 return add_instr_jump_forward_with_backpatch(thd, spcont, in add_instr_jump_forward_with_backpatch()
387 spcont->last_label()); in add_instr_jump_forward_with_backpatch()
394 add_instr_preturn(THD *thd, sp_pcontext *spcont);
408 bool set_local_variable(THD *thd, sp_pcontext *spcont,
412 bool set_local_variable_row_field(THD *thd, sp_pcontext *spcont,
509 bool add_open_cursor(THD *thd, sp_pcontext *spcont,
[all …]
H A Dsp_rcontext.cc703 thd->set_n_backup_active_arena(thd->spcont->callers_arena, &current_arena); in create_case_expr_holder()
707 thd->restore_active_arena(thd->spcont->callers_arena, &current_arena); in create_case_expr_holder()
798 thd->spcont->get_variable(vars->head()->offset)->cols())) in fetch()
881 if (thd->spcont->set_variable(thd, spvar->offset, &item)) in send_data_to_variable_list()
902 (item= thd->spcont->get_variable(spvar_list->head()->offset)) && in send_data()
905 thd->spcont->set_variable_row(thd, spvar_list->head()->offset, items) : in send_data()
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/
H A Dsp_head.cc782 lex->spcont= m_pcont; in init()
784 if (!lex->spcont) in init()
1205 ip= thd->spcont->instr_ptr; in execute()
1565 thd->spcont->instr_ptr= ip; in execute()
1914 thd->spcont= nctx; in execute_trigger()
1928 thd->spcont= octx; in execute_trigger()
2122 thd->spcont= *func_ctx; in execute_function()
2210 thd->spcont= octx; in execute_function()
2278 thd->spcont= octx; in execute_procedure()
2438 thd->spcont= nctx; in execute_procedure()
[all …]
H A Dsql_lex.cc271 if (spcont && !spvar) in create_item_for_sp_var()
1269 spcont= NULL; in start()
6356 if (spcont && (spv= spcont->find_variable(name, false))) in find_variable()
6358 *ctx= spcont; in find_variable()
6666 if (!spcont || !(t= spcont->find_variable(&ref, false))) in sp_variable_declarations_vartype_finalize()
7108 spcont= spcont->push_context(thd, sp_pcontext::HANDLER_SCOPE); in sp_handler_declaration_init()
7151 spcont= spcont->pop_context(); in sp_handler_declaration_finalize()
7159 spcont= spcont->push_context(thd, sp_pcontext::REGULAR_SCOPE); in sp_block_init()
7562 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_exit_block()
7658 DBUG_ASSERT(spcont == thd->lex->spcont); in sp_continue_loop()
[all …]
H A Dsp_head.h388 add_instr_jump(THD *thd, sp_pcontext *spcont);
391 add_instr_jump(THD *thd, sp_pcontext *spcont, uint dest);
394 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont,
397 add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont) in add_instr_jump_forward_with_backpatch() argument
399 return add_instr_jump_forward_with_backpatch(thd, spcont, in add_instr_jump_forward_with_backpatch()
400 spcont->last_label()); in add_instr_jump_forward_with_backpatch()
407 add_instr_preturn(THD *thd, sp_pcontext *spcont);
421 bool set_local_variable(THD *thd, sp_pcontext *spcont,
425 bool set_local_variable_row_field(THD *thd, sp_pcontext *spcont,
522 bool add_open_cursor(THD *thd, sp_pcontext *spcont,
[all …]
H A Dsp_rcontext.cc704 thd->set_n_backup_active_arena(thd->spcont->callers_arena, &current_arena); in create_case_expr_holder()
708 thd->restore_active_arena(thd->spcont->callers_arena, &current_arena); in create_case_expr_holder()
799 thd->spcont->get_variable(vars->head()->offset)->cols())) in fetch()
882 if (thd->spcont->set_variable(thd, spvar->offset, &item)) in send_data_to_variable_list()
903 (item= thd->spcont->get_variable(spvar_list->head()->offset)) && in send_data()
906 thd->spcont->set_variable_row(thd, spvar_list->head()->offset, items) : in send_data()
/dports/databases/mysql55-client/mysql-5.5.62/sql/
H A Dsp_head.cc600 if (!lex->spcont) in init()
1737 thd->spcont= nctx; in execute_trigger()
1751 thd->spcont= octx; in execute_trigger()
1911 thd->spcont= nctx; in execute_function()
2003 thd->spcont= octx; in execute_function()
2070 thd->spcont= octx; in execute_procedure()
2080 thd->spcont= save_spcont; in execute_procedure()
2190 thd->spcont= nctx; in execute_procedure()
2265 thd->spcont= save_spcont; in execute_procedure()
2312 sublex->spcont= oldlex->spcont; in reset_lex()
[all …]

1234567