Commit d18ad41
crud: store the cursor's
In scope of tarantool/tarantool#8147, a new context-dependent extension for
box tuples, `MP_TUPLE`, is introduced. If the merger's buffer source is
used, raw MsgPack is received, which does not allow for passing the context
required for decoding `MP_TUPLE`.
At the same time, all box tuples are now encoded as `MP_TUPLE` by default.
If the merger's tuple chunk can be decoded by manually skipping the
extension header of `MP_TUPLE` and the tuple format of individual tuples,
the cursor is decoded using the Lua `msgpack` library, which cannot handle
`MP_TUPLE`s without a decoding context.
The cursor's `after_tuple` field is a box tuple, so in order to overcome
the limitation above, we need to explicitly convert it to a Lua table.
Needed for tarantool/tarantool#8147after_tuple explicitly as a Lua table1 parent bbe1bd5 commit d18ad41
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments