From: Nikita Pettik <korablev@tarantool.org> To: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> Cc: tarantool-patches@freelists.org, tarantool-patches@dev.tarantool.org Subject: Re: [Tarantool-patches] [tarantool-patches] [PATCH] sql: remove expmask from prepared statement Date: Mon, 21 Oct 2019 00:46:34 +0300 [thread overview] Message-ID: <20191020214634.GB44091@tarantool.org> (raw) In-Reply-To: <b698ce0b-bc7f-d282-abcc-183b7af40145@tarantool.org> On 19 Oct 15:33, Vladislav Shpilevoy wrote: > Hi! Thanks for the patch! > > LGTM. Pushed to master as trivial. > 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(-) > >
prev parent reply other threads:[~2019-10-20 21:46 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 ` [Tarantool-patches] [tarantool-patches] " Vladislav Shpilevoy 2019-10-20 21:46 ` Nikita Pettik [this message]
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=20191020214634.GB44091@tarantool.org \ --to=korablev@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --cc=tarantool-patches@freelists.org \ --cc=v.shpilevoy@tarantool.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