~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/range.cc

updating to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2977
2977
   * it is, then we must convert to the highest Timestamp value (or lowest,
2978
2978
   * depending on whether the datetime is before or after the epoch.
2979
2979
   */
2980
 
  if (field->type() == DRIZZLE_TYPE_TIMESTAMP)
 
2980
  if (field->is_timestamp())
2981
2981
  {
2982
2982
    /*
2983
2983
     * The left-side of the range comparison is a timestamp field.  Therefore,