~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.cc

  • Committer: Brian Aker
  • Date: 2008-08-10 17:18:41 UTC
  • mfrom: (287.3.13 codestyle)
  • Revision ID: brian@tangent.org-20080810171841-pkvi2ky94wbd0nt5
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
2277
2277
        and 19 as length of 4.1 compatible representation.
2278
2278
      */
2279
2279
      length= ((length+1)/2)*2; /* purecov: inspected */
2280
 
      length= min(length, MAX_DATETIME_COMPRESSED_WIDTH); /* purecov: inspected */
 
2280
      length= min(length, (uint32_t)MAX_DATETIME_COMPRESSED_WIDTH); /* purecov: inspected */
2281
2281
    }
2282
2282
    flags|= UNSIGNED_FLAG;
2283
2283
    if (fld_default_value)