Opened 8 years ago

Last modified 6 years ago

#1374 closed defect

min/max on boolean arrays segfaults — at Version 2

Reported by: Dimitar Misev Owned by:
Priority: major Milestone: 9.7
Component: catalogmgr Version: development
Keywords: Cc: Peter Baumann
Complexity: Medium

Description (last modified by Dimitar Misev)

Technically it should work fine, as bool converts to int implicitly, so true and false can be compared in the end. Currently a query like below segfaults however:

rasql -q 'select min_cells(<[0:1] true, false>)' --out string

Casting to long works fine:

rasql -q 'select min_cells((long)<[0:1] true, false>)' --out string

Change History (2)

comment:1 by Dimitar Misev, 7 years ago

Description: modified (diff)

comment:2 by Dimitar Misev, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.