Fixed bad assertion. Maybe fixed MACH CE
This commit is contained in:
parent
6c9d18cacf
commit
d2ac430c9c
2 changed files with 6 additions and 1 deletions
2
binlog.c
2
binlog.c
|
@ -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;
|
||||
|
|
5
tools.c
5
tools.c
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue