drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
eval0eval.h
Go to the documentation of this file.
1/*****************************************************************************
2
3Copyright (C) 1997, 2009, Innobase Oy. All Rights Reserved.
4
5This program is free software; you can redistribute it and/or modify it under
6the terms of the GNU General Public License as published by the Free Software
7Foundation; version 2 of the License.
8
9This program is distributed in the hope that it will be useful, but WITHOUT
10ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License along with
14this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15St, Fifth Floor, Boston, MA 02110-1301 USA
16
17*****************************************************************************/
18
19/**************************************************/
26
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/*****************************************************************/
40UNIV_INTERN
41void
43/*===================*/
44 que_node_t* node);
45/*****************************************************************/
47UNIV_INLINE
48void
50/*=====*/
51 sym_node_t* sym_node);
52/*****************************************************************/
54UNIV_INLINE
55void
57/*=====*/
58 que_node_t* exp_node);
59/*****************************************************************/
61UNIV_INLINE
62void
64/*==================*/
65 que_node_t* node,
66 lint val);
67/*****************************************************************/
70UNIV_INLINE
71lint
73/*==================*/
74 que_node_t* node);
75/*****************************************************************/
78UNIV_INLINE
79void
81/*=========================*/
82 que_node_t* node,
83 const byte* str,
84 ulint len);
85/*****************************************************************/
87UNIV_INLINE
88void
90/*===============*/
91 que_node_t* node1,
92 que_node_t* node2);
93/*****************************************************************/
96UNIV_INLINE
97ibool
99/*====================*/
100 que_node_t* node);
101/*****************************************************************/
104UNIV_INTERN
105ibool
107/*=====*/
108 func_node_t* cmp_node);
109
110
111#ifndef UNIV_NONINL
112#include "eval0eval.ic"
113#endif
114
115#endif
UNIV_INTERN ibool eval_cmp(func_node_t *cmp_node)
Definition eval0eval.cc:119
UNIV_INLINE void eval_sym(sym_node_t *sym_node)
UNIV_INLINE ibool eval_node_get_ibool_val(que_node_t *node)
UNIV_INLINE void eval_node_set_int_val(que_node_t *node, lint val)
UNIV_INLINE void eval_node_copy_val(que_node_t *node1, que_node_t *node2)
UNIV_INLINE void eval_node_copy_and_alloc_val(que_node_t *node, const byte *str, ulint len)
UNIV_INLINE void eval_exp(que_node_t *exp_node)
UNIV_INTERN void eval_node_free_val_buf(que_node_t *node)
Definition eval0eval.cc:93
UNIV_INLINE lint eval_node_get_int_val(que_node_t *node)