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/03/08 21:29:52 UTC

[1/2] incubator-trafodion git commit: [TRAFODION-2527] process abend when updating primary key with TRAF_RELOAD_NATABLE_CACHE 'ON'

Repository: incubator-trafodion
Updated Branches:
  refs/heads/master a56799698 -> ffe326136


[TRAFODION-2527] process abend when updating primary key with TRAF_RELOAD_NATABLE_CACHE 'ON'


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

Branch: refs/heads/master
Commit: 90aec8038aa046d7d8bb65fbc63f399e9bd8f38e
Parents: d15b5b6
Author: Suresh Subbiah <su...@apache.org>
Authored: Wed Mar 8 04:35:11 2017 +0000
Committer: Suresh Subbiah <su...@apache.org>
Committed: Wed Mar 8 04:35:11 2017 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/90aec803/core/sql/optimizer/BindRelExpr.cpp
----------------------------------------------------------------------
diff --git a/core/sql/optimizer/BindRelExpr.cpp b/core/sql/optimizer/BindRelExpr.cpp
index cc3aea2..bf206c2 100644
--- a/core/sql/optimizer/BindRelExpr.cpp
+++ b/core/sql/optimizer/BindRelExpr.cpp
@@ -13058,7 +13058,12 @@ RelExpr * GenericUpdate::bindNode(BindWA *bindWA)
     setTableDesc(naTableToptableDesc);
 
     // Now naTable has the Scan's table, and naTableTop has the GU's table.
-    isScanOnDifferentTable = (naTable != naTableTop);
+    // Rather than compare naTable pointers we now compare the extended
+    // qualified name contained in them. This name is the key to an natable
+    // object in NATableDB and will enable us to tell if scan's table and 
+    // GU's table are the same.
+    isScanOnDifferentTable = (naTable->getExtendedQualName() != 
+			      naTableTop->getExtendedQualName());
   }
 
   if (bindWA->errStatus())


[2/2] incubator-trafodion git commit: Merge [TRAFODION-2527] PR-1000 process abend when updating primary key with TRAF_RELOAD_NATABLE_CACHE ON

Posted by su...@apache.org.
Merge [TRAFODION-2527] PR-1000 process abend when updating primary key with TRAF_RELOAD_NATABLE_CACHE ON


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

Branch: refs/heads/master
Commit: ffe3261369f329b7e0106aa8940fe1ec6fcd51cb
Parents: a567996 90aec80
Author: Suresh Subbiah <su...@apache.org>
Authored: Wed Mar 8 21:29:06 2017 +0000
Committer: Suresh Subbiah <su...@apache.org>
Committed: Wed Mar 8 21:29:06 2017 +0000

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