diff options
author | Sergey Glukhov <sergey.glukhov@oracle.com> | 2011-02-11 12:54:16 +0300 |
---|---|---|
committer | Sergey Glukhov <sergey.glukhov@oracle.com> | 2011-02-11 12:54:16 +0300 |
commit | 654dd03f2a5e1b532169e435602c92c1da2062b8 (patch) | |
tree | e30f93140e035dd0d8eaf0d03cfaefff234dd1b3 /sql/strfunc.cc | |
parent | fbb0e5b295117f2477aa754844838aa874bb2637 (diff) | |
download | mariadb-git-654dd03f2a5e1b532169e435602c92c1da2062b8.tar.gz |
Bug#59685 crash in String::length with date types
The crash happens because Item_cache which is result
holder for Item_subselect can't correctly convert
a DATETIME value from string to int representation.
The fix is to disable constant item convertion for
subselect(partial rollback of bug52157 fix).
mysql-test/r/type_date.result:
test case
mysql-test/t/type_date.test:
test case
sql/item_cmpfunc.cc:
disable constant item convertion for subselects.
Diffstat (limited to 'sql/strfunc.cc')
0 files changed, 0 insertions, 0 deletions