You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2016/11/16 17:11:00 UTC

[3/7] incubator-trafodion git commit: [TRAFODION-2326] additional change.

[TRAFODION-2326] additional change.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/1b6ae7e5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/1b6ae7e5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/1b6ae7e5

Branch: refs/heads/master
Commit: 1b6ae7e557678eefc389fb9b414b75daa7ff737f
Parents: a00f7bd
Author: Prashant Vasudev <pr...@esgyn.com>
Authored: Fri Nov 4 22:26:42 2016 +0000
Committer: Prashant Vasudev <pr...@esgyn.com>
Committed: Fri Nov 4 22:26:42 2016 +0000

----------------------------------------------------------------------
 core/sql/executor/ex_sort.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/1b6ae7e5/core/sql/executor/ex_sort.cpp
----------------------------------------------------------------------
diff --git a/core/sql/executor/ex_sort.cpp b/core/sql/executor/ex_sort.cpp
index 3ae5bd2..6a71920 100644
--- a/core/sql/executor/ex_sort.cpp
+++ b/core/sql/executor/ex_sort.cpp
@@ -162,7 +162,7 @@ void ExSortTcb::setupPoolBuffers(ex_queue_entry *pentry_down)
   
   //CIF defrag option only if NOT topNSortPool_
   defragTd_ = NULL;
-  if (considerBufferDefrag() && (topNSortPool_ != NULL))
+  if (considerBufferDefrag() && (topNSortPool_ == NULL))
   {
     defragTd_ = sortPool_->addDefragTuppDescriptor(sortTdb().sortRecLen_);
   }