[tarantool-patches] Re: [PATCH v2][vshard] Check self passed to object methods

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Mon Jun 4 15:12:22 MSK 2018


Pushed with my minor fixes.

On 04/06/2018 14:12, AKhatskevich wrote:
> Changes:
> 
> 1. `check_self_arg` function wrapper added to utils.
> Its mechanics:
>   * check that the first argument has expected metatable
>   * return result of a real function
> 
> 2. Check, that self argument is passed to all replicaset and replica
> object methods.
> 
> Closes: #81
> ---
> Branch: https://github.com/tarantool/vshard/tree/kh/gh-81-wo-mt-sort
> Issue: https://github.com/tarantool/vshard/issues/81
> 




More information about the Tarantool-patches mailing list