You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by hz...@apache.org on 2016/01/08 03:02:58 UTC
[2/3] incubator-trafodion git commit: Rework
Rework
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/384f8fa8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/384f8fa8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/384f8fa8
Branch: refs/heads/master
Commit: 384f8fa8e104b9aca9687a676c2f876fe1f4e436
Parents: 99a143f
Author: Dave Birdsall <db...@apache.org>
Authored: Thu Jan 7 23:26:05 2016 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Thu Jan 7 23:26:05 2016 +0000
----------------------------------------------------------------------
core/sql/ustat/hs_globals.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/384f8fa8/core/sql/ustat/hs_globals.cpp
----------------------------------------------------------------------
diff --git a/core/sql/ustat/hs_globals.cpp b/core/sql/ustat/hs_globals.cpp
index 59ae5d4..75789e9 100644
--- a/core/sql/ustat/hs_globals.cpp
+++ b/core/sql/ustat/hs_globals.cpp
@@ -3817,10 +3817,10 @@ Lng32 HSSample::make(NABoolean rowCountIsEstimate, // input
char temp1[40]; // way more space than needed, but it's safe
Lng32 wcs = (Lng32)workableCacheSize;
sprintf(temp1,"'%d'",wcs);
- NAString minCQD = "CONTROL QUERY HBASE_NUM_CACHE_ROWS_MIN ";
+ NAString minCQD = "CONTROL QUERY DEFAULT HBASE_NUM_CACHE_ROWS_MIN ";
minCQD += temp1;
HSFuncExecQuery(minCQD);
- NAString maxCQD = "CONTROL QUERY HBASE_NUM_CACHE_ROWS_MAX ";
+ NAString maxCQD = "CONTROL QUERY DEFAULT HBASE_NUM_CACHE_ROWS_MAX ";
maxCQD += temp1;
HSFuncExecQuery(maxCQD);
HBaseCQDsUsed = TRUE; // remember to reset these later