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., 59 Temple
15
Place, Suite 330, Boston, MA 02111-1307 USA
17
*****************************************************************************/
19
/******************************************************
20
Executes SQL stored procedures and their control structures
22
Created 1/20/1998 Heikki Tuuri
23
*******************************************************/
29
#include "que0types.h"
31
#include "pars0pars.h"
33
/**************************************************************************
34
Performs an execution step of a procedure node. */
39
/* out: query thread to run next or NULL */
40
que_thr_t* thr); /* in: query thread */
41
/**************************************************************************
42
Performs an execution step of an if-statement node. */
47
/* out: query thread to run next or NULL */
48
que_thr_t* thr); /* in: query thread */
49
/**************************************************************************
50
Performs an execution step of a while-statement node. */
55
/* out: query thread to run next or NULL */
56
que_thr_t* thr); /* in: query thread */
57
/**************************************************************************
58
Performs an execution step of a for-loop node. */
63
/* out: query thread to run next or NULL */
64
que_thr_t* thr); /* in: query thread */
65
/**************************************************************************
66
Performs an execution step of an assignment statement node. */
71
/* out: query thread to run next or NULL */
72
que_thr_t* thr); /* in: query thread */
73
/**************************************************************************
74
Performs an execution step of a procedure call node. */
79
/* out: query thread to run next or NULL */
80
que_thr_t* thr); /* in: query thread */
81
/**************************************************************************
82
Performs an execution step of an exit statement node. */
87
/* out: query thread to run next or NULL */
88
que_thr_t* thr); /* in: query thread */
89
/**************************************************************************
90
Performs an execution step of a return-statement node. */
95
/* out: query thread to run next or NULL */
96
que_thr_t* thr); /* in: query thread */
100
#include "eval0proc.ic"