Skip to content

Commit

Permalink
dev_checks: support tuple as cdata for Tarantool 3.0
Browse files Browse the repository at this point in the history
Since dev_checks are disable in production, it affects only tests.
  • Loading branch information
DifferentialOrange committed Dec 29, 2023
1 parent 0eec39d commit 24e4270
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crud/count.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ local count = {}

local function count_on_storage(space_name, index_id, conditions, opts)
dev_checks('string', 'number', '?table', {
scan_value = 'table',
scan_value = 'table|cdata',
tarantool_iter = 'number',
yield_every = '?number',
scan_condition_num = '?number',
Expand Down
4 changes: 2 additions & 2 deletions crud/readview.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ end

local function select_readview_on_storage(space_name, index_id, conditions, opts)
dev_checks('string', 'number', '?table', {
scan_value = 'table',
after_tuple = '?table',
scan_value = 'table|cdata',
after_tuple = '?table|cdata',
tarantool_iter = 'number',
limit = 'number',
scan_condition_num = '?number',
Expand Down

0 comments on commit 24e4270

Please sign in to comment.