Commit c734dd4d authored by Vysheng's avatar Vysheng

Fixed bad assertion. Maybe fixed MACH CE

parent 8f60b174
......@@ -156,7 +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; }
if (new_date < tgl_state.date) { return 0; }
assert (new_date >= tgl_state.date);
tgl_state.date = new_date;
return 0;
......
......@@ -37,6 +37,11 @@
//#include "interface.h"
#include "tools.h"
#ifdef __MACH__
#include <mach/clock.h>
#include <mach/mach.h>
#endif
#define RES_PRE 8
#define RES_AFTER 8
#define MAX_BLOCKS 1000000
......
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