[Tarantool-patches] [PATCH rfc 0/2] Lua 5.2 compatibility
Olga Arkhangelskaia
arkholga at tarantool.org
Thu Nov 7 17:03:12 MSK 2019
We add support of Lua 5.2, this means we can use
__pair, __ipairs, etc. However, the interface of some
functions has changed (os.execute, file:read, etc), so we need to be
careful. The support of this feature gives as good way to protect
box.cfg from raw modification.
Olga Arkhangelskaia (2):
lua: turn on lua 5.2 compatibility
box: raise on raw modifications of box.cfg values
cmake/luajit.cmake | 1 +
extra/dist/tarantoolctl.in | 2 +-
src/box/lua/load_cfg.lua | 18 +-
test/app-tap/debug.test.lua | 4 +-
test/app-tap/tarantoolctl.test.lua | 80 ++---
test/box-tap/cfg.test.lua | 60 ++--
test/box/cfg.result | 55 ++++
test/box/cfg.test.lua | 3 +
test/wal_off/rtree_benchmark.result | 255 +++++++++-------
test/wal_off/rtree_benchmark.test.lua | 20 +-
test/wal_off/snapshot_stress.result | 415 ++++++++++++++------------
test/wal_off/snapshot_stress.test.lua | 4 +-
12 files changed, 537 insertions(+), 380 deletions(-)
--
2.20.1 (Apple Git-117)
More information about the Tarantool-patches
mailing list