From ba29065d300119de79e5fc55824b6b18a0c59202 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 18 Jun 2015 05:41:35 +0300 Subject: [PATCH] dbms: fixed comment [#METR-2944]. --- dbms/src/Interpreters/executeQuery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/src/Interpreters/executeQuery.cpp b/dbms/src/Interpreters/executeQuery.cpp index 16ef92c4a4f..b8d79f5751e 100644 --- a/dbms/src/Interpreters/executeQuery.cpp +++ b/dbms/src/Interpreters/executeQuery.cpp @@ -181,7 +181,7 @@ void executeQuery( if (format.empty()) format = "Values"; - /// Данные могут содержаться в распарсенной (query.data) и ещё не распарсенной (remaining_data_istr) части запроса. + /// Данные могут содержаться в распарсенной (ast_insert_query.data) и ещё не распарсенной (istr) части запроса. ConcatReadBuffer::ReadBuffers buffers; ReadBuffer buf1(const_cast(ast_insert_query->data), ast_insert_query->data ? ast_insert_query->end - ast_insert_query->data : 0, 0); @@ -190,7 +190,7 @@ void executeQuery( buffers.push_back(&buf1); buffers.push_back(&istr); - /** NOTE Нельзя читать из istr до того, как прочтём всё между query.data и query.end. + /** NOTE Нельзя читать из istr до того, как прочтём всё между ast_insert_query.data и ast_insert_query.end. * - потому что query.data может ссылаться на кусок памяти, использующийся в качестве буфера в istr. */