Commit 9d5a8bd
committed
MDEV-33665: MSAN failure due to uninitialized Item_func::not_null_tables_cache
eliminate_item_equal() uses quick_fix_field() for Item objects it creates. It computes some of their attributes on its own (see update_used_tables() call) but it doesn't update not_null_tables_cache. Recompute not_null_tables_cache also. Not computing it is currently harmless, except for producing MSAN error when some other code propagates the wrong value of not_null_tables_cache to other item.1 parent 49cf702 commit 9d5a8bd
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16209 | 16209 | | |
16210 | 16210 | | |
16211 | 16211 | | |
| 16212 | + | |
16212 | 16213 | | |
16213 | 16214 | | |
16214 | 16215 | | |
| |||
16266 | 16267 | | |
16267 | 16268 | | |
16268 | 16269 | | |
| 16270 | + | |
16269 | 16271 | | |
16270 | 16272 | | |
16271 | 16273 | | |
| |||
0 commit comments