[tarantool-patches] [PATCH 0/2] Fix wrong field count in bytecode for ANALYZE
Nikita Pettik
korablev at tarantool.org
Tue Mar 19 02:51:19 MSK 2019
Branch: https://github.com/tarantool/tarantool/tree/np/fix-analyze-makerecord
First patch fixes obvious bug in VDBE bytecode for ANALYZE SQL
statement. To prevent similar bugs in the future, second patch
explicitly sets field count for _sql_stat1 and _sql_stat4 system
spaces.
Nikita Pettik (2):
sql: fix OP_MakeRecord argument of ANALYZE bytecode
schema: add exact field count to SQL stat spaces
src/box/bootstrap.snap | Bin 1831 -> 1840 bytes
src/box/lua/upgrade.lua | 29 ++++++++++++++-
src/box/sql/analyze.c | 2 +-
test/box-py/bootstrap.result | 6 ++--
test/box/access_misc.result | 4 +--
...{sql-statN-index-drop.result => analyze.result} | 17 +++++++++
...-statN-index-drop.test.lua => analyze.test.lua} | 6 ++++
test/sql/upgrade.result | 39 +++++++++++++++++++--
test/sql/upgrade.test.lua | 13 +++++++
9 files changed, 107 insertions(+), 9 deletions(-)
rename test/sql/{sql-statN-index-drop.result => analyze.result} (86%)
rename test/sql/{sql-statN-index-drop.test.lua => analyze.test.lua} (91%)
--
2.15.1
More information about the Tarantool-patches
mailing list