Sorry, here is config for namespace: # fifo's space[6].enabled = 1 space[6].index[0].type = "HASH" space[6].index[0].unique = 1 space[6].index[0].key_field[0].fieldno = 0 space[6].index[0].key_field[0].type = "NUM"
** Tags added: string ** Tags added: php tarantool -- You received this bug notification because you are a member of Tarantool Development Team, which is subscribed to tarantool. https://bugs.launchpad.net/bugs/1184198 Title: Number in string bug Status in Tarantool - an efficient in-memory data store: New Bug description: lua box.select(6,0,1) --- - 1: {6, 7, 842216504, '2', '1', '1', 12849, 12849, '2', '14762'} in this tuple all fields except 0 and 1 are strings, and were provided via php strongly converted to a string. When I try to set 3rd field of the tuple to value "8432", I got next result: ... lua box.update(6, 1, "=p", 3, "8432") --- - 1: {6, 7, 842216504, '2', '1', '1', 12849, 12849, '2', '14762'} and the same request via php: array(2) { ["count"]=> int(1) ["tuples_list"]=> array(1) { [0]=> array(11) { [0]=> int(1) [1]=> int(6) [2]=> int(7) [3]=> int(842216504) [4]=> string(1) "2" [5]=> string(1) "1" [6]=> string(1) "1" [7]=> string(2) "12" [8]=> string(2) "12" [9]=> string(1) "2" [10]=> string(5) "14762" } } } To manage notifications about this bug go to: https://bugs.launchpad.net/tarantool/+bug/1184198/+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

