trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sure...@apache.org
Subject [1/4] incubator-trafodion git commit: [TRAFODION-2652] run cmd “./odb64luo -l src=nofile:tgt=ldata:map=map:max=300000:rows=K1:parallel=16” core dumped
Date Sat, 24 Jun 2017 00:08:24 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 023b60140 -> c902f0993


[TRAFODION-2652] run cmd “./odb64luo -l src=nofile:tgt=ldata:map=map:max=300000:rows=K1:parallel=16”
core dumped


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

Branch: refs/heads/master
Commit: be5dc591e6d54b304a11a470f67ec64e62aabe57
Parents: 1083be3
Author: SuJinpei <873118042@qq.com>
Authored: Tue Jun 20 11:30:00 2017 +0800
Committer: SuJinpei <873118042@qq.com>
Committed: Tue Jun 20 11:30:00 2017 +0800

----------------------------------------------------------------------
 core/conn/odb/src/odb.c | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/be5dc591/core/conn/odb/src/odb.c
----------------------------------------------------------------------
diff --git a/core/conn/odb/src/odb.c b/core/conn/odb/src/odb.c
index a619468..5a5fa4c 100755
--- a/core/conn/odb/src/odb.c
+++ b/core/conn/odb/src/odb.c
@@ -3474,6 +3474,8 @@ Please note the fixed length '6' in strmicmp: SELECT/UPDATET/DELETE/INSERT
have
         etab[eid].r = etab[eid].rbs / rsds;
         if ( etab[eid].mr && etab[eid].r > etab[eid].mr )   /* if # records to
fetch < rowset ... */
             etab[eid].r = etab[eid].mr;                     /* make rowset = records to fetch
*/
+        if (etab[eid].r < 1)
+            etab[eid].r = 1;
     }
 
     /* Set output buffer length */
@@ -7019,6 +7021,8 @@ static void Oload(int eid)
         etab[eid].r = etab[eid].rbs / etab[eid].s;
         if ( etab[eid].mr && etab[eid].r > etab[eid].mr )   /* if # records to
fetch < rowset ... */
             etab[eid].r = etab[eid].mr;                     /* make rowset = records to fetch
*/
+        if (etab[eid].r < 1)                                /* at least one record at
a time */
+            etab[eid].r = 1;
     }
     if ( etab[eid].flg2 & 0001 )    /* commit as multiplier */
         etab[eid].cmt *= (int)etab[eid].r ;


Mime
View raw message