Commit 8f60b174 authored by Vysheng's avatar Vysheng

Fixed bad assertion

parent d52183f8
...@@ -156,6 +156,7 @@ static int fetch_comb_binlog_set_qts (void *extra) { ...@@ -156,6 +156,7 @@ static int fetch_comb_binlog_set_qts (void *extra) {
static int fetch_comb_binlog_set_date (void *extra) { static int fetch_comb_binlog_set_date (void *extra) {
int new_date = fetch_int (); int new_date = fetch_int ();
if (new_date < tgl_state.date) { return; }
assert (new_date >= tgl_state.date); assert (new_date >= tgl_state.date);
tgl_state.date = new_date; tgl_state.date = new_date;
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