Changeset: 52ad7d8c48fd for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=52ad7d8c48fd
Modified Files:
gdk/gdk_logger.c
Branch: Apr2019
Log Message:
In case of a LOG_UPDATE_ID log entry, check whether we need to check the name.
diffs (15 lines):
diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -434,7 +434,10 @@ log_read_updates(logger *lg, trans *tr,
tt = TYPE_void;
}
break;
- } else if (tr->changes[i].type == LOG_USE &&
strcmp(tr->changes[i].name, name) == 0) {
+ } else if (tr->changes[i].type == LOG_USE &&
+ (tpe == 0
+ ? strcmp(tr->changes[i].name, name) == 0
+ : tr->changes[i].tpe == tpe &&
tr->changes[i].cid == id)) {
log_bid bid = (log_bid) tr->changes[i].nr;
BAT *b = BATdescriptor(bid);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list