DATA-DOG / go-txdb

Immutable transaction isolated sql driver for golang
Other
667 stars 48 forks source link

don't cancel tx when stmt failed #54

Closed Yiling-J closed 1 year ago

Yiling-J commented 1 year ago

This is releated to https://github.com/DATA-DOG/go-txdb/issues/49, when stmt execute failed, the root tx is also cancelled, so Rollback/Close can't use the root tx any more.

Yiling-J commented 1 year ago

@stefafafan @jsteenb2

stefafafan commented 1 year ago

I'm sorry for being slow to respond, thanks for the fix & review :+1: