~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
..
extra 1 16 years ago brian clean slate Diff
include 1 16 years ago brian clean slate Diff
lib 1 16 years ago brian clean slate Diff
misc 1 16 years ago brian clean slate Diff
r 656.2.1 16 years ago Monty Taylor Moved non-working tests into broken suite for easi Diff
std_data 1 16 years ago brian clean slate Diff
suite 1 16 years ago brian clean slate Diff
t 656.2.1 16 years ago Monty Taylor Moved non-working tests into broken suite for easi Diff
File create-test-result 1 16 years ago brian clean slate 1.4 KB Diff Download File
File fix-result 1 16 years ago brian clean slate 535 bytes Diff Download File
install_test_db.in 77.1.32 16 years ago Monty Taylor Merged from trunk. Moved resolve_stack_dump to my 2.5 KB Diff Download File
Makefile.am 1008.5.11 15 years ago lbieber move csv tests back to regular test suite, remove 3.2 KB Diff Download File
purify.supp 1 16 years ago brian clean slate 724 bytes Diff Download File
README 1 16 years ago brian clean slate 2.7 KB Diff Download File
README.gcov 1 16 years ago brian clean slate 655 bytes Diff Download File
README.stress 1 16 years ago brian clean slate 4.4 KB Diff Download File
File resolve-stack 54.1.4 16 years ago Stewart Smith merge from mainline 320 bytes Diff Download File
resolve_stack_dump.cc 910.1.3 16 years ago Brian Aker Remove my_fopen() and key_map.cc file (thanks to J 7.3 KB Diff Download File
stress-test.pl 383.1.22 16 years ago Brian Aker Cleanup around SAFEMALLOC 31.6 KB Diff Download File
File test-run.pl 971.3.50 15 years ago Eric Day Removed log option in test runner, no longer used. 97.1 KB Diff Download File
valgrind.supp 1008.4.1 15 years ago Jay Pipes Typo in valgrind.supp 7.7 KB Diff Download File