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
*******************************************************/
30
#include "que0types.h"
32
#include "pars0pars.h"
34
/**********************************************************************//**
35
Performs an execution step of a procedure node.
36
@return query thread to run next or NULL */
41
que_thr_t* thr); /*!< in: query thread */
42
/**********************************************************************//**
43
Performs an execution step of an if-statement node.
44
@return query thread to run next or NULL */
49
que_thr_t* thr); /*!< in: query thread */
50
/**********************************************************************//**
51
Performs an execution step of a while-statement node.
52
@return query thread to run next or NULL */
57
que_thr_t* thr); /*!< in: query thread */
58
/**********************************************************************//**
59
Performs an execution step of a for-loop node.
60
@return query thread to run next or NULL */
65
que_thr_t* thr); /*!< in: query thread */
66
/**********************************************************************//**
67
Performs an execution step of an assignment statement node.
68
@return query thread to run next or NULL */
73
que_thr_t* thr); /*!< in: query thread */
74
/**********************************************************************//**
75
Performs an execution step of a procedure call node.
76
@return query thread to run next or NULL */
81
que_thr_t* thr); /*!< in: query thread */
82
/**********************************************************************//**
83
Performs an execution step of an exit statement node.
84
@return query thread to run next or NULL */
89
que_thr_t* thr); /*!< in: query thread */
90
/**********************************************************************//**
91
Performs an execution step of a return-statement node.
92
@return query thread to run next or NULL */
97
que_thr_t* thr); /*!< in: query thread */
101
#include "eval0proc.ic"