mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-32555 wrong result with an index and a partially null-rejecting condition
ref->null_rejecting is a key_part_map. we need to check the bit corresponding to the particular store_key. Note that there are no store_key objects for const ref parts.
This commit is contained in:
@@ -151,6 +151,7 @@ void Expression_cache_tmptable::init()
|
||||
}
|
||||
cache_table->s->keys= 1;
|
||||
ref.null_rejecting= 1;
|
||||
ref.const_ref_part_map= 0;
|
||||
ref.disable_cache= FALSE;
|
||||
ref.has_record= 0;
|
||||
ref.use_count= 0;
|
||||
|
Reference in New Issue
Block a user