in plugin/server_audit/server_audit.cc [2298:2313]
static void update_file_rotate_size(MYSQL_THD thd __attribute__((unused)),
struct SYS_VAR *var __attribute__((unused)),
void *var_ptr __attribute__((unused)), const void *save)
{
file_rotate_size= *(const unsigned long long *) save;
error_header();
fprintf(stderr, "Log file rotate size was changed to '%lld'.\n",
file_rotate_size);
if (!logging || output_type != OUTPUT_FILE)
return;
mysql_prlock_wrlock(&lock_operations);
logfile->size_limit= file_rotate_size;
mysql_prlock_unlock(&lock_operations);
}