Will be fixed with introduction of msgpack.
** Changed in: tarantool
Milestone: None => 1.6.1
** Changed in: tarantool
Assignee: (unassigned) => Roman Tsisyk (rtsisyk)
** Changed in: tarantool
Importance: Undecided => High
** Changed in: tarantool
Status: New => Confirmed
--
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:
Confirmed
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