Skip to content

Commit

Permalink
Fix mysql tests
Browse files Browse the repository at this point in the history
  • Loading branch information
warunalakshitha authored and niveathika committed Jun 19, 2024
1 parent 16a47fd commit ae7a8e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public static Connection getConnection(boolean isInTrx, BObject client, SQLDatas
String currentTxBlockId = transactionLocalContext.getCurrentTransactionBlockId();
BallerinaTransactionContext txContext = transactionLocalContext.getTransactionContext(connectorId);
if (txContext == null) {
if (isXAConnection && trxManagerEnabled) {
if (isXAConnection && !trxManagerEnabled) {
XAConnection xaConn = datasource.getXAConnection();
XAResource xaResource = xaConn.getXAResource();
TransactionResourceManager.getInstance()
Expand Down

0 comments on commit ae7a8e1

Please sign in to comment.