snower / TorMySQL

The highest performance asynchronous MySQL driver by PyMySQL
MIT License
308 stars 63 forks source link

add close to Transaction #23

Closed zxxhonest closed 6 years ago

zxxhonest commented 7 years ago

create a transaction in a request and close it if no commit or rollback

snower commented 7 years ago

Any open Transaction must commit or rollback, or the link into the connection pool is reused The next Transaction may encounter an unknown situation or data leakage, the Transaction does not provide a close feature, but still very grateful!