Server crashes in SEL_ARG::rb_insert with index_merge+index_merge_sort_union, FORCE INDEX

Description

Stack trace from:

Also reproducible on current 5.5, 10.0. Not reproducible on MySQL 5.6.

Minimal optimizer_switch: index_merge=on,index_merge_sort_union=on
Full optimizer_switch (default):

Test case:

EXPLAIN also crashes.

Environment

None

Assignee

Sergei Petrunia

Reporter

Elena Stepanova

Labels

Fix versions

Affects versions

Priority

Blocker
Configure