~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2008-09-16 00:00:48 UTC
  • mto: This revision was merged to the branch mainline in revision 391.
  • Revision ID: monty@inaugust.com-20080916000048-3rvrv3gv9l0ad3gs
Fixed copyright headers in drizzled/

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., 51 Franklin
15
 
St, Fifth Floor, Boston, MA 02110-1301 USA
16
 
 
17
 
*****************************************************************************/
18
 
 
19
 
/**************************************************//**
20
 
@file include/eval0proc.h
21
 
Executes SQL stored procedures and their control structures
22
 
 
23
 
Created 1/20/1998 Heikki Tuuri
24
 
*******************************************************/
25
 
 
26
 
#ifndef eval0proc_h
27
 
#define eval0proc_h
28
 
 
29
 
#include "univ.i"
30
 
#include "que0types.h"
31
 
#include "pars0sym.h"
32
 
#include "pars0pars.h"
33
 
 
34
 
/**********************************************************************//**
35
 
Performs an execution step of a procedure node.
36
 
@return query thread to run next or NULL */
37
 
UNIV_INLINE
38
 
que_thr_t*
39
 
proc_step(
40
 
/*======*/
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 */
45
 
UNIV_INTERN
46
 
que_thr_t*
47
 
if_step(
48
 
/*====*/
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 */
53
 
UNIV_INTERN
54
 
que_thr_t*
55
 
while_step(
56
 
/*=======*/
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 */
61
 
UNIV_INTERN
62
 
que_thr_t*
63
 
for_step(
64
 
/*=====*/
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 */
69
 
UNIV_INTERN
70
 
que_thr_t*
71
 
assign_step(
72
 
/*========*/
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 */
77
 
UNIV_INLINE
78
 
que_thr_t*
79
 
proc_eval_step(
80
 
/*===========*/
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 */
85
 
UNIV_INTERN
86
 
que_thr_t*
87
 
exit_step(
88
 
/*======*/
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 */
93
 
UNIV_INTERN
94
 
que_thr_t*
95
 
return_step(
96
 
/*========*/
97
 
        que_thr_t*      thr);   /*!< in: query thread */
98
 
 
99
 
 
100
 
#ifndef UNIV_NONINL
101
 
#include "eval0proc.ic"
102
 
#endif
103
 
 
104
 
#endif