Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v2 0/2] sql: introduce UUID
@ 2021-06-02  8:02 Mergen Imeev via Tarantool-patches
  2021-06-02  8:02 ` [Tarantool-patches] [PATCH v2 1/2] sql: introduce UUID field type Mergen Imeev via Tarantool-patches
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mergen Imeev via Tarantool-patches @ 2021-06-02  8:02 UTC (permalink / raw)
  To: tsafin; +Cc: tarantool-patches

This patch-set introduces UUID to SQL. After this patch-set UUID field type will
be available in SQL and UUID values can be generated using UUID() function.

https://github.com/tarantool/tarantool/issues/5886
https://github.com/tarantool/tarantool/tree/imeevma/gh-5886-introduce-uuid-type-in-sql

Changes in v2:
 - Added SQL built-in function uuid().

Mergen Imeev (2):
  sql: introduce UUID field type
  sql: introduce SQL built-in function UUID()

 .../unreleased/introduce-uuid-to-sql.md       |    3 +
 extra/mkkeywordhash.c                         |    1 +
 src/box/bootstrap.snap                        |  Bin 5991 -> 6016 bytes
 src/box/lua/upgrade.lua                       |   19 +
 src/box/sql/func.c                            |   69 +-
 src/box/sql/mem.c                             |  203 ++-
 src/box/sql/mem.h                             |   29 +-
 src/box/sql/parse.y                           |    3 +-
 src/box/sql/vdbe.c                            |   15 +-
 test/box-py/bootstrap.result                  |    3 +-
 test/box/access.result                        |    2 +-
 test/box/access.test.lua                      |    2 +-
 test/box/access_bin.result                    |    2 +-
 test/box/access_bin.test.lua                  |    2 +-
 test/box/access_sysview.result                |    8 +-
 test/box/function1.result                     |    6 +-
 test/sql-tap/CMakeLists.txt                   |    1 +
 .../gh-5913-segfault-on-select-uuid.test.lua  |   42 +-
 .../sql-tap/gh-6024-funcs-return-bin.test.lua |    8 +-
 test/sql-tap/sql_uuid.c                       |   46 +
 test/sql-tap/uuid.test.lua                    | 1344 +++++++++++++++++
 test/wal_off/func_max.result                  |    8 +-
 22 files changed, 1731 insertions(+), 85 deletions(-)
 create mode 100644 changelogs/unreleased/introduce-uuid-to-sql.md
 create mode 100644 test/sql-tap/sql_uuid.c
 create mode 100755 test/sql-tap/uuid.test.lua

-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-06-03  9:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02  8:02 [Tarantool-patches] [PATCH v2 0/2] sql: introduce UUID Mergen Imeev via Tarantool-patches
2021-06-02  8:02 ` [Tarantool-patches] [PATCH v2 1/2] sql: introduce UUID field type Mergen Imeev via Tarantool-patches
2021-06-02 20:13   ` Timur Safin via Tarantool-patches
2021-06-03  9:04     ` Mergen Imeev via Tarantool-patches
2021-06-03  9:40       ` Timur Safin via Tarantool-patches
2021-06-02  8:02 ` [Tarantool-patches] [PATCH v2 2/2] sql: introduce SQL built-in function UUID() Mergen Imeev via Tarantool-patches
2021-06-02 20:13   ` Timur Safin via Tarantool-patches
2021-06-02 20:13 ` [Tarantool-patches] [PATCH v2 0/2] sql: introduce UUID Timur Safin via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox