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 9542322FF9 for ; Thu, 3 May 2018 06:10:06 -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 HGOSMIi8xUco for ; Thu, 3 May 2018 06:10:06 -0400 (EDT) Received: from smtp32.i.mail.ru (smtp32.i.mail.ru [94.100.177.92]) (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 D565122FF8 for ; Thu, 3 May 2018 06:10:05 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH v4 2/7] sql: remove zName and nColumn from SQL References: <7da5c653f8be02accf41f9451ca29c27418c0722.1524939874.git.kshcherbatov@tarantool.org> From: Vladislav Shpilevoy Message-ID: Date: Thu, 3 May 2018 13:10:03 +0300 MIME-Version: 1.0 In-Reply-To: <7da5c653f8be02accf41f9451ca29c27418c0722.1524939874.git.kshcherbatov@tarantool.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Kirill Shcherbatov , tarantool-patches@freelists.org Hello. Same as in the previous letter. On 28/04/2018 21:26, Kirill Shcherbatov wrote: > 1. Removed zName from SQL Column. > 2. Removed zColumns from SQL Table. > 3. Refactored Parser to use def_expression directly. > 4. Introduced sql_table_def_rebuild intended for collect > fragmented with sql_field_retrieve space_def into memory > located in one allocation. > > Part of #3272. > --- > src/box/space_def.c | 29 ++++--- > src/box/sql.c | 79 +++++++++++++++-- > src/box/sql.h | 32 +++++++ > src/box/sql/alter.c | 32 ++++--- > src/box/sql/analyze.c | 5 +- > src/box/sql/build.c | 221 +++++++++++++++++++++++------------------------- > src/box/sql/delete.c | 6 +- > src/box/sql/expr.c | 11 +-- > src/box/sql/fkey.c | 20 ++--- > src/box/sql/insert.c | 55 ++++++------ > src/box/sql/pragma.c | 24 ++++-- > src/box/sql/prepare.c | 26 +++--- > src/box/sql/resolve.c | 16 ++-- > src/box/sql/select.c | 112 ++++++++++++++---------- > src/box/sql/sqliteInt.h | 6 +- > src/box/sql/tokenize.c | 3 + > src/box/sql/trigger.c | 2 + > src/box/sql/update.c | 29 ++++--- > src/box/sql/where.c | 6 +- > src/box/sql/wherecode.c | 2 +- > src/box/sql/whereexpr.c | 4 +- > 21 files changed, 433 insertions(+), 287 deletions(-) >