From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 05FB5209FC for ; Sat, 26 Jan 2019 19:28:17 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5CtMeD3hi3nW for ; Sat, 26 Jan 2019 19:28:16 -0500 (EST) Received: from smtp46.i.mail.ru (smtp46.i.mail.ru [94.100.177.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 9D776209D2 for ; Sat, 26 Jan 2019 19:28:15 -0500 (EST) From: Roman Khabibov Subject: [tarantool-patches] [PATCH 0/2] sql: store statistics in statN as an array of integers Date: Sun, 27 Jan 2019 03:28:09 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: korablev@tarantool.org It was necessary to add function for msg pack result in sqlite3 VDBE API. The patchset is very raw. There are problems with the old tests that need to be solved. I do not know if a piece of code with keyword checking works. Could you send in the reply letter test samples for "unordered" and "noskipscan" keywords? Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/gh-3372-store-statN Issue: https://github.com/tarantool/tarantool/issues/3372 Roman Khabibov (2): sql: add sqlite3 msgpack result function sql: store statistics in statN as an array of integers src/box/bootstrap.snap | Bin 1911 -> 1912 bytes src/box/lua/upgrade.lua | 27 ++- src/box/sql/analyze.c | 128 ++++++++------ src/box/sql/sqliteInt.h | 3 + src/box/sql/vdbeapi.c | 13 ++ test/sql-tap/analyze1.test.lua | 77 +++++---- test/sql-tap/analyze4.test.lua | 6 +- test/sql-tap/analyze9.test.lua | 218 ++++++++++++------------ test/sql-tap/analyzeC.test.lua | 65 ++++++- test/sql-tap/gh-3350-skip-scan.test.lua | 16 +- test/sql/sql-statN-index-drop.result | 56 +++--- test/sql/upgrade.result | 6 +- 12 files changed, 369 insertions(+), 246 deletions(-) -- 2.17.1