From: imeevma@tarantool.org To: tarantool-patches@freelists.org, korablev@tarantool.org Subject: [tarantool-patches] [PATCH v3 0/6] sql: set column types for EXPLAIN and PRAGMA Date: Wed, 26 Dec 2018 21:17:55 +0300 [thread overview] Message-ID: <cover.1545844480.git.imeevma@gmail.com> (raw) 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 third version: - Fixed function/varible/constant names - Fixes commit-messages - Types of two pragmas were changed to FLAG. - Created new test and tests of two pathes were moved into it. v1: https://www.freelists.org/post/tarantool-patches/PATCH-v1-11-sql-set-column-types-for-EXPLAIN-and-PRAGMA v2: https://www.freelists.org/post/tarantool-patches/PATCH-v2-06-sql-set-column-types-for-EXPLAIN-and-PRAGMA Mergen Imeev (6): 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: 'PRAGMA' result in the appropriate format sql: set column types for EXPLAIN and PRAGMA src/box/execute.c | 5 +- src/box/sql/pragma.c | 222 ++++++++++++++---------------- src/box/sql/pragma.h | 258 ++++++++++++++++++++++------------- src/box/sql/prepare.c | 52 +++++-- src/box/sql/sqliteInt.h | 4 + test/sql-tap/gh-2367-pragma.test.lua | 35 +++-- test/sql/iproto.result | 69 ++++++++++ test/sql/iproto.test.lua | 18 ++- test/sql/misc.result | 20 +++ test/sql/misc.test.lua | 13 ++ test/sql/sql-debug.result | 72 ++++++++++ test/sql/sql-debug.test.lua | 25 ++++ test/sql/suite.ini | 2 +- 13 files changed, 557 insertions(+), 238 deletions(-) create mode 100644 test/sql/sql-debug.result create mode 100644 test/sql/sql-debug.test.lua -- 2.7.4
next reply other threads:[~2018-12-26 18:17 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-12-26 18:17 imeevma [this message] 2018-12-26 18:17 ` [tarantool-patches] [PATCH v3 1/6] sql: remove unused macros from pragma.c and pragma.h imeevma 2019-01-16 15:34 ` [tarantool-patches] " n.pettik 2018-12-26 18:18 ` [tarantool-patches] [PATCH v3 2/6] sql: fix "PRAGMA parser_trace" result imeevma 2019-01-16 15:35 ` [tarantool-patches] " n.pettik 2018-12-26 18:18 ` [tarantool-patches] [PATCH v3 3/6] sql: Show currently set sql_default_engine imeevma 2018-12-26 18:18 ` [tarantool-patches] [PATCH v3 4/6] sql: fix "PRAGMA case_sensitive_like" result imeevma 2019-01-16 15:35 ` [tarantool-patches] " n.pettik 2018-12-26 18:18 ` [tarantool-patches] [PATCH v3 5/6] sql: 'PRAGMA' result in the appropriate format imeevma 2019-01-16 15:35 ` [tarantool-patches] " n.pettik 2018-12-26 18:18 ` [tarantool-patches] [PATCH v3 6/6] sql: set column types for EXPLAIN and PRAGMA imeevma 2019-01-16 15:35 ` [tarantool-patches] " n.pettik
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=cover.1545844480.git.imeevma@gmail.com \ --to=imeevma@tarantool.org \ --cc=korablev@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH v3 0/6] sql: set column types for EXPLAIN and PRAGMA' \ /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