~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
..
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 16 years ago Monty Taylor Added uncrustify patch. 4.7 KB Diff Download File