Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#1374 closed defect (fixed)

min/max on boolean arrays segfaults

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 (4)

comment:1 by Dimitar Misev, 8 years ago

Description: modified (diff)

comment:2 by Dimitar Misev, 8 years ago

Description: modified (diff)

comment:3 by Dimitar Misev, 7 years ago

Resolution: fixed
Status: newclosed

comment:4 by Dimitar Misev, 7 years ago

Milestone: 10.09.7
Note: See TracTickets for help on using tickets.