From: Chris Sosnin <k.sosnin@tarantool.org>
To: korablev@tarantool.org, tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH 0/4] box: session settings fixes
Date: Mon, 17 Feb 2020 15:12:08 +0300 [thread overview]
Message-ID: <cover.1581940899.git.k.sosnin@tarantool.org> (raw)
The first patch just merges all modules into one array, so the
binary search will work once for all settings.
The second patch is implementation of the binary search.
The last two patches add frontend for accessing session settings:
Lua table and SQL statement respectively.
branch: https://github.com/tarantool/tarantool/tree/ksosnin/gh-4712-search-settings
issue #1: https://github.com/tarantool/tarantool/issues/4711
issue #2: https://github.com/tarantool/tarantool/issues/4712
Chris Sosnin (4):
box: replace session_settings modules with a single array
box: add binary search for _session_settings space
box: provide a user friendly frontend for accessing session settings
sql: provide a user friendly frontend for accessing session settings
src/box/lua/session.c | 92 ++++++++
src/box/session.cc | 1 +
src/box/session.h | 2 +
src/box/session_settings.c | 214 +++++++++++-------
src/box/session_settings.h | 53 +++--
src/box/sql.c | 5 -
src/box/sql/build.c | 104 ++++-----
src/box/sql/parse.y | 5 +
src/box/sql/sqlInt.h | 11 +
src/box/sql/vdbe.c | 50 ++++
...rontend.result => session_settings.result} | 149 ++++++++++--
...end.test.lua => session_settings.test.lua} | 61 ++++-
12 files changed, 571 insertions(+), 176 deletions(-)
rename test/box/{gh-4511-access-settings-from-any-frontend.result => session_settings.result} (71%)
rename test/box/{gh-4511-access-settings-from-any-frontend.test.lua => session_settings.test.lua} (65%)
--
2.21.1 (Apple Git-122.3)
next reply other threads:[~2020-02-17 12:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-17 12:12 Chris Sosnin [this message]
2020-02-17 12:12 ` [Tarantool-patches] [PATCH 1/4] box: replace session_settings modules with a single array Chris Sosnin
2020-02-17 12:12 ` [Tarantool-patches] [PATCH 2/4] box: add binary search for _session_settings space Chris Sosnin
2020-03-16 14:16 ` Nikita Pettik
2020-03-16 22:53 ` Vladislav Shpilevoy
2020-03-17 17:24 ` Nikita Pettik
2020-02-17 12:12 ` [Tarantool-patches] [PATCH 3/4] box: provide a user friendly frontend for accessing session settings Chris Sosnin
2020-03-16 16:08 ` Nikita Pettik
2020-03-16 22:53 ` Vladislav Shpilevoy
2020-03-17 14:27 ` Nikita Pettik
2020-03-17 14:36 ` Chris Sosnin
2020-02-17 12:12 ` [Tarantool-patches] [PATCH 4/4] sql: " Chris Sosnin
2020-03-16 17:02 ` Nikita Pettik
2020-03-16 22:53 ` Vladislav Shpilevoy
2020-03-17 17:26 ` Chris Sosnin
2020-03-17 20:12 ` Nikita Pettik
2020-03-17 21:00 ` Chris Sosnin
2020-03-18 10:00 ` Chris Sosnin
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=cover.1581940899.git.k.sosnin@tarantool.org \
--to=k.sosnin@tarantool.org \
--cc=korablev@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH 0/4] box: session settings fixes' \
/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