Commit 0004ec9a authored by Geoff Simmons's avatar Geoff Simmons

don't submit transactions that have no records

parent 87d7119b
......@@ -327,6 +327,10 @@ event(struct VSL_data *vsl, struct VSL_transaction * const pt[], void *priv)
VSTAILQ_INSERT_TAIL(&tx->lines, rec, linelist);
nrec++;
}
if (nrec == 0)
continue;
tx->state = TX_DONE;
seen++;
MON_StatsUpdate(STATS_DONE, nrec, total_chunks);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment