Closed sters closed 6 months ago
I have a weird case of using BatchReadOnlyTransaction, please check f7 testcase.
BatchReadOnlyTransaction
I guess the reason is BatchReadOnlyTransaction.Close and ReadOnlyTransaction.Close are different. https://github.com/googleapis/google-cloud-go/blob/main/spanner/batch.go#L246-L251
BatchReadOnlyTransaction.Close
ReadOnlyTransaction.Close
So, I added BatchReadOnlyTransaction.Close to close method list. (I don't have confidence on my changes.)
@tenntenn @sinmetal (I'm not sure the actual owner. I refered to the latest PR https://github.com/gcpug/zagane/pull/45)
Please review this PR.
Let me close this PR. Feel free to pick my commit. 🙏
I have a weird case of using
BatchReadOnlyTransaction
, please check f7 testcase.I guess the reason is
BatchReadOnlyTransaction.Close
andReadOnlyTransaction.Close
are different. https://github.com/googleapis/google-cloud-go/blob/main/spanner/batch.go#L246-L251So, I added BatchReadOnlyTransaction.Close to close method list. (I don't have confidence on my changes.)