Server crashes in subselect_union_engine::no_rows

Description

Stack trace from 5.5 commit 9c9d10b441fe79b111509949ca40afe1a6284c0f

Notes:

  • UNION in subquery is expected to fail, because there is no 2nd column to order by; but it crashes instead.

  • The tentative patch for MDEV-9304 does not fix this problem.

Environment

None

Assignee

Vicențiu Ciorbaru

Reporter

Elena Stepanova

Labels

None

Fix versions

Affects versions

Priority

Major
Configure