45
41
well-placed zeros was not possible as Rotate events have a variable-length
49
44
static int fake_rotate_event(NET* net, String* packet, char* log_file_name,
50
45
ulonglong position, const char** errmsg)
53
47
char header[LOG_EVENT_HEADER_LEN], buf[ROTATE_HEADER_LEN+100];
55
49
'when' (the timestamp) is set to 0 so that slave could distinguish between