[tarantool-patches] [PATCH 0/2] sql: store statistics in statN as an array of integers

Roman Khabibov roman.habibov at tarantool.org
Sun Jan 27 03:28:09 MSK 2019


It was necessary to add function for msg pack result in sqlite3 VDBE API.
The patchset is very raw. There are problems with the old tests that need
to be solved. I do not know if a piece of code with keyword checking works.
Could you send in the reply letter test samples for "unordered" and "noskipscan"
keywords?

Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/gh-3372-store-statN
Issue: https://github.com/tarantool/tarantool/issues/3372

Roman Khabibov (2):
  sql: add sqlite3 msgpack result function
  sql: store statistics in statN as an array of integers

 src/box/bootstrap.snap                  | Bin 1911 -> 1912 bytes
 src/box/lua/upgrade.lua                 |  27 ++-
 src/box/sql/analyze.c                   | 128 ++++++++------
 src/box/sql/sqliteInt.h                 |   3 +
 src/box/sql/vdbeapi.c                   |  13 ++
 test/sql-tap/analyze1.test.lua          |  77 +++++----
 test/sql-tap/analyze4.test.lua          |   6 +-
 test/sql-tap/analyze9.test.lua          | 218 ++++++++++++------------
 test/sql-tap/analyzeC.test.lua          |  65 ++++++-
 test/sql-tap/gh-3350-skip-scan.test.lua |  16 +-
 test/sql/sql-statN-index-drop.result    |  56 +++---
 test/sql/upgrade.result                 |   6 +-
 12 files changed, 369 insertions(+), 246 deletions(-)

-- 
2.17.1





More information about the Tarantool-patches mailing list