diff options
author | Sergei Petrunia <sergey@mariadb.com> | 2023-05-09 13:09:00 +0300 |
---|---|---|
committer | Sergei Petrunia <sergey@mariadb.com> | 2023-05-09 13:09:00 +0300 |
commit | 368dd22a816f3b437bccd0b9ff28b9de9b1abf0a (patch) | |
tree | 39a0097cb826e855f5096dcac56f28da5537e1f7 | |
parent | b3edbf25a1f3bb4c8d7e9824096fc0538c04a977 (diff) | |
download | mariadb-git-11.0.tar.gz |
MDEV-31223: UBSan error: sql_select.h:969:7: runtime error: load of value...bb-11.0-mdev3122311.0
In Loose_scan_opt::save_to_position, initialize
POSITION::firstmatch_with_join_buf.
-rw-r--r-- | sql/opt_subselect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h index c0398fc8539..8140a01974d 100644 --- a/sql/opt_subselect.h +++ b/sql/opt_subselect.h @@ -316,6 +316,7 @@ public: pos->loosescan_picker.loosescan_key= best_loose_scan_key; pos->loosescan_picker.loosescan_parts= best_max_loose_keypart + 1; pos->use_join_buffer= FALSE; + pos->firstmatch_with_join_buf= FALSE; pos->table= tab; pos->range_rowid_filter_info= tab->range_rowid_filter_info; pos->ref_depend_map= best_ref_depend_map; |