[tarantool-patches] Re: [PATCH v3 4/4] sql: use name instead of function pointer for UDF

Konstantin Osipov kostja.osipov at gmail.com
Fri Sep 20 10:19:22 MSK 2019


* Kirill Shcherbatov <kshcherbatov at tarantool.org> [19/09/16 15:49]:
> This patch changes OP_Function parameters convention: now a
> function's name is passed instead of pointer to the function
> object. This allows to normally handle the situation, when UDF
> has been deleted to the moment of the VDBE code execution.
> In particular case this may happen with CK constraints that
> refers to a deleted persistent function.

Usually we protect pointers with schema_version, rather than avoid
them at all. Please take a look how iterators work.


-- 
Konstantin Osipov, Moscow, Russia




More information about the Tarantool-patches mailing list