~drizzle-trunk/drizzle/development

  • Committer: Jay Pipes
  • Date: 2009-01-28 02:39:29 UTC
  • Revision ID: jpipes@serialcoder-20090128023929-gy7mot4ki11taytg
First function cleanup for temporal handling: YEAR()

* Added source files for calendrical calculations:
 drizzled/calendar.h
 drizzled/calendar.cc
* Added source files for new Temporal classes
 drizzled/temporal.h
 drizzled/temporal.cc
 drizzled/temporal_format.h
 drizzled/temporal_format.cc

Modified drizzled/function/time/year.cc to use the new
Temporal classes instead of the DRIZZLE_TIME struct and 
get_date().

Added new error codes for invalid DATETIME values and ensured
bad datetimes throw errors in calls to YEAR().

Added new test case specifically for the YEAR() function

Modified existing func_time and type_date test cases to expect
errors when calling YEAR() with bad datetimes.

Edited Makefile.am in drizzled/ to ensure libpcre is used during
build and that calendar.cc, temporal.cc and temporal_format.cc are
built.
Filename Latest Rev Last Changed Committer Comment Size
..
drizzle-log-rotate.in 77.1.38 16 years ago Monty Taylor Renamed more stuff to drizzle. 791 bytes Diff Download File
drizzle.m4 319.1.1 16 years ago Grant Limberg renamed all instances of MYSQL_ to DRIZZLE_ 4.1 KB Diff Download File
drizzle.server.in 77.1.38 16 years ago Monty Taylor Renamed more stuff to drizzle. 11.7 KB Diff Download File
libdrizzle.pc.in 77.1.38 16 years ago Monty Taylor Renamed more stuff to drizzle. 211 bytes Diff Download File
Makefile.am 312.1.14 16 years ago Monty Taylor Fixed bug#257694 - added various files to EXTRA_DI 1 KB Diff Download File
uncrustify-beforeafter.patch 656.1.18 15 years ago Monty Taylor Added uncrustify patch. 4.7 KB Diff Download File