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 F1AF023526 for ; Tue, 7 Aug 2018 13:39:22 -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 I1yTxQX8qiKi for ; Tue, 7 Aug 2018 13:39:22 -0400 (EDT) Received: from smtp54.i.mail.ru (smtp54.i.mail.ru [217.69.128.34]) (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 A7A5C22AD9 for ; Tue, 7 Aug 2018 13:39:22 -0400 (EDT) Date: Tue, 7 Aug 2018 20:39:20 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH v1 1/1] sql: fix segfault with check referencing new table Message-ID: <20180807173920.d3chazfd2roogqze@tarantool.org> References: <9caa1c4097e37c7d2eed85d6d52ac3af724ccf34.1533571088.git.kshcherbatov@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9caa1c4097e37c7d2eed85d6d52ac3af724ccf34.1533571088.git.kshcherbatov@tarantool.org> 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: korablev@tarantool.org, Kirill Shcherbatov Hello, On 06 авг 18:58, Kirill Shcherbatov wrote: > Starting with 9a54320 on tuple insertion in _space we > make sql_checks_resolve_space_def_reference for checks > if any. During executing on_replace_dd_space trigger > box_space_id_by_name that takes a look to _space space > returnes not-nullable value, but the same time space > object doesn't present in space chache and could not be > found with space_by_id. > Before 1.10 path 0ecabde merged to 2.0 as a part of 13df2b1 > box_space_id_by_name returned BOX_ID_NIL because of > "multi-engine transaction error" that is not rased in same > situation now. > > Closes #3611. > --- > Branch: http://github.com/tarantool/tarantool/tree/kshch/gh-3611-subquery-with-self-reference-check > Issue: https://github.com/tarantool/tarantool/issues/3611 I've checked your patch into 2.0 branch. -- Regards, Kirill Yukhin