~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
..
innochecksum.c 642.1.68 16 years ago Lee merge with latest from the trunk 9.1 KB Diff Download File
Makefile.am 584.1.3 16 years ago Monty Taylor Merged from David. 989 bytes Diff Download File
my_print_defaults.cc 656.1.26 16 years ago Monty Taylor Finally removed all of the my_malloc stuff. 6 KB Diff Download File
mysql_waitpid.cc 660.1.3 16 years ago Eric Herman removed trailing whitespace with simple script: f 2.8 KB Diff Download File