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 C499846970E for ; Thu, 19 Dec 2019 11:32:56 +0300 (MSK) From: imeevma@tarantool.org Date: Thu, 19 Dec 2019 11:32:55 +0300 Message-Id: Subject: [Tarantool-patches] [PATCH 0/3] Introduce _session_setting system view 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 creates _session_settings system space. This space is used to view and change session settings. https://github.com/tarantool/tarantool/issues/4511 https://github.com/tarantool/tarantool/tree/imeevma/gh-4511-new-engine Mergen Imeev (3): box: introduce 'virtual' engine box: introduce _session_settings system space box: add SQL settings to _session_settings src/box/CMakeLists.txt | 2 + src/box/bootstrap.snap | Bin 5921 -> 5975 bytes src/box/box.cc | 4 + src/box/lua/space.cc | 2 + src/box/lua/upgrade.lua | 15 + src/box/schema_def.h | 8 + src/box/session_settings.c | 409 +++++++++++++++++++++ src/box/session_settings.h | 62 ++++ src/box/sql.h | 47 +++ src/box/sql/build.c | 273 ++++++++++++++ src/box/sql/main.c | 8 + src/box/virtual_engine.c | 134 +++++++ src/box/virtual_engine.h | 55 +++ test/app-tap/tarantoolctl.test.lua | 4 +- test/box-py/bootstrap.result | 3 + test/box/access_sysview.result | 6 +- test/box/alter.result | 5 +- ...h-4511-access-settings-from-any-frontend.result | 275 ++++++++++++++ ...4511-access-settings-from-any-frontend.test.lua | 103 ++++++ test/wal_off/alter.result | 2 +- 20 files changed, 1409 insertions(+), 8 deletions(-) create mode 100644 src/box/session_settings.c create mode 100644 src/box/session_settings.h create mode 100644 src/box/virtual_engine.c create mode 100644 src/box/virtual_engine.h create mode 100644 test/box/gh-4511-access-settings-from-any-frontend.result create mode 100644 test/box/gh-4511-access-settings-from-any-frontend.test.lua -- 2.7.4