mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-35135 Assertion `!is_cond()' failed in Item_bool_func::val_int / do_select
Change val_int with val_bool when it is a condition.
This commit is contained in:
@@ -4828,7 +4828,7 @@ bool JOIN_CACHE_BKAH::skip_index_tuple(range_id_t range_info)
|
||||
next_rec_ref_ptr= get_next_rec_ref(next_rec_ref_ptr);
|
||||
uchar *rec_ptr= next_rec_ref_ptr + rec_fields_offset;
|
||||
get_record_by_pos(rec_ptr);
|
||||
if (join_tab->cache_idx_cond->val_int())
|
||||
if (join_tab->cache_idx_cond->val_bool())
|
||||
DBUG_RETURN(FALSE);
|
||||
} while(next_rec_ref_ptr != last_rec_ref_ptr);
|
||||
DBUG_RETURN(TRUE);
|
||||
|
Reference in New Issue
Block a user