[Tarantool-patches] [PATCH v2 3/3] box: let only box handle constraint dup errors

Konstantin Osipov kostja.osipov at gmail.com
Wed Dec 4 20:54:50 MSK 2019


* Roman Khabibov <roman.habibov at tarantool.org> [19/12/04 19:25]:
> + * Check if constraint with @a name exists within @a space. Call
> + * diag_set() if it is so.
> + *
> + * @param space Space to find constraint within.
> + * @param name  Constraint name.
> + *
> + * @retval true  Constraint exists.
> + * @retval false Doesn't exist.
> + */
> +static inline bool
> +space_constraint_exists(struct space *space, const char *name)
> +{

Looks like it belongs to space.h/c


-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list