~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/display.cc

  • Committer: Brian Aker
  • Date: 2010-12-27 19:18:58 UTC
  • mfrom: (2035 staging)
  • mto: (2035.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2037.
  • Revision ID: brian@tangent.org-20101227191858-h11rg8ncrkiklg3f
Manage merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
static const std::string BOOLEAN_ITEM("BOOLEAN_ITEM");
80
80
static const std::string DECIMAL_ITEM("DECIMAL_ITEM");
81
81
 
 
82
static const std::string ITEM_CAST_SIGNED("ITEM_CAST_SIGNED");
 
83
static const std::string ITEM_CAST_UNSIGNED("ITEM_CAST_UNSIGNED");
82
84
static const std::string ITEM_CAST_BINARY("ITEM_CAST_BINARY");
83
85
static const std::string ITEM_CAST_BOOLEAN("ITEM_CAST_BOOLEAN");
84
86
static const std::string ITEM_CAST_DATE("ITEM_CAST_DATE");
94
96
{
95
97
  switch (type)
96
98
  {
 
99
  case drizzled::ITEM_CAST_SIGNED:
 
100
    return ITEM_CAST_SIGNED;
 
101
  case drizzled::ITEM_CAST_UNSIGNED:
 
102
    return ITEM_CAST_UNSIGNED;
97
103
  case drizzled::ITEM_CAST_BINARY:
98
104
    return ITEM_CAST_BINARY;
99
105
  case drizzled::ITEM_CAST_BOOLEAN: