mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
bddb5a0cca
in *.h files, so that the function signatures in the *.h and *.c files fully match each other. ut_dulint_sort(): Add a UNIV_INTERN qualifier also to the function definition.
87 lines
2.5 KiB
C
87 lines
2.5 KiB
C
/******************************************************
|
|
Executes SQL stored procedures and their control structures
|
|
|
|
(c) 1998 Innobase Oy
|
|
|
|
Created 1/20/1998 Heikki Tuuri
|
|
*******************************************************/
|
|
|
|
#ifndef eval0proc_h
|
|
#define eval0proc_h
|
|
|
|
#include "univ.i"
|
|
#include "que0types.h"
|
|
#include "pars0sym.h"
|
|
#include "pars0pars.h"
|
|
|
|
/**************************************************************************
|
|
Performs an execution step of a procedure node. */
|
|
UNIV_INLINE
|
|
que_thr_t*
|
|
proc_step(
|
|
/*======*/
|
|
/* out: query thread to run next or NULL */
|
|
que_thr_t* thr); /* in: query thread */
|
|
/**************************************************************************
|
|
Performs an execution step of an if-statement node. */
|
|
UNIV_INTERN
|
|
que_thr_t*
|
|
if_step(
|
|
/*====*/
|
|
/* out: query thread to run next or NULL */
|
|
que_thr_t* thr); /* in: query thread */
|
|
/**************************************************************************
|
|
Performs an execution step of a while-statement node. */
|
|
UNIV_INTERN
|
|
que_thr_t*
|
|
while_step(
|
|
/*=======*/
|
|
/* out: query thread to run next or NULL */
|
|
que_thr_t* thr); /* in: query thread */
|
|
/**************************************************************************
|
|
Performs an execution step of a for-loop node. */
|
|
UNIV_INTERN
|
|
que_thr_t*
|
|
for_step(
|
|
/*=====*/
|
|
/* out: query thread to run next or NULL */
|
|
que_thr_t* thr); /* in: query thread */
|
|
/**************************************************************************
|
|
Performs an execution step of an assignment statement node. */
|
|
UNIV_INTERN
|
|
que_thr_t*
|
|
assign_step(
|
|
/*========*/
|
|
/* out: query thread to run next or NULL */
|
|
que_thr_t* thr); /* in: query thread */
|
|
/**************************************************************************
|
|
Performs an execution step of a procedure call node. */
|
|
UNIV_INLINE
|
|
que_thr_t*
|
|
proc_eval_step(
|
|
/*===========*/
|
|
/* out: query thread to run next or NULL */
|
|
que_thr_t* thr); /* in: query thread */
|
|
/**************************************************************************
|
|
Performs an execution step of an exit statement node. */
|
|
UNIV_INTERN
|
|
que_thr_t*
|
|
exit_step(
|
|
/*======*/
|
|
/* out: query thread to run next or NULL */
|
|
que_thr_t* thr); /* in: query thread */
|
|
/**************************************************************************
|
|
Performs an execution step of a return-statement node. */
|
|
UNIV_INTERN
|
|
que_thr_t*
|
|
return_step(
|
|
/*========*/
|
|
/* out: query thread to run next or NULL */
|
|
que_thr_t* thr); /* in: query thread */
|
|
|
|
|
|
#ifndef UNIV_NONINL
|
|
#include "eval0proc.ic"
|
|
#endif
|
|
|
|
#endif
|