summaryrefslogtreecommitdiff
path: root/mysql-test/r/mysql.result
diff options
context:
space:
mode:
authorGeorgi Kodinov <kgeorge@mysql.com>2008-07-04 17:02:17 +0300
committerGeorgi Kodinov <kgeorge@mysql.com>2008-07-04 17:02:17 +0300
commit0e1709bde6df12b392426582764702e736bcbb03 (patch)
tree9a1c27910c495b0186cf676a7ad9292bea084f27 /mysql-test/r/mysql.result
parentb6b6d98fff188128b35e69da4679d0f0bb48239f (diff)
downloadmariadb-git-0e1709bde6df12b392426582764702e736bcbb03.tar.gz
Bug#37627: Killing query with sum(exists()) or avg(exists()) reproducibly crashes server
When there is an error executing EXISTS predicates they return NULL as their string or decimal value but don't set the NULL value flag. Fixed by returning 0 (as a decimal or a string) on error exectuting the subquery. Note that we can't return NULL as EXISTS is not supposed to return NULL. mysql-test/r/subselect.result: Bug#37627: test case mysql-test/t/subselect.test: Bug#37627: test case sql/item_subselect.cc: Bug#37627: return decimal (or string) 0 isntead of a NULL pointer on error calculating an EXISTS predicate.
Diffstat (limited to 'mysql-test/r/mysql.result')
0 files changed, 0 insertions, 0 deletions