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 0640925C70 for ; Thu, 21 Jun 2018 11:45:56 -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 lFkyX7bXOwiJ for ; Thu, 21 Jun 2018 11:45:55 -0400 (EDT) Received: from smtp47.i.mail.ru (smtp47.i.mail.ru [94.100.177.107]) (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 4C19C25C6C for ; Thu, 21 Jun 2018 11:45:55 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: [tarantool-patches] Re: [PATCH v1 2/2] sql: unset pragma in transitive-transactions test From: "n.pettik" In-Reply-To: <247508fef5484e49ff4be8181078533cac8e0cd3.1529510053.git.kshcherbatov@tarantool.org> Date: Thu, 21 Jun 2018 18:45:46 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <247508fef5484e49ff4be8181078533cac8e0cd3.1529510053.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: Kirill Shcherbatov > +box.sql.execute('PRAGMA defer_foreign_keys =3D 0;') > +box.sql.execute('pragma foreign_keys =3D 0;=E2=80=99); Could you please explain, why do you need to turn off foreign keys? AFAIK by default they are enabled. It is okay to change defer mode, but I see no reason to disable them at all.