Changeset: e9a9ff62df4b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e9a9ff62df4b
Modified Files:
        sql/storage/store.c
Branch: hot-snapshot
Log Message:

Properly emit zeros-block at end of tar file


diffs (16 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -2554,7 +2554,11 @@ hot_snapshot_write_tar(stream *out, cons
                                goto end;
                }
        }
-       ret = GDK_SUCCEED;
+
+       // write a trailing block of zeros. If it succeeds, this function 
succeeds.
+       char a;
+       a = '\0';
+       ret = tar_write(out, &a, 1);
 
 end:
        free(plan);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to