static void rotate_log()

in plugin/server_audit/server_audit.cc [2173:2180]


static void rotate_log(MYSQL_THD thd  __attribute__((unused)),
                       struct SYS_VAR *var  __attribute__((unused)),
                       void *var_ptr  __attribute__((unused)),
                       const void *save  __attribute__((unused)))
{
  if (output_type == OUTPUT_FILE && logfile && *reinterpret_cast<const bool*>(save))
    (void) logger_rotate(logfile);
}