MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Conn

Struct Conn

IceFireDB-SQLite/pkg/mysql/server/conn.go:19–45  ·  view source on GitHub ↗

* Conn acts like a MySQL server connection, you can use MySQL client to communicate with it. */

Source from the content-addressed store, hash-verified

17Conn acts like a MySQL server connection, you can use MySQL client to communicate with it.
18*/
19type Conn struct {
20 *packet.Conn
21
22 serverConf *Server
23 capability uint32
24 charset uint8
25 authPluginName string
26 connectionID uint32
27 status uint16
28 warnings uint16
29 salt []byte // should be 8 + 12 for auth-plugin-data-part-1 and auth-plugin-data-part-2
30
31 credentialProvider CredentialProvider
32 user string
33 password string
34 cachingSha2FullAuth bool
35
36 h Handler
37
38 stmts map[uint32]*Stmt
39 stmtID uint32
40
41 closed sync2.AtomicBool
42
43 db string
44 TxConn *client.Conn
45}
46
47var baseConnID uint32 = 10000
48

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected