diff options
| author | Gleb Shchepa <gshchepa@mysql.com> | 2010-03-22 12:33:25 +0400 |
|---|---|---|
| committer | Gleb Shchepa <gshchepa@mysql.com> | 2010-03-22 12:33:25 +0400 |
| commit | 8feadddbe437556fe4f8c054fa9c749f77dd20ca (patch) | |
| tree | 7605195836ec87045c9ab8d5a1c2c1ac97d26761 /mysql-test/t/variables_debug.test | |
| parent | e66128972db8f9484411468ffc7e3f3ede9c3265 (diff) | |
| download | mariadb-git-8feadddbe437556fe4f8c054fa9c749f77dd20ca.tar.gz | |
Bug #49910: Behavioural change in SELECT/WHERE on YEAR(4) data type
(Original patch by Sinisa Milivojevic)
The YEAR(4) value of 2000 was equal to the "bad" YEAR(4) value of 0000.
The get_year_value() function has been modified to not adjust bad
YEAR(4) value to 2000.
mysql-test/r/type_year.result:
Test case for bug #49910.
mysql-test/t/type_year.test:
Test case for bug #49910.
sql/item_cmpfunc.cc:
Bug #49910: Behavioural change in SELECT/WHERE on YEAR(4) data type
The get_year_value() function has been modified to not adjust bad
YEAR(4) value to 2000.
Diffstat (limited to 'mysql-test/t/variables_debug.test')
0 files changed, 0 insertions, 0 deletions
