Skip to content

Commit 861c90c

Browse files
WIP
1 parent 7dd8b82 commit 861c90c

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

crud/select.lua

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,9 @@ function checkers.vshard_call_mode(p)
3030
end
3131

3232
local function select_on_storage(space_name, index_id, conditions, opts)
33-
-- For compatibility with IPROTO_CALL_RET_TUPLE_EXTENSION feature.
34-
if opts ~= nil then
35-
if box.tuple.is(opts.scan_value) then
36-
opts.scan_value = opts.scan_value:totable()
37-
end
38-
if box.tuple.is(opts.after_tuple) then
39-
opts.after_tuple = opts.after_tuple:totable()
40-
end
41-
end
4233
dev_checks('string', 'number', '?table', {
43-
scan_value = 'table',
44-
after_tuple = '?table',
34+
scan_value = 'table|cdata',
35+
after_tuple = '?table|cdata',
4536
tarantool_iter = 'number',
4637
limit = 'number',
4738
scan_condition_num = '?number',

crud/select/executor.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ end
7676

7777
function executor.execute(space, index, filter_func, opts)
7878
dev_checks('table', 'table', 'function', {
79-
scan_value = 'table',
80-
after_tuple = '?table',
79+
scan_value = 'table|cdata',
80+
after_tuple = '?table|cdata',
8181
tarantool_iter = 'number',
8282
limit = '?number',
8383
yield_every = '?number',

0 commit comments

Comments
 (0)