Go to the source code of this file.
Functions | |
UNIV_INLINE que_thr_t * | proc_step (que_thr_t *thr) |
UNIV_INTERN que_thr_t * | if_step (que_thr_t *thr) |
UNIV_INTERN que_thr_t * | while_step (que_thr_t *thr) |
UNIV_INTERN que_thr_t * | for_step (que_thr_t *thr) |
UNIV_INTERN que_thr_t * | assign_step (que_thr_t *thr) |
UNIV_INLINE que_thr_t * | proc_eval_step (que_thr_t *thr) |
UNIV_INTERN que_thr_t * | exit_step (que_thr_t *thr) |
UNIV_INTERN que_thr_t * | return_step (que_thr_t *thr) |
Executes SQL stored procedures and their control structures
Created 1/20/1998 Heikki Tuuri
Definition in file eval0proc.h.
UNIV_INTERN que_thr_t* assign_step | ( | que_thr_t * | thr | ) |
Performs an execution step of an assignment statement node.
Performs an execution step of an assignment statement node.
thr | in: query thread |
Definition at line 149 of file eval0proc.cc.
References sym_node_struct::alias, eval_exp(), eval_node_copy_val(), que_node_get_parent(), que_node_get_type(), que_thr_struct::run_node, ut_ad, assign_node_struct::val, and assign_node_struct::var.
Performs an execution step of an exit statement node.
Performs an execution step of an exit statement node.
thr | in: query thread |
Definition at line 238 of file eval0proc.cc.
References que_node_get_containing_loop_node(), que_node_get_parent(), que_node_get_type(), que_thr_struct::run_node, ut_a, and ut_ad.
Performs an execution step of a for-loop node.
Performs an execution step of a for-loop node.
thr | in: query thread |
Definition at line 176 of file eval0proc.cc.
References eval_exp(), eval_node_get_int_val(), eval_node_set_int_val(), for_node_struct::loop_end_limit, for_node_struct::loop_end_value, for_node_struct::loop_start_limit, for_node_struct::loop_var, que_thr_struct::prev_node, que_node_get_next(), que_node_get_parent(), que_node_get_type(), que_thr_struct::run_node, for_node_struct::stat_list, and ut_ad.
Performs an execution step of an if-statement node.
Performs an execution step of an if-statement node.
thr | in: query thread |
Definition at line 37 of file eval0proc.cc.
References elsif_node_struct::cond, if_node_struct::cond, if_node_struct::else_part, if_node_struct::elsif_list, eval_exp(), eval_node_get_ibool_val(), que_thr_struct::prev_node, que_node_get_next(), que_node_get_parent(), que_node_get_type(), que_thr_struct::run_node, elsif_node_struct::stat_list, if_node_struct::stat_list, and ut_ad.
UNIV_INLINE que_thr_t* proc_eval_step | ( | que_thr_t * | thr | ) |
Performs an execution step of a procedure call node.
Performs an execution step of a procedure node.
UNIV_INTERN que_thr_t* return_step | ( | que_thr_t * | thr | ) |
Performs an execution step of a return-statement node.
Performs an execution step of a return-statement node.
thr | in: query thread |
Definition at line 270 of file eval0proc.cc.
References que_node_get_parent(), que_node_get_type(), que_thr_struct::run_node, ut_a, and ut_ad.
UNIV_INTERN que_thr_t* while_step | ( | que_thr_t * | thr | ) |
Performs an execution step of a while-statement node.
Performs an execution step of a while-statement node.
thr | in: query thread |
Definition at line 113 of file eval0proc.cc.
References while_node_struct::cond, eval_exp(), eval_node_get_ibool_val(), que_thr_struct::prev_node, que_node_get_next(), que_node_get_parent(), que_node_get_type(), que_thr_struct::run_node, while_node_struct::stat_list, and ut_ad.