hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject incubator-hawq git commit: HAWQ-360. Fixed Data loss when alter partition table by add two column in one time.
Date Fri, 29 Jan 2016 08:30:51 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 122df07f2 -> 036c7352a


HAWQ-360. Fixed Data loss when alter partition table by add two column in one time.


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

Branch: refs/heads/master
Commit: 036c7352a0253ec52b06ea9ad61b3caccbebc5af
Parents: 122df07
Author: doli <doli@pivotal.io>
Authored: Fri Jan 29 10:50:17 2016 +0800
Committer: Zhanwei Wang <wangzw@apache.org>
Committed: Fri Jan 29 16:27:15 2016 +0800

----------------------------------------------------------------------
 src/backend/cdb/cdbfilesplit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/036c7352/src/backend/cdb/cdbfilesplit.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbfilesplit.c b/src/backend/cdb/cdbfilesplit.c
index 78beaaa..4a2ad04 100644
--- a/src/backend/cdb/cdbfilesplit.c
+++ b/src/backend/cdb/cdbfilesplit.c
@@ -89,12 +89,12 @@ AssignSingleAOSegFileSplitToSegment(Oid relid, List *segment_infos, bool
keep_ha
 	 */
 	if (RELSTORAGE_AOROWS == storageChar)
 	{
-		splits = AOGetAllSegFileSplits(aoEntry, ActiveSnapshot);
+		splits = AOGetAllSegFileSplits(aoEntry, SnapshotSelf);
 	}
 	else
 	{
 		Assert(RELSTORAGE_PARQUET == storageChar);
-		splits = ParquetGetAllSegFileSplits(aoEntry, ActiveSnapshot);
+		splits = ParquetGetAllSegFileSplits(aoEntry, SnapshotSelf);
 	}
 
 	/*


Mime
View raw message