From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id DE4532E3CD for ; Tue, 7 May 2019 12:20:48 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UnlVywhtf-OJ for ; Tue, 7 May 2019 12:20:48 -0400 (EDT) Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [94.100.177.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 97B842E3AF for ; Tue, 7 May 2019 12:20:48 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: [tarantool-patches] Re: [PATCH v1 1/1] sql: replace schema_find_id() by box_space_id_by_name() From: "n.pettik" In-Reply-To: <46e305e6bbce44d3a785963a58135d9efa425bdb.1556377851.git.imeevma@gmail.com> Date: Tue, 7 May 2019 19:20:45 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <642C2122-385A-4FBB-86DB-DB75E77081E6@tarantool.org> References: <46e305e6bbce44d3a785963a58135d9efa425bdb.1556377851.git.imeevma@gmail.com> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: Imeev Mergen > +-- 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?