~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/join.cc

  • Committer: Brian Aker
  • Date: 2011-02-15 18:20:10 UTC
  • mfrom: (2167.3.2 drizzle-build)
  • Revision ID: brian@tangent.org-20110215182010-a19zcrdzp4h0hw49
Merge datetime tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3231
3231
            have STRING_RESULT result type, we increase the length
3232
3232
            by 8 as maximum pack length of such fields.
3233
3233
          */
3234
 
          if (type == DRIZZLE_TYPE_DATE ||
3235
 
              type == DRIZZLE_TYPE_TIME ||
3236
 
              type == DRIZZLE_TYPE_DATETIME ||
3237
 
              type == DRIZZLE_TYPE_MICROTIME ||
3238
 
              type == DRIZZLE_TYPE_TIMESTAMP)
 
3234
          if (field::isDateTime(type))
3239
3235
          {
3240
3236
            key_length+= 8;
3241
3237
          }