Skip to content

Commit

Permalink
sessionctx: add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed May 17, 2023
1 parent 73eaafa commit a509ee1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sessionctx/variable/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ var (
)

// ConnStatusShutdown indicates that the connection status is closed by server.
// This code is put here because of package imports, and this value is the original server.connStatusShutdown.
const ConnStatusShutdown int32 = 2

// SetEnableAdaptiveReplicaRead set `enableAdaptiveReplicaRead` with given value.
Expand Down

0 comments on commit a509ee1

Please sign in to comment.