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 2017/06/24 00:08:26 UTC
[3/4] incubator-trafodion git commit: fix all similar issue
fix all similar issue
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/604879bc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/604879bc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/604879bc
Branch: refs/heads/master
Commit: 604879bc437e55eeecc233f1985b8d3a9d113d02
Parents: abef303
Author: SuJinpei <87...@qq.com>
Authored: Tue Jun 20 11:46:55 2017 +0800
Committer: SuJinpei <87...@qq.com>
Committed: Tue Jun 20 11:46:55 2017 +0800
----------------------------------------------------------------------
core/conn/odb/src/odb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/604879bc/core/conn/odb/src/odb.c
----------------------------------------------------------------------
diff --git a/core/conn/odb/src/odb.c b/core/conn/odb/src/odb.c
index 1da7480..a58ffd0 100755
--- a/core/conn/odb/src/odb.c
+++ b/core/conn/odb/src/odb.c
@@ -11076,7 +11076,7 @@ static void Odiff(int eid)
}
/* Calculate rowset if buffer size is set */
- if (etab[eid].rbs)
+ if ( etab[eid].rbs )
{
etab[eid].r = etab[eid].rbs / etab[eid].s;
etab[eid].r = etab[eid].r < 1 ? 1 : etab[eid].r; // at least one record at a time