Skip to content

Commit 391f23d

Browse files
committed
Update client flags
1 parent a197e5d commit 391f23d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

const.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const (
2424
iERR byte = 0xff
2525
)
2626

27+
// https://dev.mysql.com/doc/internals/en/capability-flags.html#packet-Protocol::CapabilityFlags
2728
type clientFlag uint32
2829

2930
const (
@@ -45,6 +46,13 @@ const (
4546
clientSecureConn
4647
clientMultiStatements
4748
clientMultiResults
49+
clientPSMultiResults
50+
clientPluginAuth
51+
clientConnectAttrs
52+
clientPluginAuthLenEncClientData
53+
clientCanHandleExpiredPasswords
54+
clientSessionTrack
55+
clientDeprecateEOF
4856
)
4957

5058
const (
@@ -78,6 +86,7 @@ const (
7886
comStmtFetch
7987
)
8088

89+
// https://dev.mysql.com/doc/internals/en/com-query-response.html#packet-Protocol::ColumnType
8190
const (
8291
fieldTypeDecimal byte = iota
8392
fieldTypeTiny
@@ -132,7 +141,6 @@ const (
132141
)
133142

134143
// http://dev.mysql.com/doc/internals/en/status-flags.html
135-
136144
type statusFlag uint16
137145

138146
const (

0 commit comments

Comments
 (0)