~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/eval0proc.h

  • Committer: Monty Taylor
  • Date: 2008-07-05 17:09:05 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: monty@inaugust.com-20080705170905-itvcfiincapslw9w
Removed redundant declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*****************************************************************************
2
 
 
3
 
Copyright (c) 1998, 2009, Innobase Oy. All Rights Reserved.
4
 
 
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.
8
 
 
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.
12
 
 
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
16
 
 
17
 
*****************************************************************************/
18
 
 
19
 
/******************************************************
20
 
Executes SQL stored procedures and their control structures
21
 
 
22
 
Created 1/20/1998 Heikki Tuuri
23
 
*******************************************************/
24
 
 
25
 
#ifndef eval0proc_h
26
 
#define eval0proc_h
27
 
 
28
 
#include "univ.i"
29
 
#include "que0types.h"
30
 
#include "pars0sym.h"
31
 
#include "pars0pars.h"
32
 
 
33
 
/**************************************************************************
34
 
Performs an execution step of a procedure node. */
35
 
UNIV_INLINE
36
 
que_thr_t*
37
 
proc_step(
38
 
/*======*/
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. */
43
 
UNIV_INTERN
44
 
que_thr_t*
45
 
if_step(
46
 
/*====*/
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. */
51
 
UNIV_INTERN
52
 
que_thr_t*
53
 
while_step(
54
 
/*=======*/
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. */
59
 
UNIV_INTERN
60
 
que_thr_t*
61
 
for_step(
62
 
/*=====*/
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. */
67
 
UNIV_INTERN
68
 
que_thr_t*
69
 
assign_step(
70
 
/*========*/
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. */
75
 
UNIV_INLINE
76
 
que_thr_t*
77
 
proc_eval_step(
78
 
/*===========*/
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. */
83
 
UNIV_INTERN
84
 
que_thr_t*
85
 
exit_step(
86
 
/*======*/
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. */
91
 
UNIV_INTERN
92
 
que_thr_t*
93
 
return_step(
94
 
/*========*/
95
 
                                /* out: query thread to run next or NULL */
96
 
        que_thr_t*      thr);   /* in: query thread */
97
 
 
98
 
 
99
 
#ifndef UNIV_NONINL
100
 
#include "eval0proc.ic"
101
 
#endif
102
 
 
103
 
#endif