You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by su...@apache.org on 2017/01/23 23:12:25 UTC
[2/3] incubator-trafodion git commit: Fix for seabase/test020 failure
Fix for seabase/test020 failure
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/478478c2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/478478c2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/478478c2
Branch: refs/heads/master
Commit: 478478c232f4e78fdcfe7c9e38a4a23ddc021118
Parents: 1450e83
Author: Suresh Subbiah <su...@apache.org>
Authored: Mon Jan 23 19:48:12 2017 +0000
Committer: Suresh Subbiah <su...@apache.org>
Committed: Mon Jan 23 19:48:12 2017 +0000
----------------------------------------------------------------------
core/sql/generator/GenExpGenerator.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/478478c2/core/sql/generator/GenExpGenerator.cpp
----------------------------------------------------------------------
diff --git a/core/sql/generator/GenExpGenerator.cpp b/core/sql/generator/GenExpGenerator.cpp
index b360f51..7bcfe4c 100644
--- a/core/sql/generator/GenExpGenerator.cpp
+++ b/core/sql/generator/GenExpGenerator.cpp
@@ -3154,7 +3154,7 @@ short ExpGenerator::generateDeserializedMoveExpr(
NAColumn * nac = vid.getNAColumn( TRUE );
ItemExpr * ie = NULL;
- if (CmpSeabaseDDL::isEncodingNeededForSerialization(nac) &&
+ if (nac && CmpSeabaseDDL::isEncodingNeededForSerialization(nac) &&
!alreadyDeserialized.contains(vid))
{
ie = new(generator->wHeap()) CompDecode(vid.getItemExpr(), &vid.getType(),