If SELECT request specifies tuple count 0, no error
Bug #702397 reported by
Kostja Osipov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tarantool |
Fix Released
|
Wishlist
|
Damien Lefortier |
Bug Description
If tuple count in SELECT packet is 0, the server does not reply with an error, but returns an empty result set.
Produce an error instead.
How to repeat:
An exemplary problematic request looks like below:
request type, 4 bytes = 17 (select)
body length, 4 bytes = 20
request id, 4 bytes = 0
namespace no, 4 bytes = 0
index_no, 4 bytes = 0
offset, 4 bytes = 0
limit, 4 bytes = MAX_INT
tuple count, 4 bytes = 0
Changed in tarantool: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
description: | updated |
Changed in tarantool: | |
assignee: | nobody → Damien Lefortier (damien-lefortier) |
milestone: | none → 1.3.5 |
status: | Confirmed → In Progress |
Changed in tarantool: | |
status: | In Progress → Fix Committed |
Changed in tarantool: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.