Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH v6 0/7] sql: set column types for EXPLAIN and PRAGMA
@ 2019-02-21 13:00 imeevma
  2019-02-21 13:00 ` [tarantool-patches] [PATCH v6 1/7] sql: remove unused macros from pragma.c and pragma.h imeevma
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: imeevma @ 2019-02-21 13:00 UTC (permalink / raw)
  To: v.shpilevoy; +Cc: tarantool-patches

This patch-set defines the types for the result columns of EXPLAIN
and PRAGMA commands. In addition, it fixes some problems of the
PRAGMA commands that have something to do with their result.

https://github.com/tarantool/tarantool/issues/3832
https://github.com/tarantool/tarantool/tree/imeevma/gh-3832-no-column-types

Changes in sixth version:
  - Rebase to current 2.1
  - New patch that removes gh-3733-pragma.test.lua
  - Other small fixes.

https://www.freelists.org/post/tarantool-patches/PATCH-v1-11-sql-set-column-types-for-EXPLAIN-and-PRAGMA
https://www.freelists.org/post/tarantool-patches/PATCH-v2-06-sql-set-column-types-for-EXPLAIN-and-PRAGMA
https://www.freelists.org/post/tarantool-patches/PATCH-v3-06-sql-set-column-types-for-EXPLAIN-and-PRAGMA
https://www.freelists.org/post/tarantool-patches/PATCH-v4-06-sql-set-column-types-for-EXPLAIN-and-PRAGMA
https://www.freelists.org/post/tarantool-patches/PATCH-v5-06-sql-set-column-types-for-EXPLAIN-and-PRAGMA

Mergen Imeev (7):
  sql: remove unused macros from pragma.c and pragma.h
  sql: fix "PRAGMA parser_trace" result
  sql: Show currently set sql_default_engine
  sql: fix "PRAGMA case_sensitive_like" result
  sql: get results of PRAGMA statement as result set
  sql: set column types for EXPLAIN and PRAGMA
  sql: remove test gh-3733-pragma.test.lua

 src/box/execute.c                    |   5 +-
 src/box/sql/CMakeLists.txt           |   2 -
 src/box/sql/parse.y                  |   6 +-
 src/box/sql/pragma.c                 | 193 +++++++++---------------
 src/box/sql/pragma.h                 | 238 ++++++++++++++++++------------
 src/box/sql/prepare.c                |  53 +++++--
 src/box/sql/printf.c                 |   2 +-
 src/box/sql/select.c                 |  22 +--
 src/box/sql/sqlInt.h                 |  22 +--
 src/box/sql/where.c                  |  46 +++---
 src/box/sql/whereInt.h               |   4 +-
 test/sql-tap/gh-2367-pragma.test.lua |  65 --------
 test/sql-tap/gh-3733-pragma.test.lua | 177 ----------------------
 test/sql-tap/pragma.test.lua         | 278 +++++++++++++++++++++++++++++++++++
 test/sql/engine.cfg                  |   3 +
 test/sql/iproto.result               |  69 +++++++++
 test/sql/iproto.test.lua             |  18 ++-
 test/sql/sql-debug.result            |  45 ++++++
 test/sql/sql-debug.test.lua          |  17 +++
 test/sql/suite.ini                   |   2 +-
 20 files changed, 731 insertions(+), 536 deletions(-)
 delete mode 100755 test/sql-tap/gh-2367-pragma.test.lua
 delete mode 100755 test/sql-tap/gh-3733-pragma.test.lua
 create mode 100755 test/sql-tap/pragma.test.lua
 create mode 100644 test/sql/sql-debug.result
 create mode 100644 test/sql/sql-debug.test.lua

-- 
2.7.4

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

end of thread, other threads:[~2019-02-27 11:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-21 13:00 [tarantool-patches] [PATCH v6 0/7] sql: set column types for EXPLAIN and PRAGMA imeevma
2019-02-21 13:00 ` [tarantool-patches] [PATCH v6 1/7] sql: remove unused macros from pragma.c and pragma.h imeevma
2019-02-21 13:00 ` [tarantool-patches] [PATCH v6 2/7] sql: fix "PRAGMA parser_trace" result imeevma
2019-02-21 13:00 ` [tarantool-patches] [PATCH v6 3/7] sql: Show currently set sql_default_engine imeevma
2019-02-21 15:52   ` [tarantool-patches] " Konstantin Osipov
2019-02-21 13:00 ` [tarantool-patches] [PATCH v6 4/7] sql: fix "PRAGMA case_sensitive_like" result imeevma
2019-02-21 13:00 ` [tarantool-patches] [PATCH v6 5/7] sql: get results of PRAGMA statement as result set imeevma
2019-02-21 13:00 ` [tarantool-patches] [PATCH v6 6/7] sql: set column types for EXPLAIN and PRAGMA imeevma
2019-02-21 13:00 ` [tarantool-patches] [PATCH v6 7/7] sql: remove test gh-3733-pragma.test.lua imeevma
2019-02-25 11:59 ` [tarantool-patches] Re: [PATCH v6 0/7] sql: set column types for EXPLAIN and PRAGMA Vladislav Shpilevoy
2019-02-25 21:05   ` Imeev Mergen
2019-02-26  9:33     ` Vladislav Shpilevoy
2019-02-27 11:09 ` Kirill Yukhin

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