Tarantool development patches archive
 help / color / mirror / Atom feed
From: Kirill Shcherbatov <kshcherbatov@tarantool.org>
To: tarantool-patches@freelists.org
Cc: korablev@tarantool.org, Kirill Shcherbatov <kshcherbatov@tarantool.org>
Subject: [tarantool-patches] [PATCH v1 2/2] sql: unset pragma in transitive-transactions test
Date: Wed, 20 Jun 2018 18:55:27 +0300	[thread overview]
Message-ID: <247508fef5484e49ff4be8181078533cac8e0cd3.1529510053.git.kshcherbatov@tarantool.org> (raw)
In-Reply-To: <cover.1529510053.git.kshcherbatov@tarantool.org>
In-Reply-To: <cover.1529510053.git.kshcherbatov@tarantool.org>

Part of #3472.
---
 test/sql/transitive-transactions.result   | 4 ++++
 test/sql/transitive-transactions.test.lua | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/test/sql/transitive-transactions.result b/test/sql/transitive-transactions.result
index 37b563a..272a25a 100644
--- a/test/sql/transitive-transactions.result
+++ b/test/sql/transitive-transactions.result
@@ -117,6 +117,10 @@ box.space.PARENT:select();
 - - [1, 1]
   - [2, 2]
 ...
+box.sql.execute('PRAGMA defer_foreign_keys = 0;')
+box.sql.execute('pragma foreign_keys = 0;');
+---
+...
 -- Cleanup
 box.sql.execute('DROP TABLE child;');
 ---
diff --git a/test/sql/transitive-transactions.test.lua b/test/sql/transitive-transactions.test.lua
index 14a1e8c..303ecad 100644
--- a/test/sql/transitive-transactions.test.lua
+++ b/test/sql/transitive-transactions.test.lua
@@ -60,6 +60,9 @@ fk_defer();
 box.space.CHILD:select();
 box.space.PARENT:select();
 
+box.sql.execute('PRAGMA defer_foreign_keys = 0;')
+box.sql.execute('pragma foreign_keys = 0;');
+
 -- Cleanup
 box.sql.execute('DROP TABLE child;');
 box.sql.execute('DROP TABLE parent;');
-- 
2.7.4

  parent reply	other threads:[~2018-06-20 15:55 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 ` Kirill Shcherbatov [this message]
2018-06-21 15:45   ` [tarantool-patches] Re: [PATCH v1 2/2] sql: unset pragma in transitive-transactions test n.pettik
2018-06-21 16:06     ` 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=247508fef5484e49ff4be8181078533cac8e0cd3.1529510053.git.kshcherbatov@tarantool.org \
    --to=kshcherbatov@tarantool.org \
    --cc=korablev@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [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