Github user DaveBirdsall commented on a diff in the pull request: https://github.com/apache/trafodion/pull/1747#discussion_r234716204 --- Diff: core/conn/odb/src/odb.c --- @@ -10076,6 +10114,7 @@ static int Oloadbuff(int eid) clock_gettime(CLOCK_MONOTONIC, &tsp1); #endif Or = SQLExecute(thps[tid].Os) ; /* Execute INSERT (load/copy) or tgt command */ + SQLLEN tLastRow = -1; /* this is special solution for China Union Pay, print only first error message for state 22003 */ --- End diff -- Probably best not to put customer names into the code. Consider changing the comment to just "/* print only first error message for state 22003 */"
---