jingshanglu opened a new pull request #13794:
URL: https://github.com/apache/shardingsphere/pull/13794


   Fixes #13656 .
   
   Design 
[document:](https://u01f1kqxrl.feishu.cn/docs/doccnk2NgqHQiFAbgzbnCFpZ04t)
   
   Changes proposed in this pull request:
   - change `set autocommit` just set a flag in `BackendConnection`
   - after `set autocommit=0`, when run the first sql, run the `begin` of 
`BackendTransactionManager`
   - after `set autocommit=0` when run `begin;`, will implicitly commit 
outstanding transactions.
   
   Test
   
   - [x] Manual
   
   <img width="1432" alt="Screen Shot 2021-11-25 at 16 17 33" 
src="https://user-images.githubusercontent.com/16559542/143407700-e9617d05-d983-4b3c-be4d-b37b8ba379c3.png";>
   
   these test cases will be covered by another way.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to