InnoDB Plugin
1.0
Main Page
Data Structures
Files
File List
Globals
include
eval0eval.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (c) 1997, 2009, Oracle and/or its affiliates. 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.,
15
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
16
17
*****************************************************************************/
18
19
/**************************************************/
27
#ifndef eval0eval_h
28
#define eval0eval_h
29
30
#include "
univ.i
"
31
#include "
que0types.h
"
32
#include "
pars0sym.h
"
33
#include "
pars0pars.h
"
34
35
/*****************************************************************/
39
UNIV_INTERN
40
void
41
eval_node_free_val_buf
(
42
/*===================*/
43
que_node_t* node);
44
/*****************************************************************/
46
UNIV_INLINE
47
void
48
eval_sym
(
49
/*=====*/
50
sym_node_t
* sym_node);
51
/*****************************************************************/
53
UNIV_INLINE
54
void
55
eval_exp
(
56
/*=====*/
57
que_node_t* exp_node);
58
/*****************************************************************/
60
UNIV_INLINE
61
void
62
eval_node_set_int_val
(
63
/*==================*/
64
que_node_t* node,
65
lint val);
66
/*****************************************************************/
69
UNIV_INLINE
70
lint
71
eval_node_get_int_val
(
72
/*==================*/
73
que_node_t* node);
74
/*****************************************************************/
77
UNIV_INLINE
78
void
79
eval_node_copy_and_alloc_val
(
80
/*=========================*/
81
que_node_t* node,
82
const
byte* str,
83
ulint len);
84
/*****************************************************************/
86
UNIV_INLINE
87
void
88
eval_node_copy_val
(
89
/*===============*/
90
que_node_t* node1,
91
que_node_t* node2);
92
/*****************************************************************/
95
UNIV_INLINE
96
ibool
97
eval_node_get_ibool_val
(
98
/*====================*/
99
que_node_t* node);
100
/*****************************************************************/
103
UNIV_INTERN
104
ibool
105
eval_cmp
(
106
/*=====*/
107
func_node_t
* cmp_node);
110
#ifndef UNIV_NONINL
111
#include "
eval0eval.ic
"
112
#endif
113
114
#endif
Generated on Fri Aug 21 2015 19:14:24 for InnoDB Plugin by
1.8.1.2