Skip to content

tarantool console incorrectly prints some strings #15

@IlyaM

Description

@IlyaM

Reproduceable with 1.4.9.

When inserting tuples with string data that contains numbers from [1000,9999] range afterwards the same data is printed incorrectly in the shell if I select corresponding tuples. As far as I can tell the actual data in the storage is correct (because I can see correct values if I use python client library to retrieve it)

I.e. example from console session; the following selects end up in incorrect data printed

localhost> insert into t0 values ('1', '1000')
Insert OK, 1 rows affected
localhost> select * from t0 where k0='1'
Select OK, 1 rows affected
[1, 808464433]
localhost> replace t0 values ('1', '2000')
Insert OK, 1 rows affected
localhost> select * from t0 where k0='1'
Select OK, 1 rows affected
[1, 808464434]
localhost> replace t0 values ('1', '9999')
Insert OK, 1 rows affected
localhost> select * from t0 where k0='1'
Select OK, 1 rows affected
[1, 960051513]

but these selects look ok

localhost> replace t0 values ('1', '10000')
Insert OK, 1 rows affected
localhost> select * from t0 where k0='1'
Select OK, 1 rows affected
[1, 10000]
localhost> replace t0 values ('1', '100')
Insert OK, 1 rows affected
localhost> select * from t0 where k0='1'
Select OK, 1 rows affected
[1, 100]

Metadata

Metadata

Assignees

Labels

featureA new functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions