trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbirds...@apache.org
Subject [1/2] incubator-trafodion git commit: [TRAFODION-2749] Fix issue with reserved words as column names
Date Wed, 20 Sep 2017 22:26:00 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 2d6d0e7a9 -> d1859ebb3


[TRAFODION-2749] Fix issue with reserved words as column names


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

Branch: refs/heads/master
Commit: fc575b11679862d5820584c95dc665260f42c1a9
Parents: 8e2ba64
Author: Dave Birdsall <dbirdsall@apache.org>
Authored: Tue Sep 19 22:58:31 2017 +0000
Committer: Dave Birdsall <dbirdsall@apache.org>
Committed: Tue Sep 19 22:58:31 2017 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/fc575b11/core/sql/ustat/hs_globals.cpp
----------------------------------------------------------------------
diff --git a/core/sql/ustat/hs_globals.cpp b/core/sql/ustat/hs_globals.cpp
index afed2c6..bf7bb57 100644
--- a/core/sql/ustat/hs_globals.cpp
+++ b/core/sql/ustat/hs_globals.cpp
@@ -9392,14 +9392,14 @@ Lng32 HSGlobalsClass::ComputeMCStatistics(NABoolean usingIS)
                mgroup->clistr->append(sampleOption->data());
 
             mgroup->clistr->append(" GROUP BY ");
-            mgroup->clistr->append(mgroup->colNames->data());
+            mgroup->clistr->append(mgroupColNames);
             mgroup->clistr->append(" FOR READ UNCOMMITTED ACCESS) T(");
-            mgroup->clistr->append(mgroup->colNames->data());
+            mgroup->clistr->append(mgroupColNames);
             mgroup->clistr->append(", FMTVAL, SUMVAL)");
             if(collectMCSkewedValues)
             {
               mgroup->clistr->append(" ORDER BY ");
-              mgroup->clistr->append(mgroup->colNames->data());
+              mgroup->clistr->append(mgroupColNames);
             }
     
             cursor = new(STMTHEAP) HSCursor;


Mime
View raw message