From 6c9d18cacfe964d669acfda1de1ae59b941fdf3c Mon Sep 17 00:00:00 2001 From: Vysheng Date: Wed, 3 Sep 2014 13:31:39 +0400 Subject: [PATCH] Fixed bad assertion --- binlog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/binlog.c b/binlog.c index 651957a..3ede5e5 100644 --- a/binlog.c +++ b/binlog.c @@ -156,6 +156,7 @@ static int fetch_comb_binlog_set_qts (void *extra) { static int fetch_comb_binlog_set_date (void *extra) { int new_date = fetch_int (); + if (new_date < tgl_state.date) { return; } assert (new_date >= tgl_state.date); tgl_state.date = new_date; return 0;