From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 0BC2046971A for ; Wed, 4 Dec 2019 14:57:15 +0300 (MSK) Received: by mail-lf1-f65.google.com with SMTP id y19so5890218lfl.9 for ; Wed, 04 Dec 2019 03:57:15 -0800 (PST) Date: Wed, 4 Dec 2019 14:57:13 +0300 From: Konstantin Osipov Message-ID: <20191204115713.GL6592@atlas> References: <010b113690899c495507d3795718f03dd56bf1f6.1574277369.git.korablev@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <010b113690899c495507d3795718f03dd56bf1f6.1574277369.git.korablev@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v2 10/16] sql: add sql_stmt_schema_version() List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikita Pettik Cc: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org * Nikita Pettik [19/11/21 10:00]: > Let's introduce interface function to get schema version of prepared > statement. It is required since sturct sql_stmt (i.e. prepared > statement) is an opaque object and in fact is an alias to struct Vdbe. > Statements with schema version different from the current one are > considered to be expired and should be re-compiled. lgtm -- Konstantin Osipov, Moscow, Russia