356
356
/* Use this to start writing a new log file */
359
360
bool write(Log_event* event_info); // binary log write
360
361
bool write(THD *thd, IO_CACHE *cache, Log_event *commit_event, bool incident);
361
363
bool write_incident(THD *thd, bool lock);
363
364
int write_cache(IO_CACHE *cache, bool lock_log, bool flush_and_sync);
364
365
void set_write_error(THD *thd);
365
366
bool check_write_error(THD *thd);