Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/3] Booleans and lower vs upper
@ 2019-10-27 21:35 Vladislav Shpilevoy
  2019-10-27 21:35 ` [Tarantool-patches] [PATCH 1/3] sql: LENGTH function accepts boolean Vladislav Shpilevoy
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Vladislav Shpilevoy @ 2019-10-27 21:35 UTC (permalink / raw)
  To: tarantool-patches, korablev; +Cc: tarantool-patches

The patchset contains 3 independent commits fixing some minor
things in SQL.

The commit messages below speak for themselves, everything is
trivial.

This patchset is mostly about problems mentioned in #4462, but
does not close it. Because I don't know to fix the last problem
yet, and don't know whether I will do it.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-4462-sql-boolean-bugs
Issue: https://github.com/tarantool/tarantool/issues/4462

Vladislav Shpilevoy (3):
  sql: LENGTH function accepts boolean
  sql: CAST(<boolean> AS TEXT) returns lowercase
  sql: make type string case lower everywhere

 src/box/sql/delete.c             |   2 +-
 src/box/sql/func.c               |  12 +-
 src/box/sql/insert.c             |   2 +-
 src/box/sql/pragma.c             |   4 +-
 src/box/sql/pragma.h             |  92 +++---
 src/box/sql/prepare.c            |  24 +-
 src/box/sql/update.c             |   2 +-
 src/box/sql/vdbe.c               |  16 +-
 src/box/sql/vdbeapi.c            |  16 +-
 src/box/sql/vdbemem.c            |   2 +-
 test/sql-tap/func.test.lua       |   2 +-
 test/sql-tap/position.test.lua   |  16 +-
 test/sql-tap/sql-errors.test.lua |   4 +-
 test/sql/boolean.result          | 526 ++++++++++++++++---------------
 test/sql/boolean.test.sql        |   2 +
 test/sql/iproto.result           |  48 +--
 test/sql/row-count.result        |  10 +-
 test/sql/sql-debug.result        |   6 +-
 test/sql/types.result            |  42 +--
 19 files changed, 417 insertions(+), 411 deletions(-)

-- 
2.21.0 (Apple Git-122)

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

end of thread, other threads:[~2019-11-07 12:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-27 21:35 [Tarantool-patches] [PATCH 0/3] Booleans and lower vs upper Vladislav Shpilevoy
2019-10-27 21:35 ` [Tarantool-patches] [PATCH 1/3] sql: LENGTH function accepts boolean Vladislav Shpilevoy
2019-10-27 21:35 ` [Tarantool-patches] [PATCH 2/3] sql: CAST(<boolean> AS TEXT) returns lowercase Vladislav Shpilevoy
2019-10-28 14:08   ` Nikita Pettik
2019-10-28 21:48     ` Vladislav Shpilevoy
2019-10-27 21:35 ` [Tarantool-patches] [PATCH 3/3] sql: make type string case lower everywhere Vladislav Shpilevoy
2019-10-28 14:23   ` Nikita Pettik
2019-10-28 21:45     ` Vladislav Shpilevoy
2019-11-07 12:40       ` Nikita Pettik
2019-10-30 23:28 ` [Tarantool-patches] [PATCH 0/3] Booleans and lower vs upper Nikita Pettik

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