[tarantool-patches] Re: [PATCH v3 2/3] box: run check constraint tests on space alter

Kirill Shcherbatov kshcherbatov at tarantool.org
Mon May 13 10:09:55 MSK 2019


>> To be honest, I don’t get what Konstantin really meant in his next letter.
>> I’m ok with your approach.
> 
> What is it that is unclear?

>> It's better to fetch the bound field upon first access.
>> Most paths of the CHECK constraint may not touch most of the
>> fields.

As far as I understand, Kostya wants something like binding on
demand for VDBE; maybe something like new op

"OP_Fetch | struct tuple * | fieldno" =

static inline const char *
tuple_field(struct tuple *tuple, uint32_t fieldno)
+
result cache in VDBE




More information about the Tarantool-patches mailing list