SQLsetTrace assumes in-place append