From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 27A6A469710 for ; Tue, 9 Jun 2020 15:53:18 +0300 (MSK) Received: by mail-lj1-f182.google.com with SMTP id s1so24901122ljo.0 for ; Tue, 09 Jun 2020 05:53:18 -0700 (PDT) From: Cyrill Gorcunov Date: Tue, 9 Jun 2020 15:53:01 +0300 Message-Id: <20200609125302.279888-2-gorcunov@gmail.com> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 1/2] box/applier: fix typo List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: v.shpilevoy@tarantool.org fixup 3210e1e6f867cfd1c1f65e05f28a32deae63c172 Signed-off-by: Cyrill Gorcunov --- src/box/applier.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box/applier.cc b/src/box/applier.cc index 1dc977424..cf7215d43 100644 --- a/src/box/applier.cc +++ b/src/box/applier.cc @@ -271,7 +271,7 @@ applier_on_confirm(struct trigger *trig, void *data) static int process_confirm(struct request *request) { - assert(request->header->type = IPROTO_CONFIRM); + assert(request->header->type == IPROTO_CONFIRM); uint32_t replica_id; struct txn *txn = in_txn(); int64_t *lsn = (int64_t *) region_alloc(&txn->region, sizeof(int64_t)); -- 2.26.2