[tarantool-patches] [PATCH v1 0/3] sql: unify stat tables

imeevma at tarantool.org imeevma at tarantool.org
Thu Mar 21 22:30:03 MSK 2019


This patch-set creates new space for SQL statistics and removes
old ones. This is the first version of patch-set and do not
contain last patch whish is removing of spaces _sql_stat1 and
_sql_stat4.

This patch should close at least five issues (#2843, #2962, #3242,
#3866 and #3894) but all of them should be closed by the last
patch of the patch-set. The same one, that wasn't included in this
version. For now, only one issue will be adressed in this
patch-set.

https://github.com/tarantool/tarantool/issues/2843
https://github.com/tarantool/tarantool/tree/imeevma/gh-2843-unify-stat-tables

Mergen Imeev (3):
  sql: disallow identical samples in statistics
  sql: define flags for OP_MakeRecord
  sql: create new space for SQL statistics

 src/box/bootstrap.snap                 | Bin 1831 -> 1876 bytes
 src/box/lua/space.cc                   |   2 +
 src/box/lua/upgrade.lua                |  27 +-
 src/box/schema.cc                      |   7 +
 src/box/schema_def.h                   |   1 +
 src/box/sql/analyze.c                  | 854 ++++++++++++++-------------------
 src/box/sql/build.c                    |  82 +---
 src/box/sql/delete.c                   |   2 +-
 src/box/sql/insert.c                   |   2 +-
 src/box/sql/select.c                   |   6 +-
 src/box/sql/sqlInt.h                   |  11 +-
 src/box/sql/update.c                   |   2 +-
 src/box/sql/vdbe.c                     |  34 +-
 test/app-tap/tarantoolctl.test.lua     |   2 +-
 test/box-py/bootstrap.result           |   7 +-
 test/box/access_misc.result            |   4 +
 test/box/access_sysview.result         |   2 +-
 test/sql-tap/analyze1.test.lua         | 164 +++----
 test/sql-tap/analyze3.test.lua         |   2 +-
 test/sql-tap/analyze4.test.lua         |  14 +-
 test/sql-tap/analyze5.test.lua         |  29 +-
 test/sql-tap/analyze9.test.lua         | 205 ++++----
 test/sql-tap/lua/sqltester.lua         |  27 ++
 test/sql/sql-statN-index-drop.result   |  62 +--
 test/sql/sql-statN-index-drop.test.lua |  12 +-
 test/wal_off/alter.result              |   2 +-
 26 files changed, 716 insertions(+), 846 deletions(-)

-- 
2.7.4





More information about the Tarantool-patches mailing list