~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/create.cc

  • Committer: Brian Aker
  • Date: 2010-12-24 21:27:54 UTC
  • mto: (2035.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2037.
  • Revision ID: brian@tangent.org-20101224212754-85xvjullymvhibr9
Merge in cast() for BOOLEAN.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
#include <drizzled/function/math/tan.h>
84
84
#include <drizzled/function/units.h>
85
85
 
 
86
#include "drizzled/function/cast/boolean.h"
86
87
#include "drizzled/function/cast/time.h"
87
88
 
88
89
using namespace std;
2094
2095
    res= new (session->mem_root) Item_func_binary(a);
2095
2096
    break;
2096
2097
 
 
2098
  case ITEM_CAST_BOOLEAN:
 
2099
    res= new (session->mem_root) function::cast::Boolean(a);
 
2100
    break;
 
2101
 
2097
2102
  case ITEM_CAST_TIME:
2098
2103
    res= new (session->mem_root) function::cast::Time(a);
2099
2104
    break;