~drizzle-trunk/drizzle/development

  • Committer: Jay Pipes
  • Date: 2009-01-29 19:47:12 UTC
  • Revision ID: jpipes@serialcoder-20090129194712-2dtgucnwscs8di24
Fixes for SECOND() function to use new Temporal system.  Because
MySQL implicitly converts integers to strings, but only for 
DATETIME, not TIME, there is a bit of hack in functions/time/second.cc
right now which may be refactored when Temporals are made real, 
immutable ValueObjects.

Added new test case for the SECOND() function.

Added comments in function/time/year.cc to indicate a bit better
what we are doing, and added a define for the max length a datetime
is represented as a string.

Corrected regex matching in following ways:

Added start ^ and end $ to catch issues with greedy matching on dates
before datetime strings.

Added check for the usecond and nsecond indexes in the regex matches.
Checks for datetimes with microsecond parts were not properly being 
matched because of an incorrect calculation in TemporalFormat::matches()
Filename Latest Rev Last Changed Committer Comment Size
..
auth_pam 259 16 years ago Brian Aker First pass on PAM auth Diff
compress 139.1.9 16 years ago Stewart Smith Move compression functions (compress, uncompress a Diff
crc32 139.1.2 16 years ago Stewart Smith CRC32() as UDF Diff
errmsg_stderr 499.2.6 16 years ago Mark Atwood an implemention of the errmsg plugin Diff
hello_world 134.1.2 16 years ago Mark Atwood Add hello_world() UDF Diff
logging_query 383.6.6 16 years ago Mark Atwood rename logging_noop to logging_query Diff
logging_syslog 771.1.1 16 years ago Mark Atwood add syslog based logging plugin Diff
md5 139.1.1 16 years ago Stewart Smith Move MD5() into a UDF Diff
pool_of_threads 803 16 years ago Brian Aker Refactored all current scheduler to be behind sche Diff
replicator 661 16 years ago Brian Aker First major pass through new replication. Diff
single_thread 806 16 years ago Brian Aker Adding in an example singe thread scheduler Diff
uncompress 139.1.9 16 years ago Stewart Smith Move compression functions (compress, uncompress a Diff
uncompressed_length 139.1.9 16 years ago Stewart Smith Move compression functions (compress, uncompress a Diff
Makefile.am 685.1.1 16 years ago Monty Taylor Fixed distclean in plugins problem for Lee. 717 bytes Diff Download File