[tarantool-patches] Re: [PATCH v1 1/1] sql: replace schema_find_id() by box_space_id_by_name()

n.pettik korablev at tarantool.org
Tue May 7 19:20:45 MSK 2019


> +-- Ensure that the CREATE TRIGGER statement cannot be executed if
> +-- the user does not have enough rights. In this case, the user
> +-- does not have rights to read from _space.
> +--
> +box.execute([[CREATE TRIGGER r1 AFTER INSERT ON t1 FOR EACH ROW BEGIN SELECT 1; END; ]])
> +---
> +- error: Space 'T1' does not exist

Such error looks a bit confusing IMHO. Could we tell the absence
of space from lack of rights?





More information about the Tarantool-patches mailing list