Skip to content

Commit

Permalink
disabling read-comitted
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cor committed Nov 5, 2024
1 parent 2bf2c60 commit 153f6fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/plan/transaction_committing_iter.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func IsSessionAutocommit(ctx *sql.Context) (bool, error) {
}

func ReadCommitted(ctx *sql.Context) bool {
return false // TODO: support read committed
val, err := ctx.GetSessionVariable(ctx, "transaction_isolation")
if err != nil {
return false
Expand Down

0 comments on commit 153f6fe

Please sign in to comment.