Changeset: fd9d5887226a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/fd9d5887226a
Modified Files:
gdk/gdk_logger.c
Branch: Jun2023
Log Message:
Clear the correct (i.e. the recently allocated) piece of memory.
diffs (14 lines):
diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -2529,9 +2529,9 @@ log_flush(logger *lg, ulng ts)
log_unlock(lg);
return GDK_FAIL;
}
+ updated = p;
memset(updated + allocated / 4, 0, a -
allocated);
allocated = a;
- updated = p;
}
nupdated = n;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]