mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 22:25:32 +02:00
Fixed LP bug #752353.
In some cases the field max_part_no of the SEL_ARG structure was not initialized. That triggered a Valgrind complain.
This commit is contained in:
parent
b315c62bf1
commit
79439d9a74
4 changed files with 40 additions and 0 deletions
|
|
@ -7338,6 +7338,7 @@ get_mm_parts(RANGE_OPT_PARAM *param, COND *cond_func, Field *field,
|
|||
DBUG_RETURN(0); // OOM
|
||||
}
|
||||
sel_arg->part=(uchar) key_part->part;
|
||||
sel_arg->max_part_no= sel_arg->part+1;
|
||||
tree->keys[key_part->key]=sel_add(tree->keys[key_part->key],sel_arg);
|
||||
tree->keys_map.set_bit(key_part->key);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue