Skip to content

Commit

Permalink
internal: fix missing dev_checks
Browse files Browse the repository at this point in the history
  • Loading branch information
DifferentialOrange committed Mar 31, 2023
1 parent a8e8bb3 commit 670d7c5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions crud/insert.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ local function call_insert_on_router(vshard_router, space_name, original_tuple,
add_space_schema_hash = '?boolean',
fields = '?table',
vshard_router = '?string|table',
skip_nullability_check_on_flatten = '?boolean',
})

local space, err = utils.get_space(space_name, vshard_router, opts.timeout)
Expand Down
1 change: 1 addition & 0 deletions crud/insert_many.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ local function call_insert_many_on_router(vshard_router, space_name, original_tu
stop_on_error = '?boolean',
rollback_on_error = '?boolean',
vshard_router = '?string|table',
skip_nullability_check_on_flatten = '?boolean',
})

local space, err = utils.get_space(space_name, vshard_router, opts.timeout)
Expand Down
1 change: 1 addition & 0 deletions crud/replace.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ local function call_replace_on_router(vshard_router, space_name, original_tuple,
add_space_schema_hash = '?boolean',
fields = '?table',
vshard_router = '?string|table',
skip_nullability_check_on_flatten = '?boolean',
})

local space, err = utils.get_space(space_name, vshard_router, opts.timeout)
Expand Down
1 change: 1 addition & 0 deletions crud/replace_many.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ local function call_replace_many_on_router(vshard_router, space_name, original_t
stop_on_error = '?boolean',
rollback_on_error = '?boolean',
vshard_router = '?string|table',
skip_nullability_check_on_flatten = '?boolean',
})

local space, err = utils.get_space(space_name, vshard_router, opts.timeout)
Expand Down
2 changes: 2 additions & 0 deletions crud/select/iterator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function Iterator.new(opts)
call_opts = 'table',
sharding_hash = 'table',

vshard_router = 'table',
yield_every = '?number',
})

Expand Down Expand Up @@ -60,6 +61,7 @@ function Iterator.new(opts)

sharding_hash = opts.sharding_hash,

vshard_router = opts.vshard_router,
yield_every = opts.yield_every,
}

Expand Down
2 changes: 2 additions & 0 deletions crud/upsert.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ local UPSERT_FUNC_NAME = '_crud.upsert_on_storage'
local function upsert_on_storage(space_name, tuple, operations, opts)
dev_checks('string', 'table', 'table', {
add_space_schema_hash = '?boolean',
fields = '?table',
sharding_key_hash = '?number',
sharding_func_hash = '?number',
skip_sharding_hash_check = '?boolean',
Expand Down Expand Up @@ -60,6 +61,7 @@ local function call_upsert_on_router(vshard_router, space_name, original_tuple,
add_space_schema_hash = '?boolean',
fields = '?table',
vshard_router = '?string|table',
skip_nullability_check_on_flatten = '?boolean',
})

local space, err = utils.get_space(space_name, vshard_router, opts.timeout)
Expand Down
1 change: 1 addition & 0 deletions crud/upsert_many.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ local function call_upsert_many_on_router(vshard_router, space_name, original_tu
stop_on_error = '?boolean',
rollback_on_error = '?boolean',
vshard_router = '?string|table',
skip_nullability_check_on_flatten = '?boolean',
})

local space, err = utils.get_space(space_name, vshard_router, opts.timeout)
Expand Down

0 comments on commit 670d7c5

Please sign in to comment.