[PATCH v5 01/12] box: refactor key_def_find routine

Vladimir Davydov vdavydov.dev at gmail.com
Mon Nov 19 20:48:20 MSK 2018


On Mon, Oct 29, 2018 at 09:56:30AM +0300, Kirill Shcherbatov wrote:
> Refactored key_def_find routine to use key_part as a second
> argument. Introduced key_def_find_by_fieldno helper to use in
> scenarios where no key_part exists.
> New API is more convenient for complex key_part that will appear
> with JSON paths introduction.
> 
> Need for #1012
> ---
>  src/box/alter.cc     |  7 ++++---
>  src/box/key_def.c    | 19 ++++++++++++++-----
>  src/box/key_def.h    |  9 ++++++++-
>  src/box/sql/build.c  |  2 +-
>  src/box/sql/pragma.c |  2 +-
>  5 files changed, 28 insertions(+), 11 deletions(-)

Pushed to 2.1.



More information about the Tarantool-patches mailing list