Tree Index doesn't check key sizes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tarantool |
Fix Released
|
Undecided
|
Roman Tsisyk |
Bug Description
Single-part:
space[0].enabled = 1
space[0]
space[0]
space[0]
space[0]
localhost> INSERT INTO t0 VALUES('fdsafdsa') <!-- Incorrect behaviour
Insert OK, 1 rows affected
localhost> INSERT INTO t0 VALUES(
Insert OK, 1 rows affected
Multi-part:
space[0].enabled = 1
space[0]
space[0]
space[0]
space[0]
space[0]
space[0]
localhost> INSERT into t0 VALUES('aaaaaa')
Insert ERROR, Field 2 was not found in the tuple (ER_NO_SUCH_FIELD) <!-- Correct behaviour
localhost> INSERT into t0 VALUES('aaaaaa', 'xxxxxxxx') <!-- Incorrect behaviour
Insert OK, 1 rows affected
localhost> INSERT into t0 VALUES('aaaaaa', 11111) <!-- Incorrect behaviour
Insert OK, 1 rows affected
localhost> INSERT into t0 VALUES(11111, 'yyyyyyy') <!-- Incorrect behaviour
Insert OK, 1 rows affected
localhost>
Changed in tarantool: | |
status: | In Progress → Fix Committed |
Changed in tarantool: | |
status: | Fix Committed → Fix Released |
Fix committed to space-fields branch