~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
..
client 1 16 years ago brian clean slate Diff
config 1 16 years ago brian clean slate Diff
drizzled 214 16 years ago Brian Aker Rename of fields (fix issue with string and decima Diff
extra 1 16 years ago brian clean slate Diff
libdrizzle 77.1.38 16 years ago Monty Taylor Renamed more stuff to drizzle. Diff
m4 202.3.14 16 years ago Monty Taylor Moved m4 macros to top-level m4 dir, per GNU stand Diff
mystrings 212.5.4 16 years ago Monty Taylor Renamed strings to mystrings, for include/lib nami Diff
mysys 1 16 years ago brian clean slate Diff
plugin 1 16 years ago brian clean slate Diff
po 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. Diff
storage 1 16 years ago brian clean slate Diff
support-files 1 16 years ago brian clean slate Diff
tests 77.1.47 16 years ago Monty Taylor Moved test to tests... Diff
.bzrignore 722.1.9 16 years ago Monty Taylor Added configmake.h to .bzrignore. 3 KB Diff Download File
ABOUT-NLS 202.3.1 16 years ago Monty Taylor Added very initial gettextize stuff. 74.7 KB Diff Download File
AUTHORS 492.3.36 16 years ago Lee add my name to the AUTHORS file 358 bytes Diff Download File
configure.ac 779.1.25 16 years ago Monty Taylor Put in LCOV checks. Put output in subdir. 40.4 KB Diff Download File
COPYING 1 16 years ago brian clean slate 18.6 KB Diff Download File
Doxyfile 264.3.1 16 years ago Jay Pipes * Added Doxyfile configuration for doxygen builds 55.2 KB Diff Download File
DRIZZLE.FAQ 665.1.4 16 years ago Eric Herman Added pointer to online version of the FAQ 5.8 KB Diff Download File
EXCEPTIONS-CLIENT 1 16 years ago brian clean slate 5 KB Diff Download File
Makefile.am 779.1.25 16 years ago Monty Taylor Put in LCOV checks. Put output in subdir. 5 KB Diff Download File
NEWS 194 16 years ago Brian Aker Documentation cleanup 41 bytes Diff Download File
README 665.1.3 16 years ago Eric Herman added some essential notes to the README 749 bytes Diff Download File