From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 682B0270A0 for ; Thu, 12 Jul 2018 12:34:33 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AXal5968_523 for ; Thu, 12 Jul 2018 12:34:33 -0400 (EDT) Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id C2466205ED for ; Thu, 12 Jul 2018 12:34:32 -0400 (EDT) From: Kirill Shcherbatov Subject: [tarantool-patches] [PATCH v1 0/2] sql: restrict nullable action definitions Date: Thu, 12 Jul 2018 19:34:26 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org, Kirill Shcherbatov 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