For ENG-6530, when transaction bigger than DR buffer, throw a
SQLException to topend. Also fix a couple of test cases after impose
such restriction.