Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org,
	Konstantin Osipov <kostja@tarantool.org>
Cc: alexander.turenko@tarantool.org
Subject: [tarantool-patches] Re: [PATCH v2 3/5] Merge box_error, stat and collations into core library
Date: Fri, 11 May 2018 00:06:31 +0300	[thread overview]
Message-ID: <06b2258c-acd8-bb88-251b-9331d58dc09f@tarantool.org> (raw)
In-Reply-To: <20180508131850.GA13694@atlas>

Hello. Thanks for review!

On 08/05/2018 16:18, Konstantin Osipov wrote:
> * Vladislav Shpilevoy <v.shpilevoy@tarantool.org> [18/04/29 01:47]:
>> The goal is to expose collations into Lua with no dependencies on
>> box library. But collations merge into core requires box_error
>> and stat libraries too.
> 
> Please remove coll_cache dependency on box_error and stat, rather
> than move box_error/box_stat over. If you need nice errors in box
> for operations with collation cache, you can add wrappers in the
> box (or you can raise errors defined in src/ as is already the
> case for socket and I/O errors).

Fixed on the branch.

> 
>> ---
>>   cmake/module.cmake         |  4 ++--
>>   src/CMakeLists.txt         | 14 ++++++++++----
>>   src/box/CMakeLists.txt     | 18 +++++-------------
>>   src/box/lua/call.c         |  2 +-
>>   src/box/lua/error.cc       |  2 +-
>>   src/box/lua/net_box.c      |  2 +-
>>   src/box/lua/tuple.c        |  2 +-
>>   src/box/lua/xlog.c         |  2 +-
>>   src/{box => }/coll.c       |  0
>>   src/{box => }/coll.h       |  0
>>   src/{box => }/coll_cache.c |  0
>>   src/{box => }/coll_cache.h |  0
>>   src/{box => }/coll_def.c   |  0
>>   src/{box => }/coll_def.h   |  0
>>   src/{box => }/errcode.c    |  0
>>   src/{box => }/errcode.h    |  0
>>   src/{box => }/error.cc     |  0
>>   src/{box => }/error.h      |  0
>>   src/main.cc                |  2 +-
>>   src/{box => }/opt_def.c    |  0
>>   src/{box => }/opt_def.h    |  0
>>   test/unit/CMakeLists.txt   |  8 ++++----
>>   test/unit/coll.cpp         |  3 +--
>>   23 files changed, 28 insertions(+), 31 deletions(-)
>>   rename src/{box => }/coll.c (100%)
>>   rename src/{box => }/coll.h (100%)
>>   rename src/{box => }/coll_cache.c (100%)
>>   rename src/{box => }/coll_cache.h (100%)
>>   rename src/{box => }/coll_def.c (100%)
>>   rename src/{box => }/coll_def.h (100%)
>>   rename src/{box => }/errcode.c (100%)
>>   rename src/{box => }/errcode.h (100%)
>>   rename src/{box => }/error.cc (100%)
>>   rename src/{box => }/error.h (100%)
>>   rename src/{box => }/opt_def.c (100%)
>>   rename src/{box => }/opt_def.h (100%)
>>

  reply	other threads:[~2018-05-10 21:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-28 22:45 [tarantool-patches] [PATCH v2 0/5] Expose ICU into Lua Vladislav Shpilevoy
2018-04-28 22:45 ` [tarantool-patches] [PATCH v2 1/5] alter: fix assertion in collations alter Vladislav Shpilevoy
2018-04-28 22:45 ` [tarantool-patches] [PATCH v2 2/5] Move struct on_access_denied_ctx into error.h Vladislav Shpilevoy
2018-05-04 11:06   ` [tarantool-patches] " Alexander Turenko
2018-05-04 12:05     ` Vladislav Shpilevoy
2018-04-28 22:45 ` [tarantool-patches] [PATCH v2 3/5] Merge box_error, stat and collations into core library Vladislav Shpilevoy
2018-05-04 11:36   ` [tarantool-patches] " Alexander Turenko
2018-05-04 12:05     ` Vladislav Shpilevoy
2018-05-08 13:18   ` Konstantin Osipov
2018-05-10 21:06     ` Vladislav Shpilevoy [this message]
2018-04-28 22:45 ` [tarantool-patches] [PATCH v2 4/5] Always store built-in collations in the cache Vladislav Shpilevoy
2018-05-08 13:20   ` [tarantool-patches] " Konstantin Osipov
2018-04-28 22:45 ` [tarantool-patches] [PATCH v2 5/5] lua: introduce utf8 built-in globaly visible module Vladislav Shpilevoy
2018-05-04 22:33   ` [tarantool-patches] " Alexander Turenko
2018-05-04 23:32     ` Vladislav Shpilevoy
2018-05-05  0:18       ` Alexander Turenko
2018-05-05  0:24         ` Vladislav Shpilevoy
2018-05-05  0:38           ` Alexander Turenko
2018-05-05  0:45             ` Vladislav Shpilevoy
2018-05-08 13:21   ` Konstantin Osipov
2018-05-05  0:19 ` [tarantool-patches] Re: [PATCH v2 0/5] Expose ICU into Lua Alexander Turenko

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=06b2258c-acd8-bb88-251b-9331d58dc09f@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=alexander.turenko@tarantool.org \
    --cc=kostja@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH v2 3/5] Merge box_error, stat and collations into core library' \
    /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