[tarantool-patches] Re: [PATCH v1 2/4] sql: disallow use of TYPEOF in Check

Konstantin Osipov kostja at tarantool.org
Fri Jan 11 17:06:45 MSK 2019


* Kirill Shcherbatov <kshcherbatov at tarantool.org> [19/01/10 23:12]:
> Due to the fact that we are going to perform CHECKs validations
> on the server side, checks are performed on the fields with
> affinity already applied that may differ with type of original
> data.
> After the introduction of static types, the need for type checks
> based on the CHECKs disappeared.

SQL is server side as well. I would say that we're changing the
timing when check constraint validation is invoked: it is now
invoked inside a space trigger, rather than in vdbe.

> 

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov




More information about the Tarantool-patches mailing list