[patches] [constraints 0/2] Forbid multiple ON CONFLICT replace

Bulat Niatshin niatshin at tarantool.org
Mon Feb 12 21:07:26 MSK 2018



Bulat Niatshin (2):
  sql: ban multiple ON CONFLICT REPLACE
  sql: change constraints checks order

 src/box/sql/build.c                            |  36 ++++
 src/box/sql/insert.c                           | 219 +++++++++++++++----------
 src/box/sql/sqliteInt.h                        |   5 +-
 src/box/sql/update.c                           |  14 +-
 test/sql-tap/gh-2963-multiple-replace.test.lua |  70 ++++++++
 test/sql/gh2963-multiple-replace.result        |  21 +++
 test/sql/gh2963-multiple-replace.test.lua      |  13 ++
 7 files changed, 292 insertions(+), 86 deletions(-)
 create mode 100755 test/sql-tap/gh-2963-multiple-replace.test.lua
 create mode 100644 test/sql/gh2963-multiple-replace.result
 create mode 100644 test/sql/gh2963-multiple-replace.test.lua

-- 
2.14.1




More information about the Tarantool-patches mailing list