hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject incubator-hawq git commit: HAWQ-94. Handle one case when reaching EOF for AO large tuple
Date Thu, 12 Nov 2015 03:03:10 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master e38140c71 -> d2862fff1


HAWQ-94. Handle one case when reaching EOF for AO large tuple


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

Branch: refs/heads/master
Commit: d2862fff1b43493b0c3a62b7e64c95adb758ba95
Parents: e38140c
Author: Lirong Jian <jianlirong@gmail.com>
Authored: Wed Nov 11 13:53:25 2015 +0800
Committer: Lirong Jian <jianlirong@gmail.com>
Committed: Thu Nov 12 10:41:43 2015 +0800

----------------------------------------------------------------------
 src/backend/cdb/cdbappendonlystorageread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/d2862fff/src/backend/cdb/cdbappendonlystorageread.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbappendonlystorageread.c b/src/backend/cdb/cdbappendonlystorageread.c
index c674293..2865f52 100755
--- a/src/backend/cdb/cdbappendonlystorageread.c
+++ b/src/backend/cdb/cdbappendonlystorageread.c
@@ -718,7 +718,7 @@ AppendOnlyStorageRead_PositionToNextBlock(
 	else
 		*blockLimitLen = storageRead->maxBufferLen;
 
-	return true;
+	return (*blockLimitLen > 0);
 }
 
 


Mime
View raw message