From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: Nikita Pettik <korablev@tarantool.org>,
tarantool-patches@freelists.org,
tarantool-patches@dev.tarantool.org,
Kirill Yukhin <kyukhin@tarantool.org>
Subject: Re: [Tarantool-patches] [tarantool-patches] [PATCH] sql: remove expmask from prepared statement
Date: Sat, 19 Oct 2019 15:33:29 +0200 [thread overview]
Message-ID: <b698ce0b-bc7f-d282-abcc-183b7af40145@tarantool.org> (raw)
In-Reply-To: <20191018134710.69147-1-korablev@tarantool.org>
Hi! Thanks for the patch!
LGTM.
On 18/10/2019 15:47, Nikita Pettik wrote:
> expmask indicated necessity to recompile statement after parameter was
> bound: it might turn out that parameter can affect query plan. However,
> part of this mechanism has been removed long ago as a SQLite's legacy.
> In its current state expmask is likely to be useless and assertions
> involving it are obviously unsuitable. This patch completely removes
> expmask and related routines.
>
> Closes #4566
> ---
> Branch: https://github.com/tarantool/tarantool/tree/np/gh-4566-remove-exp-mask
> Issue: https://github.com/tarantool/tarantool/issues/4566
>
> src/box/sql/vdbe.h | 1 -
> src/box/sql/vdbeInt.h | 1 -
> src/box/sql/vdbeapi.c | 19 -------------------
> src/box/sql/vdbeaux.c | 16 ----------------
> src/box/sql/vdbemem.c | 1 -
> src/box/sql/whereexpr.c | 2 --
> test/sql/bind.result | 32 ++++++++++++++++++++++++++++++++
> test/sql/bind.test.lua | 9 +++++++++
> 8 files changed, 41 insertions(+), 40 deletions(-)
>
next prev parent reply other threads:[~2019-10-19 13:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-18 13:47 [Tarantool-patches] " Nikita Pettik
2019-10-19 13:33 ` Vladislav Shpilevoy [this message]
2019-10-20 21:46 ` [Tarantool-patches] [tarantool-patches] " Nikita Pettik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b698ce0b-bc7f-d282-abcc-183b7af40145@tarantool.org \
--to=v.shpilevoy@tarantool.org \
--cc=korablev@tarantool.org \
--cc=kyukhin@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='Re: [Tarantool-patches] [tarantool-patches] [PATCH] sql: remove expmask from prepared statement' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox