~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal.h

  • Committer: Brian Aker
  • Date: 2010-12-22 19:01:50 UTC
  • Revision ID: brian@tangent.org-20101222190150-axj8ykxq9zv3x982
This takes time and turns it into a fuzzy type so that we can do
conversions. We ignore the other parts of it or other operations.

EXTRACT should be fixed so that this is not required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
485
485
  bool is_valid_datetime() const {return false;}
486
486
  bool is_valid_time() const {return is_valid();}
487
487
  bool is_valid_timestamp() const {return false;}
 
488
 
488
489
  /** Returns whether the temporal value is valid date. */
489
490
  bool is_valid() const;
 
491
  bool is_fuzzy_valid() const;
490
492
 
491
493
  /**
492
494
   * Fills a supplied char string with a