From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (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 3604146970F for ; Sat, 23 Nov 2019 15:11:58 +0300 (MSK) From: imeevma@tarantool.org Date: Sat, 23 Nov 2019 15:11:57 +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: v.shpilevoy@tarantool.org Cc: tarantool-patches@dev.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 | 131 ++++++++++++++++++++++++++++++++++ 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, 573 insertions(+), 16 deletions(-) -- 2.7.4