sqlg icon indicating copy to clipboard operation
sqlg copied to clipboard

Rollback on sql error

Open pietermartin opened this issue 2 years ago • 0 comments

This needs some investigation but it seems calling commit after a sql error commits some statements, even if the connection says aborted.

This leaves Sqlg's cache in a bad state as afterCommit does not fire yet some sql commands did indeed commit. In particular investigate this behaviour with partitions.

pietermartin avatar Sep 15 '22 19:09 pietermartin