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 B6487290DC for ; Fri, 1 Jun 2018 11:16:19 -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 rKFRELDITjxa for ; Fri, 1 Jun 2018 11:16:19 -0400 (EDT) Received: from smtp59.i.mail.ru (smtp59.i.mail.ru [217.69.128.39]) (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 68219290D8 for ; Fri, 1 Jun 2018 11:16:19 -0400 (EDT) From: Kirill Yukhin Subject: [tarantool-patches] [PATCH 0/3] sql: implement point where for DELETE stmts Date: Fri, 1 Jun 2018 18:16:09 +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: v.shpilevoy@tarantool.org Cc: tarantool-patches@freelists.org, Kirill Yukhin This patches consists of two preparational patches and the main patch which enables DELETE's from spaces created w/ Lua. Issue: https://github.com/tarantool/tarantool/issues/3235 Branch: https://github.com/tarantool/tarantool/tree/kyukhin/gh-3235-delete-with-where Kirill Yukhin (3): sql: fetch primary index for affinity only sql: remove expressions from SQL indexes sql: implement point where for DELETE stmts src/box/field_def.c | 1 + src/box/sql.c | 4 +- src/box/sql/build.c | 63 ++++++----- src/box/sql/delete.c | 103 +++++++++++------ src/box/sql/expr.c | 12 +- src/box/sql/insert.c | 105 +++++++++--------- src/box/sql/sqliteInt.h | 63 +++++++++-- src/box/sql/where.c | 251 +++++++++++++++++++++++++++++++----------- src/box/sql/whereInt.h | 2 + src/box/sql/wherecode.c | 128 +++++++++++++++------ src/box/sql/whereexpr.c | 36 +----- test/sql-tap/delete1.test.lua | 24 +++- 12 files changed, 527 insertions(+), 265 deletions(-) -- 2.16.2