Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH rfc 0/2] Lua 5.2 compatibility
@ 2019-11-07 14:03 Olga Arkhangelskaia
  2019-11-07 14:03 ` [Tarantool-patches] [PATCH 1/2] lua: turn on lua " Olga Arkhangelskaia
  2019-11-07 14:03 ` [Tarantool-patches] [PATCH 2/2] box: raise on raw modifications of box.cfg values Olga Arkhangelskaia
  0 siblings, 2 replies; 6+ messages in thread
From: Olga Arkhangelskaia @ 2019-11-07 14:03 UTC (permalink / raw)
  To: tarantool-patches

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)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-19  9:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 14:03 [Tarantool-patches] [PATCH rfc 0/2] Lua 5.2 compatibility Olga Arkhangelskaia
2019-11-07 14:03 ` [Tarantool-patches] [PATCH 1/2] lua: turn on lua " Olga Arkhangelskaia
2019-11-16 13:47   ` Igor Munkin
2019-11-19  9:33     ` Olga Arkhangelskaia
2019-11-07 14:03 ` [Tarantool-patches] [PATCH 2/2] box: raise on raw modifications of box.cfg values Olga Arkhangelskaia
2019-11-17 18:56   ` Igor Munkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox