Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@dev.tarantool.org, korablev@tarantool.org
Cc: tarantool-patches@freelists.org
Subject: [Tarantool-patches] [PATCH 0/3] Booleans and lower vs upper
Date: Sun, 27 Oct 2019 22:35:06 +0100	[thread overview]
Message-ID: <cover.1572211914.git.v.shpilevoy@tarantool.org> (raw)

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)

             reply	other threads:[~2019-10-27 21:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-27 21:35 Vladislav Shpilevoy [this message]
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

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.1572211914.git.v.shpilevoy@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=korablev@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [Tarantool-patches] [PATCH 0/3] Booleans and lower vs upper' \
    /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