Skip to content

Commit

Permalink
fix evaluating bitmap issue in spider
Browse files Browse the repository at this point in the history
  • Loading branch information
Kentoku committed Jun 5, 2020
1 parent 18f32f2 commit f16633c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions storage/spider/spd_db_mysql.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15261,10 +15261,10 @@ void spider_mbase_handler::minimum_select_bitmap_create()
bitmap_is_set(table->write_set, field_index) ?
"TRUE" : "FALSE"));
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) |
bitmap_is_set(table->read_set, 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->write_set, field_index)
)
) {
Expand Down

0 comments on commit f16633c

Please sign in to comment.