~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/cast/boolean.h

  • Committer: Olaf van der Spek
  • Date: 2011-07-04 19:11:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110704191147-s99ojek811zi1fzj
RemoveĀ unusedĀ Name_resolution_context::error_reporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_FUNCTION_CAST_BOOLEAN_H
22
 
#define DRIZZLED_FUNCTION_CAST_BOOLEAN_H
 
21
#pragma once
23
22
 
24
 
#include <drizzled/charset_info.h>
 
23
#include <drizzled/charset.h>
25
24
#include <drizzled/function/str/strfunc.h>
26
25
 
27
26
namespace drizzled {
42
41
    collation.set(&my_charset_bin);
43
42
    max_length=args[0]->max_length;
44
43
  }
45
 
  virtual void print(String *str, enum_query_type query_type);
 
44
  virtual void print(String *str);
46
45
  const char *func_name() const { return "cast_as_boolean"; }
47
46
 
48
47
private:
53
52
} // namespace function
54
53
} // namespace drizzled
55
54
 
56
 
#endif /* DRIZZLED_FUNCTION_CAST_BOOLEAN_H */