Commit 8cee8b51 authored by vvaltman's avatar vvaltman

debug output

parent 2a76cfe2
...@@ -160,6 +160,9 @@ static int fetch_comb_binlog_set_date (void *extra) { ...@@ -160,6 +160,9 @@ static int fetch_comb_binlog_set_date (void *extra) {
static int fetch_comb_binlog_set_seq (void *extra) { static int fetch_comb_binlog_set_seq (void *extra) {
int new_seq = fetch_int (); int new_seq = fetch_int ();
if (new_seq < tgl_state.seq) {
vlogprintf (E_ERROR, "Error: old_seq = %d, new_seq = %d\n", tgl_state.seq, new_seq);
}
assert (new_seq >= tgl_state.seq); assert (new_seq >= tgl_state.seq);
tgl_state.seq = new_seq; tgl_state.seq = new_seq;
return 0; return 0;
......
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