FalkorDB 4.22.6
Bug Fixes
- Server crash on a
UNIONnested inside aCALL {}sub-query.
When the input to aCALL {}sub-query that contains aUNIONwas empty, the
enclosing operation reset the embedded union before it had been initialized,
and that reset overwrote the outer query's result-set column mapping with the
sub-query's internal record layout. A missing alias was then stored as a
column index, so reading the result went out of bounds and crashed the server
with a segmentation fault. Which query owns the result columns is now decided
when the plan is built, so an embeddedUNIONnever remaps the outer results.
As an extra safeguard, a missing alias now raises a query error instead of
crashing. (#4140, fixes #4139)
Full Changelog: v4.22.5...v4.22.6