~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_timefunc.cc

  • Committer: Grant Limberg
  • Date: 2008-08-12 21:13:01 UTC
  • mto: (322.1.1 codestyle)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: grant@glsoftware.net-20080812211301-ym3wsowelkgp16s2
renamed all instances of MYSQL_ to DRIZZLE_

Show diffs side-by-side

added added

removed removed

Lines of Context:
2015
2015
    - If first arg is a DRIZZLE_TYPE_NEWDATE and the interval type uses hours,
2016
2016
      minutes or seconds then type is DRIZZLE_TYPE_DATETIME.
2017
2017
    - Otherwise the result is DRIZZLE_TYPE_VARCHAR
2018
 
      (This is because you can't know if the string contains a DATE, MYSQL_TIME or
 
2018
      (This is because you can't know if the string contains a DATE, DRIZZLE_TIME or
2019
2019
      DATETIME argument)
2020
2020
  */
2021
2021
  cached_field_type= DRIZZLE_TYPE_VARCHAR;