Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

sql: add transaction_isolation default value #589

Merged
merged 1 commit into from
Jan 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ var queries = []struct {
{"collation_database", "utf8_bin"},
{"ndbinfo_version", ""},
{"sql_select_limit", math.MaxInt32},
{"transaction_isolation", "READ UNCOMMITTED"},
},
},
{
Expand Down
1 change: 1 addition & 0 deletions sql/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ func DefaultSessionConfig() map[string]TypedValue {
"collation_database": TypedValue{Text, "utf8_bin"},
"ndbinfo_version": TypedValue{Text, ""},
"sql_select_limit": TypedValue{Int32, math.MaxInt32},
"transaction_isolation": TypedValue{Text, "READ UNCOMMITTED"},
}
}

Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy