MDL-26312 Workshop: unset temporary arrays in upgrade code