Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5d84a2e

Browse filesBrowse files
committed
r2dbc - set session transaction isolation
fix for #409
1 parent 63e1484 commit 5d84a2e
Copy full SHA for 5d84a2e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎r2dbc-mysql/src/main/java/JasyncClientConnection.kt

Copy file name to clipboardExpand all lines: r2dbc-mysql/src/main/java/JasyncClientConnection.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class JasyncClientConnection(
104104
Mono.defer { (jasyncConnection as MySQLConnection).sendQueryAfterCurrent(query).toMono().then() }
105105

106106
override fun setTransactionIsolationLevel(isolationLevel: IsolationLevel): Publisher<Void> {
107-
return executeVoidAfterCurrent("SET TRANSACTION ISOLATION LEVEL ${isolationLevel.asSql()}")
107+
return executeVoidAfterCurrent("SET SESSION TRANSACTION ISOLATION LEVEL ${isolationLevel.asSql()}")
108108
.doOnSuccess { this.isolationLevel = isolationLevel }
109109
}
110110

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.