Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/3] Delete foreign_keys and ignore_check_constraints pragmas
@ 2018-10-02 10:48 AKhatskevich
  2018-10-02 10:48 ` [tarantool-patches] [PATCH 1/3] sql: delete unused code AKhatskevich
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: AKhatskevich @ 2018-10-02 10:48 UTC (permalink / raw)
  To: korablev, tarantool-patches

Issue: https://github.com/tarantool/tarantool/issues/3696
Branch: https://github.com/tarantool/tarantool/tree/kh/gh-3696-delete-pragmas-2

Those pragmas let a user turn off constraint checks.
They are considered useless and dangerous.

AKhatskevich (3):
  sql: delete unused code
  sql: delete foreign_keys pragma
  sql: delete ignore_check_constraints pragma

 src/box/sql.c                             |   3 +-
 src/box/sql/CMakeLists.txt                |   1 -
 src/box/sql/fkey.c                        |  21 +--
 src/box/sql/insert.c                      |   7 +-
 src/box/sql/main.c                        | 291 ------------------------------
 src/box/sql/pragma.h                      |  14 --
 src/box/sql/sqliteInt.h                   |  19 +-
 test/sql-tap/check.test.lua               |  15 +-
 test/sql-tap/tkt-b1d3a2e531.test.lua      |   8 +-
 test/sql-tap/triggerC.test.lua            |   5 +-
 test/sql/transitive-transactions.result   |   3 -
 test/sql/transitive-transactions.test.lua |   1 -
 12 files changed, 12 insertions(+), 376 deletions(-)

-- 
2.14.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-10-05  7:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-02 10:48 [tarantool-patches] [PATCH 0/3] Delete foreign_keys and ignore_check_constraints pragmas AKhatskevich
2018-10-02 10:48 ` [tarantool-patches] [PATCH 1/3] sql: delete unused code AKhatskevich
2018-10-02 13:36   ` [tarantool-patches] " n.pettik
2018-10-04 15:16     ` Alex Khatskevich
2018-10-02 10:48 ` [tarantool-patches] [PATCH 2/3] sql: delete foreign_keys pragma AKhatskevich
2018-10-02 13:36   ` [tarantool-patches] " n.pettik
2018-10-04 15:16     ` Alex Khatskevich
2018-10-02 10:48 ` [tarantool-patches] [PATCH 3/3] sql: delete ignore_check_constraints pragma AKhatskevich
2018-10-02 13:36   ` [tarantool-patches] " n.pettik
2018-10-04 15:16     ` Alex Khatskevich
2018-10-04 16:27 ` [tarantool-patches] Re: [PATCH 0/3] Delete foreign_keys and ignore_check_constraints pragmas n.pettik
2018-10-05  7:15 ` Kirill Yukhin

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