~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Stewart Smith
  • Date: 2009-03-03 23:26:47 UTC
  • mto: (910.4.2 sparc) (908.3.6 work)
  • mto: This revision was merged to the branch mainline in revision 912.
  • Revision ID: stewart@flamingspork.com-20090303232647-o6732hm6z12ezen4
should be assert, not creating Item_null as default null is set up before the type switch

Show diffs side-by-side

added added

removed removed

Lines of Context:
364
364
    default_item= new Item_float(default_value.c_str(), default_value.length());
365
365
    break;
366
366
  case DRIZZLE_TYPE_NULL:
367
 
    return new Item_null();
 
367
    assert(false);
368
368
  case DRIZZLE_TYPE_TIMESTAMP:
369
369
  case DRIZZLE_TYPE_DATETIME:
370
370
  case DRIZZLE_TYPE_DATE: