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 2016/06/09 01:17:16 UTC
[1/2] incubator-trafodion git commit: Fix webroot reported assertion
failure
Repository: incubator-trafodion
Updated Branches:
refs/heads/master 8e47be8ad -> 4071b971c
Fix webroot reported assertion failure
JIRA TRAFODION-2038
Webroot reported:
ERROR[2006] Internal error:assertion failure ((Int32)outputDataLen >= 0) during compile,
which is the same issue as mantis-262, mantis-134, cherry pick from Adv2.1
Changes:
In QCache:
//backpatch for HQC queries
NABoolean CacheData::backpatchParams()
//convDoIt
sourceType->getPrecision() ==> sourceType->getPrecisionOrMaxNumChars()
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/914e42d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/914e42d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/914e42d4
Branch: refs/heads/master
Commit: 914e42d4b3f1730561949f8df28d3cccd6d68ad1
Parents: 4c3bb2b
Author: Howard Qin <ha...@esgyn.cn>
Authored: Wed Jun 8 03:56:36 2016 +0000
Committer: Howard Qin <ha...@esgyn.cn>
Committed: Wed Jun 8 03:56:36 2016 +0000
----------------------------------------------------------------------
core/sql/sqlcomp/QCache.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/914e42d4/core/sql/sqlcomp/QCache.cpp
----------------------------------------------------------------------
diff --git a/core/sql/sqlcomp/QCache.cpp b/core/sql/sqlcomp/QCache.cpp
index 0e3f57a..5193531 100644
--- a/core/sql/sqlcomp/QCache.cpp
+++ b/core/sql/sqlcomp/QCache.cpp
@@ -1441,12 +1441,12 @@ NABoolean CacheData::backpatchParams
short retCode = convDoIt((char*)charVal,
constVal->getStorageSize(),
(short)sourceType->getFSDatatype(),
- sourceType->getPrecision(),
+ sourceType->getPrecisionOrMaxNumChars(),
sourceScale,
(char*)(targetBugPtr+offset),
targetLen,
(short)(targetType->getFSDatatype()),
- targetType->getPrecision(),
+ targetType->getPrecisionOrMaxNumChars(),
targetScale,
varCharLen,
varCharLenSize,
[2/2] incubator-trafodion git commit: Merge [TRAFODION-2038] PR-529
Fix assertion failure ((Int32)outputDataLen >= 0) during compile
Posted by su...@apache.org.
Merge [TRAFODION-2038] PR-529 Fix assertion failure ((Int32)outputDataLen >= 0) during compile
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/4071b971
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/4071b971
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/4071b971
Branch: refs/heads/master
Commit: 4071b971cb2a917c6d9c23f1bd78ece91a62b1fd
Parents: 8e47be8 914e42d
Author: Suresh Subbiah <su...@apache.org>
Authored: Thu Jun 9 01:15:31 2016 +0000
Committer: Suresh Subbiah <su...@apache.org>
Committed: Thu Jun 9 01:15:31 2016 +0000
----------------------------------------------------------------------
core/sql/sqlcomp/QCache.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------