Tarantool development patches archive
 help / color / mirror / Atom feed
From: "n.pettik" <korablev@tarantool.org>
To: tarantool-patches@freelists.org
Cc: Kirill Shcherbatov <kshcherbatov@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH v1 2/2] sql: unset pragma in transitive-transactions test
Date: Thu, 21 Jun 2018 18:45:46 +0300	[thread overview]
Message-ID: <EA90AF09-D59E-4710-983F-D27F34E063DE@tarantool.org> (raw)
In-Reply-To: <247508fef5484e49ff4be8181078533cac8e0cd3.1529510053.git.kshcherbatov@tarantool.org>


> +box.sql.execute('PRAGMA defer_foreign_keys = 0;')
> +box.sql.execute('pragma foreign_keys = 0;’);

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.

  reply	other threads:[~2018-06-21 15:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20 15:55 [tarantool-patches] [PATCH v1 0/2] SQL Tests failed on concurrent launch Kirill Shcherbatov
2018-06-20 15:55 ` [tarantool-patches] [PATCH v1 1/2] sql: finish clean-up in view_delayed_wal test Kirill Shcherbatov
2018-06-21 15:48   ` [tarantool-patches] " n.pettik
2018-06-20 15:55 ` [tarantool-patches] [PATCH v1 2/2] sql: unset pragma in transitive-transactions test Kirill Shcherbatov
2018-06-21 15:45   ` n.pettik [this message]
2018-06-21 16:06     ` [tarantool-patches] " Kirill Shcherbatov
2018-06-25 13:39 ` [tarantool-patches] Re: [PATCH v1 0/2] SQL Tests failed on concurrent launch Kirill Shcherbatov
2018-06-25 13:42   ` n.pettik
2018-06-26  8:01     ` Kirill Yukhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EA90AF09-D59E-4710-983F-D27F34E063DE@tarantool.org \
    --to=korablev@tarantool.org \
    --cc=kshcherbatov@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH v1 2/2] sql: unset pragma in transitive-transactions test' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox