[tarantool-patches] Re: [PATCH v4 4/4] box: user-friendly interface to manage ck constraints

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Tue Jun 4 00:15:06 MSK 2019


>>
>> By the way, what happens, if a constraint object is assigned
>> to a local variable, then its space is dropped. What if I
>> then call :drop() on the constraint object?
> s2:drop()
> ---
> ...
> physics_ck
> ---
> - []
> ...
> physics_ck:drop()
> ---
> - error: '[string "return physics_ck:drop() "]:1: attempt to call method ''drop''
>     (a nil value)'
> ...

WTF? Drop method should exist. You saved in physics_ck not a constraint,
but a list of them. Fix that, this test is incorrect.




More information about the Tarantool-patches mailing list