summaryrefslogtreecommitdiff
path: root/sql/strfunc.cc
diff options
context:
space:
mode:
authorSergey Glukhov <sergey.glukhov@oracle.com>2011-02-11 12:54:16 +0300
committerSergey Glukhov <sergey.glukhov@oracle.com>2011-02-11 12:54:16 +0300
commit654dd03f2a5e1b532169e435602c92c1da2062b8 (patch)
treee30f93140e035dd0d8eaf0d03cfaefff234dd1b3 /sql/strfunc.cc
parentfbb0e5b295117f2477aa754844838aa874bb2637 (diff)
downloadmariadb-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