~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.cc

  • Committer: Monty Taylor
  • Date: 2009-05-09 22:26:07 UTC
  • mto: This revision was merged to the branch mainline in revision 1009.
  • Revision ID: mordred@inaugust.com-20090509222607-wjjid9t0x0dbgagp
Removed is_stored - was only used for VCOL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
823
823
   key_start(0), part_of_key(0), part_of_key_not_clustered(0),
824
824
   part_of_sortkey(0), unireg_check(unireg_check_arg),
825
825
   field_length(length_arg), null_bit(null_bit_arg),
826
 
   is_created_from_null_item(false),
827
 
   is_stored(true)
 
826
   is_created_from_null_item(false)
828
827
{
829
828
  flags=null_ptr ? 0: NOT_NULL_FLAG;
830
829
  comment.str= (char*) "";
1318
1317
              ((decimals_arg & FIELDFLAG_MAX_DEC) << FIELDFLAG_DEC_SHIFT) |
1319
1318
              (maybe_null ? FIELDFLAG_MAYBE_NULL : 0) |
1320
1319
              (is_unsigned ? 0 : FIELDFLAG_DECIMAL));
1321
 
  is_stored= true;
1322
1320
}
1323
1321
 
1324
1322
 
1381
1379
  interval_list.empty();
1382
1380
 
1383
1381
  comment= *fld_comment;
1384
 
  is_stored= true;
1385
1382
 
1386
1383
  /*
1387
1384
    Set NO_DEFAULT_VALUE_FLAG if this field doesn't have a default value and
1741
1738
  charset=    old_field->charset();             // May be NULL ptr
1742
1739
  comment=    old_field->comment;
1743
1740
  decimals=   old_field->decimals();
1744
 
  is_stored= old_field->is_stored;
1745
1741
 
1746
1742
  /* Fix if the original table had 4 byte pointer blobs */
1747
1743
  if (flags & BLOB_FLAG)