Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
eval0eval.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (C) 1997, 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
/**************************************************/
27
#pragma once
28
#ifndef eval0eval_h
29
#define eval0eval_h
30
31
#include "univ.i"
32
#include "
que0types.h
"
33
#include "
pars0sym.h
"
34
#include "
pars0pars.h
"
35
36
/*****************************************************************/
40
UNIV_INTERN
41
void
42
eval_node_free_val_buf(
43
/*===================*/
44
que_node_t* node);
45
/*****************************************************************/
47
UNIV_INLINE
48
void
49
eval_sym
(
50
/*=====*/
51
sym_node_t
* sym_node);
52
/*****************************************************************/
54
UNIV_INLINE
55
void
56
eval_exp
(
57
/*=====*/
58
que_node_t* exp_node);
59
/*****************************************************************/
61
UNIV_INLINE
62
void
63
eval_node_set_int_val
(
64
/*==================*/
65
que_node_t* node,
66
lint val);
67
/*****************************************************************/
70
UNIV_INLINE
71
lint
72
eval_node_get_int_val
(
73
/*==================*/
74
que_node_t* node);
75
/*****************************************************************/
78
UNIV_INLINE
79
void
80
eval_node_copy_and_alloc_val
(
81
/*=========================*/
82
que_node_t* node,
83
const
byte* str,
84
ulint len);
85
/*****************************************************************/
87
UNIV_INLINE
88
void
89
eval_node_copy_val
(
90
/*===============*/
91
que_node_t* node1,
92
que_node_t* node2);
93
/*****************************************************************/
96
UNIV_INLINE
97
ibool
98
eval_node_get_ibool_val
(
99
/*====================*/
100
que_node_t* node);
101
/*****************************************************************/
104
UNIV_INTERN
105
ibool
106
eval_cmp(
107
/*=====*/
108
func_node_t
* cmp_node);
111
#ifndef UNIV_NONINL
112
#include "eval0eval.ic"
113
#endif
114
115
#endif
plugin
innobase
include
eval0eval.h
Generated on Tue Jun 19 2012 18:56:54 for drizzle by
1.8.1