** Changed in: tarantool
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1073457

Title:
  select probably has incorrect behaviour with multipart keys

Status in Tarantool - an efficient in-memory data store:
  Invalid

Bug description:
  space[0].enabled = 1
  space[0].index[0].type = "TREE"
  space[0].index[0].unique = 1
  space[0].index[0].key_field[0].fieldno = 0
  space[0].index[0].key_field[0].type = "NUM"
  space[0].index[0].key_field[1].fieldno = 1
  space[0].index[0].key_field[1].type = "NUM"

   INSERT INTO t0 VALUES(2,1)
   INSERT INTO t0 VALUES(2,3)
   INSERT INTO t0 VALUES(2,4)
   INSERT INTO t0 VALUES(2,5)
   INSERT INTO t0 VALUES(2,6)
   INSERT INTO t0 VALUES(2,7)
   INSERT INTO t0 VALUES(2,8)

  localhost> lua box.select(0, 0, 2)
  ---
   - 2: {1}
   - 2: {3}
   - 2: {4}
   - 2: {5}
   - 2: {6}
   - 2: {7}
   - 2: {8}
  ...

  
  Must return ClientError OR empty set (TBD) because the index has compond key, 
but only one value was provided in the request.

To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1073457/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to