Opened 11 years ago

Closed 11 years ago

#564 closed defect (fixed)

Wrong results from 'or' and 'xor' operators

Reported by: Veranika Liaukevich Owned by: Veranika Liaukevich
Priority: minor Milestone:
Component: catalogmgr Version: development
Keywords: Cc:
Complexity: Easy

Description

Operators 'or' and 'xor' don't work properly on signed integers. For example, 6 or 10 = 14, 6 xor 10 = 12, but…

$ rasql -q 'select 6 or 10 from a' --out string
....
Query result collection has 1 element(s):
  Result element 1: 2
$ rasql -q 'select 6 xor 10 from a' --out string
...
Query result collection has 1 element(s):
  Result element 1: 2

Change History (1)

comment:1 by Veranika Liaukevich, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.