1
/*****************************************************************************
3
Copyright (C) 1998, 2009, Innobase Oy. All Rights Reserved.
5
This program is free software; you can redistribute it and/or modify it under
6
the terms of the GNU General Public License as published by the Free Software
7
Foundation; version 2 of the License.
9
This program is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
You should have received a copy of the GNU General Public License along with
14
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
St, Fifth Floor, Boston, MA 02110-1301 USA
17
*****************************************************************************/
19
/**************************************************//**
20
@file include/eval0proc.h
21
Executes SQL stored procedures and their control structures
23
Created 1/20/1998 Heikki Tuuri
24
*******************************************************/
31
#include "que0types.h"
33
#include "pars0pars.h"
35
/**********************************************************************//**
36
Performs an execution step of a procedure node.
37
@return query thread to run next or NULL */
42
que_thr_t* thr); /*!< in: query thread */
43
/**********************************************************************//**
44
Performs an execution step of an if-statement node.
45
@return query thread to run next or NULL */
50
que_thr_t* thr); /*!< in: query thread */
51
/**********************************************************************//**
52
Performs an execution step of a while-statement node.
53
@return query thread to run next or NULL */
58
que_thr_t* thr); /*!< in: query thread */
59
/**********************************************************************//**
60
Performs an execution step of a for-loop node.
61
@return query thread to run next or NULL */
66
que_thr_t* thr); /*!< in: query thread */
67
/**********************************************************************//**
68
Performs an execution step of an assignment statement node.
69
@return query thread to run next or NULL */
74
que_thr_t* thr); /*!< in: query thread */
75
/**********************************************************************//**
76
Performs an execution step of a procedure call node.
77
@return query thread to run next or NULL */
82
que_thr_t* thr); /*!< in: query thread */
83
/**********************************************************************//**
84
Performs an execution step of an exit statement node.
85
@return query thread to run next or NULL */
90
que_thr_t* thr); /*!< in: query thread */
91
/**********************************************************************//**
92
Performs an execution step of a return-statement node.
93
@return query thread to run next or NULL */
98
que_thr_t* thr); /*!< in: query thread */
102
#include "eval0proc.ic"