~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Brian Aker
  • Date: 2009-11-17 17:45:47 UTC
  • mto: This revision was merged to the branch mainline in revision 1222.
  • Revision ID: brian@gaz-20091117174547-omuu6kybq2aac5fg
Small cleanup from something Jay noticed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
821
821
    temp_table.s->db_low_byte_first= 1; //Cursor->low_byte_first();
822
822
    temp_table.s->blob_ptr_size= portable_sizeof_char_ptr;
823
823
 
824
 
    uint32_t field_length;
 
824
    uint32_t field_length= 0; //Assignment is for compiler complaint.
825
825
 
826
826
    switch (field_type)
827
827
    {
900
900
    case DRIZZLE_TYPE_LONGLONG:
901
901
      field_length= MAX_BIGINT_WIDTH;
902
902
      break;
903
 
    default:
904
 
      abort();
905
 
      break;
 
903
    case DRIZZLE_TYPE_NULL:
 
904
      abort(); // Programming error
906
905
    }
907
906
 
908
907
    Field* f= make_field(share,