From commits-return-8613-archive-asf-public=cust-asf.ponee.io@trafodion.apache.org Wed Aug 22 17:43:23 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CDB96180662 for ; Wed, 22 Aug 2018 17:43:22 +0200 (CEST) Received: (qmail 7965 invoked by uid 500); 22 Aug 2018 15:43:21 -0000 Mailing-List: contact commits-help@trafodion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commits@trafodion.apache.org Delivered-To: mailing list commits@trafodion.apache.org Received: (qmail 7956 invoked by uid 99); 22 Aug 2018 15:43:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2018 15:43:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CEEBDDFB1B; Wed, 22 Aug 2018 15:43:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dbirdsall@apache.org To: commits@trafodion.apache.org Date: Wed, 22 Aug 2018 15:43:21 -0000 Message-Id: <48a2ab47e9484635a338dfbbcf523c95@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] trafodion git commit: increase the ref count Repository: trafodion Updated Branches: refs/heads/master 0550932b4 -> bd3facc68 increase the ref count Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/f15c6abe Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/f15c6abe Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/f15c6abe Branch: refs/heads/master Commit: f15c6abe85db8532a51e232900890ca1f22df99a Parents: 2c5af79 Author: Adamas Authored: Mon Aug 20 19:21:23 2018 +0800 Committer: Adamas Committed: Mon Aug 20 19:21:23 2018 +0800 ---------------------------------------------------------------------- core/sql/executor/ex_tuple_flow.cpp | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/f15c6abe/core/sql/executor/ex_tuple_flow.cpp ---------------------------------------------------------------------- diff --git a/core/sql/executor/ex_tuple_flow.cpp b/core/sql/executor/ex_tuple_flow.cpp index 42965fa..676a185 100644 --- a/core/sql/executor/ex_tuple_flow.cpp +++ b/core/sql/executor/ex_tuple_flow.cpp @@ -316,6 +316,10 @@ short ExTupleFlowTcb::work() ex_queue_entry * up_entry = qParent_.up->getTailEntry(); + + if (src_entry->getDiagsArea()) + src_entry->getDiagsArea()->incrRefCount(); + up_entry->setDiagsArea(src_entry->getDiagsArea()); }