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 2018/03/08 17:26:51 UTC

[1/2] trafodion git commit: fix TRAFODION-2978 update statistics hang

Repository: trafodion
Updated Branches:
  refs/heads/master 17a6a5cfa -> c13cd58a6


fix TRAFODION-2978 update statistics hang


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

Branch: refs/heads/master
Commit: 8ab331923ae8cc2ef0ca4f1f100bf1bcd61056a7
Parents: 360427c
Author: kakaxi3019 <ju...@163.com>
Authored: Tue Mar 6 02:04:06 2018 +0000
Committer: kakaxi3019 <ju...@163.com>
Committed: Tue Mar 6 02:04:06 2018 +0000

----------------------------------------------------------------------
 core/sql/ustat/hs_globals.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/8ab33192/core/sql/ustat/hs_globals.cpp
----------------------------------------------------------------------
diff --git a/core/sql/ustat/hs_globals.cpp b/core/sql/ustat/hs_globals.cpp
index c183b01..a437d97 100644
--- a/core/sql/ustat/hs_globals.cpp
+++ b/core/sql/ustat/hs_globals.cpp
@@ -11632,7 +11632,12 @@ Int32 HSGlobalsClass::allocateMemoryForColumns(HSColGroupStruct* group,
          memReduceAllowance();
          break;
        }
-
+     //trafodion-2978
+     //group->mcis_memFreed may be set TRUE in HSColGroupStruct::freeISMemory
+     //so if allocate memory success,set group->mcis_memFreed to FALSE agin.
+     if(group->mcis_memFreed)
+         group->mcis_memFreed = FALSE;
+     //trafodion-2978
      group->nextData = group->data;
      group->mcis_nextData = group->mcis_data;
      numCols++;


[2/2] trafodion git commit: Merge [TRAFODION-2978] PR 1462 Fix bug with UPDATE STATS on very large tables

Posted by db...@apache.org.
Merge [TRAFODION-2978] PR 1462 Fix bug with UPDATE STATS on very large tables


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

Branch: refs/heads/master
Commit: c13cd58a6d8f0e77e6a69fd227d714f569292b63
Parents: 17a6a5c 8ab3319
Author: Dave Birdsall <db...@apache.org>
Authored: Thu Mar 8 17:26:10 2018 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Thu Mar 8 17:26:10 2018 +0000

----------------------------------------------------------------------
 core/sql/ustat/hs_globals.cpp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------