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/12/06 21:29:22 UTC
[1/2] trafodion git commit: [TRAFODION-3243] Avoid dereference of
deleted NAString in UPDATE STATISTICS
Repository: trafodion
Updated Branches:
refs/heads/master d7aada4c9 -> 889631aae
[TRAFODION-3243] Avoid dereference of deleted NAString in UPDATE STATISTICS
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/95380a07
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/95380a07
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/95380a07
Branch: refs/heads/master
Commit: 95380a07e2e4f2aec45d9f0b5a92378cc13da33f
Parents: c21519b
Author: Dave Birdsall <db...@apache.org>
Authored: Wed Dec 5 21:15:08 2018 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Wed Dec 5 21:15:08 2018 +0000
----------------------------------------------------------------------
core/sql/ustat/hs_globals.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafodion/blob/95380a07/core/sql/ustat/hs_globals.cpp
----------------------------------------------------------------------
diff --git a/core/sql/ustat/hs_globals.cpp b/core/sql/ustat/hs_globals.cpp
index 6fd65df..b09acad 100644
--- a/core/sql/ustat/hs_globals.cpp
+++ b/core/sql/ustat/hs_globals.cpp
@@ -1497,11 +1497,11 @@ HSColGroupStruct::HSColGroupStruct()
HSColGroupStruct::~HSColGroupStruct()
{
+ freeISMemory(); // do this first, as it dereferences colNames for logging
delete clistr;
delete colNames;
delete groupHist;
delete next;
- freeISMemory();
}
/**
[2/2] trafodion git commit: Merge [TRAFODION-3243] PR 1756 Avoid
deref NAString after delete in UPD STATS
Posted by db...@apache.org.
Merge [TRAFODION-3243] PR 1756 Avoid deref NAString after delete in UPD STATS
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/889631aa
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/889631aa
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/889631aa
Branch: refs/heads/master
Commit: 889631aae9cdcd38fca92418d633f2dedc0be619
Parents: d7aada4 95380a0
Author: Dave Birdsall <db...@apache.org>
Authored: Thu Dec 6 21:28:40 2018 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Thu Dec 6 21:28:40 2018 +0000
----------------------------------------------------------------------
core/sql/ustat/hs_globals.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------