summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorSergey Glukhov <sergey.glukhov@oracle.com>2011-05-18 10:47:43 +0400
committerSergey Glukhov <sergey.glukhov@oracle.com>2011-05-18 10:47:43 +0400
commit3201f92cb3a8e564387d656f7a7bb566d4776bb5 (patch)
treeeebaafb8047e0cec9db554e2a619116ed5ad01a1 /libmysqld
parent91133804d1a800bed4e43c07e8f26d9345c78420 (diff)
downloadmariadb-git-3201f92cb3a8e564387d656f7a7bb566d4776bb5.tar.gz
Bug#12403504 AFTER FIX FOR #11889186 : ASSERTION FAILED: DELSUM+(INT) Y/4-TEMP > 0
There are two problems: 1. There is a missing check for 'year' parameter(year can not be greater than 9999) in makedate function. fix: added check that year can not be greater than 9999. 2. There is a missing check for zero date in from_days() function. fix: added zero date check into Item_func_from_days::get_date() function. mysql-test/r/func_time.result: test case mysql-test/t/func_time.test: test case sql/item_timefunc.cc: --added check that year can not be greater than 9999 for makedate() function --added zero date check into Item_func_from_days::get_date() function
Diffstat (limited to 'libmysqld')
0 files changed, 0 insertions, 0 deletions