From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org> To: tarantool-patches@freelists.org, Kirill Shcherbatov <kshcherbatov@tarantool.org> Subject: [tarantool-patches] Re: [PATCH v2 0/2] sql: remove struct Enc Date: Mon, 27 Aug 2018 22:43:11 -0300 [thread overview] Message-ID: <0d1b6aff-7d9b-0695-3c5d-4c1482cd0d9c@tarantool.org> (raw) In-Reply-To: <cover.1535367103.git.kshcherbatov@tarantool.org> Hi! Thanks for the patchset! Next time, please, answer on my review remarks in a separate reply letter in the old thread if you send a new version in a new thread. On 27/08/2018 08:11, Kirill Shcherbatov wrote: > Branch: http://github.com/tarantool/tarantool/tree/kshch/gh-3545-remove-enc-struct > Issue: https://github.com/tarantool/tarantool/issues/3545 > > We shouldn't use legacy Enc structure in SQL as we have > featured class mpstream in tarantool core. With this path > all allocations temporally commited with mpstream initialized Typo: 'commited' -> 'committed'. > on region and then duplicated in dynamic persistent memory via > sqlite3DbMallocRaw. > As a first step, we've moved mpstream API in core lib and reworked > all legacy interfaces. > > Changes in v2: > - rebased to master, merged with new func > sql_index_update_table_name. > - reworked legacy code with new mpstream library API > > Kirill Shcherbatov (2): > box: export mpstream methods to core > sql: remove struct Enc > > src/CMakeLists.txt | 1 + > src/box/lua/call.c | 11 +- > src/box/lua/misc.cc | 1 + > src/box/lua/net_box.c | 127 ++++++------ > src/box/lua/tuple.c | 23 +-- > src/box/sql.c | 473 +++++++++++++++++++++++---------------------- > src/box/sql/build.c | 156 ++++++++------- > src/box/sql/tarantoolInt.h | 80 +++++--- > src/box/sql/trigger.c | 62 +++--- > src/lua/msgpack.c | 166 ++-------------- > src/lua/msgpack.h | 102 +--------- > src/mpstream.c | 205 ++++++++++++++++++++ > src/mpstream.h | 124 ++++++++++++ > 13 files changed, 845 insertions(+), 686 deletions(-) > create mode 100644 src/mpstream.c > create mode 100644 src/mpstream.h >
next prev parent reply other threads:[~2018-08-28 1:43 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-08-27 11:11 [tarantool-patches] " Kirill Shcherbatov 2018-08-27 11:11 ` [tarantool-patches] [PATCH v2 1/2] box: export mpstream methods to core Kirill Shcherbatov 2018-08-28 1:43 ` [tarantool-patches] " Vladislav Shpilevoy 2018-08-28 6:46 ` Kirill Shcherbatov 2018-08-27 11:11 ` [tarantool-patches] [PATCH v2 2/2] sql: remove struct Enc Kirill Shcherbatov 2018-08-28 1:43 ` [tarantool-patches] " Vladislav Shpilevoy 2018-08-28 6:46 ` Kirill Shcherbatov 2018-08-28 23:21 ` Vladislav Shpilevoy 2018-08-28 1:43 ` Vladislav Shpilevoy [this message] 2018-08-29 14:12 ` [tarantool-patches] Re: [PATCH v2 0/2] " Kirill Yukhin
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=0d1b6aff-7d9b-0695-3c5d-4c1482cd0d9c@tarantool.org \ --to=v.shpilevoy@tarantool.org \ --cc=kshcherbatov@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='[tarantool-patches] Re: [PATCH v2 0/2] sql: remove struct Enc' \ /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