From: Stanislav Zudin <szudin@tarantool.org>
To: tarantool-patches@freelists.org, korablev@tarantool.org
Cc: Stanislav Zudin <szudin@tarantool.org>
Subject: [tarantool-patches] [PATCH v3 0/2] sql: support -2^63 .. 2^64-1 integer type ***
Date: Wed, 3 Apr 2019 14:47:05 +0300 [thread overview]
Message-ID: <cover.1554291531.git.szudin@tarantool.org> (raw)
The patch enables support of big integers in the range [2^63, 2^64-1].
Conversion functions use return value to inform about value
they return - signed integer in the range [-2^63,2^63-1] or
unsigned integer in the range [2^63, 2^64 -1].
The changes affect sql processing, VDBE, arithmetic functions and
aggregate functions.
Issue: https://github.com/tarantool/tarantool/issues/3810
Branch: https://github.com/tarantool/tarantool/tree/stanztt/gh-3810-sql-uint64-support
Stanislav Zudin (2):
sql: support -2^63 .. 2^64-1 integer type
sql: removes unused function.
src/box/execute.c | 24 +-
src/box/lua/lua_sql.c | 3 +
src/box/lua/sql.c | 3 +
src/box/sql/build.c | 4 +-
src/box/sql/expr.c | 32 +-
src/box/sql/func.c | 55 ++-
src/box/sql/main.c | 27 --
src/box/sql/os_unix.c | 5 -
src/box/sql/sqlInt.h | 90 +++--
src/box/sql/util.c | 430 ++++++++++++---------
src/box/sql/vdbe.c | 171 +++++---
src/box/sql/vdbe.h | 3 +-
src/box/sql/vdbeInt.h | 14 +-
src/box/sql/vdbeapi.c | 116 ++++--
src/box/sql/vdbeaux.c | 108 +++++-
src/box/sql/vdbemem.c | 153 +++++---
src/box/sql/vdbetrace.c | 2 +
test/sql-tap/func.test.lua | 22 +-
test/sql-tap/hexlit.test.lua | 6 +-
test/sql/gh-2347-max-int-literals.result | 11 +-
test/sql/gh-2347-max-int-literals.test.lua | 4 +
test/sql/integer-overflow.result | 18 +-
test/sql/iproto.result | 11 +-
test/sql/iproto.test.lua | 5 +-
24 files changed, 866 insertions(+), 451 deletions(-)
--
2.17.1
next reply other threads:[~2019-04-03 11:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-03 11:47 Stanislav Zudin [this message]
2019-04-03 11:47 ` [tarantool-patches] [PATCH v3 1/2] sql: support -2^63 .. 2^64-1 integer type Stanislav Zudin
2019-04-04 0:49 ` [tarantool-patches] " n.pettik
2019-04-03 11:47 ` [tarantool-patches] [PATCH v3 2/2] sql: removes unused function Stanislav Zudin
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.1554291531.git.szudin@tarantool.org \
--to=szudin@tarantool.org \
--cc=korablev@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='Re: [tarantool-patches] [PATCH v3 0/2] sql: support -2^63 .. 2^64-1 integer type ***' \
/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