[patches] [PATCH v2 0/2] DD SQL integration: collations

Nikita Pettik korablev at tarantool.org
Tue Mar 6 21:11:02 MSK 2018


Changelog in v2 (as per review by Vlad):
- codestyle
- comments
- added tests
- rebased
- 'any' type is also allowed to be specified with collation

Nikita Pettik (2):
  format: add collation to filed_def and tuple_field
  sql: use Tarantool routine to get collation

 src/box/alter.cc            |  8 +++++
 src/box/field_def.c         |  5 ++-
 src/box/field_def.h         |  2 ++
 src/box/lua/schema.lua      |  7 ++++
 src/box/sql.c               | 13 +++++--
 src/box/sql/analyze.c       |  4 +--
 src/box/sql/build.c         | 85 ++++++++++++++++++++++++++++++++++++++++-----
 src/box/sql/callback.c      | 30 ++++++++--------
 src/box/sql/expr.c          | 11 +++---
 src/box/sql/fkey.c          | 12 +++----
 src/box/sql/insert.c        |  8 +++--
 src/box/sql/main.c          |  8 +----
 src/box/sql/pragma.c        |  4 +--
 src/box/sql/select.c        |  8 ++---
 src/box/sql/sqliteInt.h     | 10 ++++--
 src/box/sql/vdbesort.c      |  2 +-
 src/box/sql/where.c         | 21 ++++++-----
 src/box/tuple_format.c      | 14 +++++++-
 src/box/tuple_format.h      |  3 ++
 test/box/ddl.result         | 46 ++++++++++++++++++++++++
 test/box/ddl.test.lua       | 18 ++++++++++
 test/engine/iterator.result |  2 +-
 22 files changed, 248 insertions(+), 73 deletions(-)

-- 
2.15.1




More information about the Tarantool-patches mailing list