diff options
author | unknown <hf@deer.(none)> | 2004-08-22 00:06:19 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2004-08-22 00:06:19 +0500 |
commit | ac4c0538529c0bf351d116b0b9d2c58c7fc3bc35 (patch) | |
tree | d3f995a484790563261079b4da581b7e2250478b /os2/ReadMe.txt | |
parent | 8f68a9eb6f62183742d8f37bc5ec94a48e831a5d (diff) | |
download | mariadb-git-ac4c0538529c0bf351d116b0b9d2c58c7fc3bc35.tar.gz |
Proposed fix for bug #5003 (subselect with MIN() and LIKE crashes server)
We have next problem here:
active_index is wrong in the subselect's handler on the second val_int() call.
Optimizer sees that we can use index-read for that kind of condition,
and matching_cond() (sql/opt_sum.cc) doesn't. I suspect, proper solution is
to add appropriate code to the matching_cond() but now just added
missed initialization.
mysql-test/r/subselect.result:
Appropriate test result
mysql-test/t/subselect.test:
Test case added
sql/records.cc:
index's initialization added
Diffstat (limited to 'os2/ReadMe.txt')
0 files changed, 0 insertions, 0 deletions