1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
4
* Copyright (C) 2010 Brian Aker
5
* Copyright (C) 2010 Brian Aker
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
#ifndef DRIZZLED_ITEM_FUNCTION_BOOLEAN_H
24
#define DRIZZLED_ITEM_FUNCTION_BOOLEAN_H
26
#include "drizzled/function/math/int.h"
37
class Boolean :public Item_int_func
48
Boolean(Item *a,Item *b) :
52
Boolean(Session *session, Boolean *item) :
53
Item_int_func(session, item)
61
void fix_length_and_dec()
67
uint32_t decimal_precision() const
73
} /* namespace function */
74
} /* namespace item */
75
} /* namespace drizzled */
77
#endif /* DRIZZLED_ITEM_FUNCTION_BOOLEAN_H */