diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-07-31 17:24:52 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-07-31 17:24:52 +0400 |
commit | 04684b7709f55a5a9de9226e834bcfbed05ee5c0 (patch) | |
tree | 5771f2c3c0f2401e1eb9f6164ecf71eb0e002b91 /mysql-test/r/partition_blackhole.result | |
parent | 6fb1786584bc85db84e7ad184d6162d3208068c0 (diff) | |
download | mariadb-git-04684b7709f55a5a9de9226e834bcfbed05ee5c0.tar.gz |
MDEV-4817: Optimizer fails to optimize expression of the form 'FOO' IS NULL
- Modify the way Item_cond::fix_fields() and Item_cond::eval_not_null_tables()
calculate bitmap for Item_cond_or::not_null_tables():
if they see a "... OR inexpensive_const_false_item OR ..." then the item can
be ignored.
- Updated test results. There can be more warnings produced since parts of WHERE
are evaluated more times.
Diffstat (limited to 'mysql-test/r/partition_blackhole.result')
0 files changed, 0 insertions, 0 deletions