in plugin/server_audit/server_audit.cc [2281:2295]
static void update_file_rotations(MYSQL_THD thd __attribute__((unused)),
struct SYS_VAR *var __attribute__((unused)),
void *var_ptr __attribute__((unused)), const void *save)
{
rotations= *(const unsigned int *) save;
error_header();
fprintf(stderr, "Log file rotations was changed to '%d'.\n", rotations);
if (!logging || output_type != OUTPUT_FILE)
return;
mysql_prlock_wrlock(&lock_operations);
logfile->rotations= rotations;
mysql_prlock_unlock(&lock_operations);
}