From f576dd669419f4c0a63e6df345b4dc17b0622fa0 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 5 Apr 2006 18:47:02 +0000 Subject: [PATCH] (verify_row): uid check was too strict. --- src/lib/common/ef_verify.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/common/ef_verify.c b/src/lib/common/ef_verify.c index 5cf675c8..1f803d3c 100644 --- a/src/lib/common/ef_verify.c +++ b/src/lib/common/ef_verify.c @@ -115,6 +115,10 @@ verify_row(int type, int row) } } else if (ca[i].ca_table == type && i == 0) { /* uid */ + /* Some files contain zeroed records, cope */ + /* TODO tighten this check */ + if (val.val_as.lng == 0) + continue; if (val.val_as.lng != row) { verify_fail(type, row, &ca[i], "value is %ld instead of %d",