~drizzle-trunk/drizzle/development

Replace MAX_(DATE|TIME).*_WIDTH defines in definitions.h with real (and correct) static const members to Temporal types.

This fixes the buffer overflow in https://bugs.launchpad.net/drizzle/+bug/373468

It also removes a handwritten snprintf in field/datetime.cc
However... this caused us to have to change Temporal to have a way to not
"convert" the int64_t value (so 20090101 becomes 20090101000000 etc) as it
has already been converted and we just want the Temporal type to do the
to_string conversion.

This still causes a failure in 'metadata' test due to size of timestamp type. I need feedback from Jay on when the usecond code comes into play to know the correct fix for this.
Filename Latest Rev Last Changed Committer Comment Size
..
smf 1025.1.1 15 years ago Trond Norbye Add configuration files to integrate to Solaris SM Diff
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
Makefile.am 1025.1.1 15 years ago Trond Norbye Add configuration files to integrate to Solaris SM 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