mysac_advance_error debug