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 2EB82266FD for ; Wed, 4 Jul 2018 13:18:03 -0400 (EDT) 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 HaQm4XqOELmM for ; Wed, 4 Jul 2018 13:18:03 -0400 (EDT) Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (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 84C6E266C2 for ; Wed, 4 Jul 2018 13:18:02 -0400 (EDT) From: Kirill Shcherbatov Subject: [tarantool-patches] [PATCH v1 0/2] sql: get rid off sqlite3NestedParse Date: Wed, 4 Jul 2018 20:17:53 +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: v.shpilevoy@tarantool.org, Kirill Shcherbatov As we are going to implement parser as separate library, we should get rid off sqlite3NestedParse calls. Last usages in statistics update could be trivially rewrited to do not start parsing. We manually build AST structures simmilar to parser did and manually call sql_table_delete_from. Finilly, I've removed all sqlite3NestedParse mentionings. Branch: http://github.com/tarantool/tarantool/tree/kshch/gh-3496-no-nested-parse Issue: https://github.com/tarantool/tarantool/issues/3496 Kirill Shcherbatov (2): sql: get rid off sqlite3NestedParse in clean stats sql: remove usless sqlite3NestedParse function src/box/sql/analyze.c | 39 ++++++++-------- src/box/sql/build.c | 122 ++++++++++++++++++++++++------------------------ src/box/sql/delete.c | 6 +-- src/box/sql/insert.c | 6 +-- src/box/sql/sqliteInt.h | 14 +++++- src/box/sql/update.c | 6 +-- 6 files changed, 97 insertions(+), 96 deletions(-) -- 2.7.4