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 B2CFD46970E for ; Fri, 27 Dec 2019 17:05:03 +0300 (MSK) From: imeevma@tarantool.org Date: Fri, 27 Dec 2019 17:05:02 +0300 Message-Id: Subject: [Tarantool-patches] [PATCH v5 0/3] Introduce _session_setting system space 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 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/errcode.h | 1 + src/box/lua/space.cc | 2 + src/box/lua/upgrade.lua | 15 + src/box/schema_def.h | 8 + src/box/session_settings.c | 472 +++++++++++++++++++++ src/box/session_settings.h | 70 +++ src/box/sql.c | 5 + src/box/sql/build.c | 222 ++++++++++ src/box/virtual_engine.c | 135 ++++++ src/box/virtual_engine.h | 53 +++ 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 | 273 ++++++++++++ ...4511-access-settings-from-any-frontend.test.lua | 106 +++++ test/box/misc.result | 1 + test/wal_off/alter.result | 2 +- 21 files changed, 1381 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