asyncer-io / r2dbc-mysql

Reactive Relational Database Connectivity for MySQL. The official successor to mirromutth/r2dbc-mysql(dev.miku:r2dbc-mysql).
https://r2dbc.io
Apache License 2.0
184 stars 18 forks source link

Aligning `Connection#setTransactionIsolationLevel` Behavior with `r2dbc-spi` Specification #192

Closed jchrys closed 6 months ago

jchrys commented 6 months ago

Issue

The current implementation of Connection#setTransactionIsolationLevel does not align with its specification. According to the specification(), this method should configure the isolation level for the connection, and the specified isolation level should apply to all subsequent transactions. However, the current behavior applies the isolation level only to the next transaction.

Proposal

Aligning the behavior of Connection#setTransactionIsolationLevel with its specification. The implementation should be adjusted so that the configured isolation level persists for all subsequent transactions until explicitly changed.

Action Items

Refs

JohnNiang commented 6 months ago

I'm willing to contribute this enhancement.

/assign

jchrys commented 6 months ago

I'm willing to contribute this enhancement.

/assign

Thanks!

jchrys commented 6 months ago

202 resolved this issue