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

Konstantin Osipov kostja at tarantool.org
Mon May 13 10:49:48 MSK 2019


* Kirill Shcherbatov <kshcherbatov at tarantool.org> [19/05/13 10:13]:
> >> 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

Correct.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32




More information about the Tarantool-patches mailing list