Github user sandhyasun commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/1006#discussion_r105758318
--- Diff: core/sql/sqlcomp/CmpSeabaseDDLtable.cpp ---
@@ -7791,7 +7791,7 @@ void
CmpSeabaseDDL::alterSeabaseTableAddPKeyConstraint(
// this new primary key.
// Do this optimization in mode_special_4 only.
Lng32 len = 0;
- Int64 rowCount = 0;
+ Lng32 rowCount = 0;
--- End diff --
Same comment as above. The container is not large enough to hold the return
value from executeImmediate() . And since it's on stack it can corrupt another
value on the stack.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---