Opened 15 years ago

Closed 13 years ago

#32 closed defect (duplicate)

multiplication by long scalar delivers wrong result

Reported by: Andrei Aiordachioaie Owned by: cj
Priority: major Milestone:
Component: server Version: 8.1
Keywords: Cc: p.baumann@…
Complexity: Medium

Description

The query
select png(((c)*(2))) from rgb AS c
returns a weird image. The underlying data of rgb is 3-banded, but the result of this query looks like this 3-band data is assumed to be 1-band. Attached is my result of the above query.

For comparison, the query where the scalar is a char value delivers the correct result:
select png(((c)*(2c))) from rgb AS c

Attachments (1)

rasql_1.png (3.4 KB ) - added by Andrei Aiordachioaie 15 years ago.

Download all attachments as: .zip

Change History (2)

by Andrei Aiordachioaie, 15 years ago

Attachment: rasql_1.png added

comment:1 by Dimitar Misev, 13 years ago

Resolution: duplicate
Status: newclosed

duplicate of #35

Note: See TracTickets for help on using tickets.