~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/item.cc

  • Committer: Brian Aker
  • Date: 2008-07-05 19:24:24 UTC
  • mfrom: (53.2.8 codestyle)
  • Revision ID: brian@tangent.org-20080705192424-3uslywtteymm7xqy
First pass of removing BIT_TYPE

Show diffs side-by-side

added added

removed removed

Lines of Context:
4187
4187
    field= new Field_year((uchar*) 0, max_length, null_ptr, 0, Field::NONE,
4188
4188
                          name);
4189
4189
    break;
4190
 
  case MYSQL_TYPE_BIT:
4191
 
    field= new Field_bit_as_char(NULL, max_length, null_ptr, 0,
4192
 
                                 Field::NONE, name);
4193
 
    break;
4194
4190
  default:
4195
4191
    /* This case should never be chosen */
4196
4192
    DBUG_ASSERT(0);
4733
4729
  case MYSQL_TYPE_STRING:
4734
4730
  case MYSQL_TYPE_VAR_STRING:
4735
4731
  case MYSQL_TYPE_VARCHAR:
4736
 
  case MYSQL_TYPE_BIT:
4737
4732
  case MYSQL_TYPE_NEWDECIMAL:
4738
4733
  {
4739
4734
    String *res;
6460
6455
  case MYSQL_TYPE_YEAR:
6461
6456
  case MYSQL_TYPE_NEWDATE:
6462
6457
  case MYSQL_TYPE_VARCHAR:
6463
 
  case MYSQL_TYPE_BIT:
6464
6458
  case MYSQL_TYPE_NEWDECIMAL:
6465
6459
  case MYSQL_TYPE_ENUM:
6466
6460
  case MYSQL_TYPE_SET: