Opened 3 years ago

Closed 3 years ago

#564 closed defect (fixed)

Wrong results from 'or' and 'xor' operators

Reported by: vliaukevich Owned by: vliaukevich
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 Changed 3 years ago by vliaukevich

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.