[tarantool-patches] [PATCH v1 0/2] sql: restrict nullable action definitions

Kirill Shcherbatov kshcherbatov at tarantool.org
Thu Jul 12 19:34:26 MSK 2018


This patch dissallows define multiple "NULL", "NOT NULL"
options per column and fixes silent implicit behavior
for invalid "NULL PRIMARY KEY" construction.

Branch: http://github.com/tarantool/tarantool/tree/kshch/gh-3473-on-conflict-defaults-fixes
Issue: https://github.com/tarantool/tarantool/issues/3473

Kirill Shcherbatov (2):
  sql: restrict nullable action definitions
  sql: fixed possible leak in sqlite3EndTable

 src/box/alter.cc              |  1 +
 src/box/field_def.c           |  1 +
 src/box/field_def.h           |  3 ++-
 src/box/sql/build.c           | 53 +++++++++++++++++++++++++++++++++++++------
 src/box/sql/parse.y           |  2 +-
 test/sql/on-conflict.result   | 13 +++++++++++
 test/sql/on-conflict.test.lua |  6 +++++
 7 files changed, 70 insertions(+), 9 deletions(-)

-- 
2.7.4





More information about the Tarantool-patches mailing list