Commit f16633c1 authored by Kentoku SHIBA's avatar Kentoku SHIBA

fix evaluating bitmap issue in spider

parent 18f32f2c
...@@ -15261,10 +15261,10 @@ void spider_mbase_handler::minimum_select_bitmap_create() ...@@ -15261,10 +15261,10 @@ void spider_mbase_handler::minimum_select_bitmap_create()
bitmap_is_set(table->write_set, field_index) ? bitmap_is_set(table->write_set, field_index) ?
"TRUE" : "FALSE")); "TRUE" : "FALSE"));
if ( if (
spider_bit_is_set(spider->wide_handler->ft_discard_bitmap, field_index) & spider_bit_is_set(spider->wide_handler->ft_discard_bitmap, field_index) &&
( (
spider_bit_is_set(spider->wide_handler->searched_bitmap, field_index) | spider_bit_is_set(spider->wide_handler->searched_bitmap, field_index) ||
bitmap_is_set(table->read_set, field_index) | bitmap_is_set(table->read_set, field_index) ||
bitmap_is_set(table->write_set, field_index) bitmap_is_set(table->write_set, field_index)
) )
) { ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment