From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: imeevma@tarantool.org Subject: [PATCH v2 0/3] box: drop _sql_stat1 and _sql_stat4 tables. Date: Wed, 3 Apr 2019 19:58:29 +0300 Message-Id: To: vdavydov.dev@gmail.com Cc: tarantool-patches@freelists.org List-ID: System tables _sql_stat1 and _sql_stat4 become unused and should be dropped. This patch breaks backward compatibility! https://github.com/tarantool/tarantool/issues/2843 https://github.com/tarantool/tarantool/tree/imeevma/gh-2843-drop-_sql_stat-tables v1: https://www.freelists.org/post/tarantool-patches/PATCH-v1-11-sql-remove-sql-stat1-and-sql-stat4-system-tables Changes in new version: 1) Original patch divided into three. 2) A bit changed commit message and comments. Mergen Imeev (3): sql: allocate memory for index_id in VDBE sql: remove space_by_id() from analyze.c box: remove _sql_stat1 and _sql_stat4 system tables src/box/bootstrap.snap | Bin 4477 -> 4374 bytes src/box/lua/space.cc | 4 ---- src/box/lua/upgrade.lua | 27 ------------------------ src/box/schema.cc | 16 -------------- src/box/schema_def.h | 3 --- src/box/sql.c | 8 +------ src/box/sql.h | 5 +++++ src/box/sql/analyze.c | 17 +++++++++------ src/box/sql/build.c | 36 +++++++------------------------- test/app-tap/tarantoolctl.test.lua | 4 ++-- test/box-py/bootstrap.result | 8 ------- test/box/access_misc.result | 5 ----- test/box/access_sysview.result | 6 +++--- test/box/alter.result | 3 --- test/sql-tap/gh-3350-skip-scan.test.lua | 10 ++++----- test/sql-tap/suite.ini | 1 + test/sql/delete.result | 4 ++-- test/sql/delete.test.lua | 2 +- test/sql/triggers.result | 4 ++-- test/sql/triggers.test.lua | 4 ++-- test/sql/upgrade.result | 20 ------------------ test/sql/upgrade.test.lua | 4 ---- test/wal_off/alter.result | 2 +- 23 files changed, 44 insertions(+), 149 deletions(-) -- 2.7.4