tidb-incubator / weir

Apache License 2.0
97 stars 40 forks source link

fix txn conn execute error #21

Closed teckick closed 4 years ago

teckick commented 4 years ago

What problem does this PR solve?

When execute in transaction, error should not close and release backend conn.

What is changed and how it works?

Do not close backend conn when error occurs in executing SQL in transaction.

Check List

Tests

Side effects