From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 6AA9E46970F for ; Thu, 28 Nov 2019 11:46:11 +0300 (MSK) From: imeevma@tarantool.org Date: Thu, 28 Nov 2019 11:46:09 +0300 Message-Id: Subject: [Tarantool-patches] [PATCH v4 0/2] Introduce _vsession_settings sysview List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: korablev@tarantool.org Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org This patch-set introduces _vsession_settings system view. This sysview contains names and current values of the session settings. https://github.com/tarantool/tarantool/issues/4511 https://github.com/tarantool/tarantool/tree/imeevma/gh-4511-system-view-for-session-settings Mergen Imeev (2): sysview: make get() and create_iterator() methods virtual box: introduce _vsession_settings sysview src/box/bootstrap.snap | Bin 5944 -> 5982 bytes src/box/lua/space.cc | 2 + src/box/lua/upgrade.lua | 23 ++++++ src/box/schema_def.h | 2 + src/box/session.cc | 132 ++++++++++++++++++++++++++++++++++ src/box/session.h | 13 ++++ src/box/sql.h | 36 ++++++++++ src/box/sql/build.c | 140 +++++++++++++++++++++++++++++++++++++ src/box/sysview.c | 48 +++++++++++-- test/app-tap/tarantoolctl.test.lua | 4 +- test/box-py/bootstrap.result | 5 +- test/box/access_sysview.result | 124 +++++++++++++++++++++++++++++++- test/box/access_sysview.test.lua | 54 ++++++++++++++ test/box/alter.result | 5 +- test/wal_off/alter.result | 2 +- 15 files changed, 574 insertions(+), 16 deletions(-) -- 2.7.4