Fixed bad assertion

This commit is contained in:
Vysheng 2014-09-03 13:31:39 +04:00
parent 6fb56f1496
commit 6c9d18cacf

View file

@ -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;