trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbirds...@apache.org
Subject [1/2] trafodion git commit: increase the ref count
Date Wed, 22 Aug 2018 15:43:21 GMT
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 <adamas@tom.com>
Authored: Mon Aug 20 19:21:23 2018 +0800
Committer: Adamas <adamas@tom.com>
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());
 			}
 


Mime
View raw message