Pavel Pereslegin created IGNITE-20855:
-----------------------------------------
Summary: Sql. Rework QueryTransactionWrapper to clean up the code.
Key: IGNITE-20855
URL: https://issues.apache.org/jira/browse/IGNITE-20855
Project: Ignite
Issue Type: Improvement
Reporter: Pavel Pereslegin
It seems we can clean up the code if we move the code from
{{wrapTxOrStartImplicit}} to {{QueryTransactionWrapper}}.
Basically the proposal is:
* add {{startTxIfNeeded}} non static *void* method to
{{QueryTransactionWrapper}, that will be responsible for starting implicit
transaction and other checks that is now reside in wrapTxOrStartImplicit.
* rework QueryTransactionWrapper test
This will reduce the amount and complexity of code in SqlQueryProcessor.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)