SYMBOL INDEX (630 symbols across 35 files) FILE: auth.go function RegisterServerPubKey (line 59) | func RegisterServerPubKey(name string, pubKey *rsa.PublicKey) { function DeregisterServerPubKey (line 70) | func DeregisterServerPubKey(name string) { function getServerPubKey (line 78) | func getServerPubKey(name string) (pubKey *rsa.PublicKey) { type myRnd (line 89) | type myRnd struct method NextByte (line 106) | func (r *myRnd) NextByte() byte { constant myRndMaxVal (line 93) | myRndMaxVal = 0x3FFFFFFF function newMyRnd (line 96) | func newMyRnd(seed1, seed2 uint32) *myRnd { function pwHash (line 114) | func pwHash(password []byte) (result [2]uint32) { function scrambleOldPassword (line 141) | func scrambleOldPassword(scramble []byte, password string) []byte { function scramblePassword (line 163) | func scramblePassword(scramble []byte, password string) []byte { function scrambleSHA256Password (line 193) | func scrambleSHA256Password(scramble []byte, password string) []byte { function encryptPassword (line 220) | func encryptPassword(password string, seed []byte, pub *rsa.PublicKey) (... function authEd25519 (line 232) | func authEd25519(scramble []byte, password string) ([]byte, error) { method sendEncryptedPassword (line 269) | func (mc *mysqlConn) sendEncryptedPassword(seed []byte, pub *rsa.PublicK... method auth (line 277) | func (mc *mysqlConn) auth(authData []byte, plugin string) ([]byte, error) { method handleAuthResult (line 346) | func (mc *mysqlConn) handleAuthResult(oldAuthData []byte, plugin string)... FILE: auth_test.go function init (line 33) | func init() { function TestScrambleOldPass (line 42) | func TestScrambleOldPass(t *testing.T) { function TestScrambleSHA256Pass (line 61) | func TestScrambleSHA256Pass(t *testing.T) { function TestAuthFastCachingSHA256PasswordCached (line 78) | func TestAuthFastCachingSHA256PasswordCached(t *testing.T) { function TestAuthFastCachingSHA256PasswordEmpty (line 123) | func TestAuthFastCachingSHA256PasswordEmpty(t *testing.T) { function TestAuthFastCachingSHA256PasswordFullRSA (line 165) | func TestAuthFastCachingSHA256PasswordFullRSA(t *testing.T) { function TestAuthFastCachingSHA256PasswordFullRSAWithKey (line 220) | func TestAuthFastCachingSHA256PasswordFullRSAWithKey(t *testing.T) { function TestAuthFastCachingSHA256PasswordFullSecure (line 273) | func TestAuthFastCachingSHA256PasswordFullSecure(t *testing.T) { function TestAuthFastCleartextPasswordNotAllowed (line 329) | func TestAuthFastCleartextPasswordNotAllowed(t *testing.T) { function TestAuthFastCleartextPassword (line 345) | func TestAuthFastCleartextPassword(t *testing.T) { function TestAuthFastCleartextPasswordEmpty (line 388) | func TestAuthFastCleartextPasswordEmpty(t *testing.T) { function TestAuthFastNativePasswordNotAllowed (line 431) | func TestAuthFastNativePasswordNotAllowed(t *testing.T) { function TestAuthFastNativePassword (line 448) | func TestAuthFastNativePassword(t *testing.T) { function TestAuthFastNativePasswordEmpty (line 491) | func TestAuthFastNativePasswordEmpty(t *testing.T) { function TestAuthFastSHA256PasswordEmpty (line 533) | func TestAuthFastSHA256PasswordEmpty(t *testing.T) { function TestAuthFastSHA256PasswordRSA (line 581) | func TestAuthFastSHA256PasswordRSA(t *testing.T) { function TestAuthFastSHA256PasswordRSAWithKey (line 629) | func TestAuthFastSHA256PasswordRSAWithKey(t *testing.T) { function TestAuthFastSHA256PasswordSecure (line 659) | func TestAuthFastSHA256PasswordSecure(t *testing.T) { function TestAuthSwitchCachingSHA256PasswordCached (line 711) | func TestAuthSwitchCachingSHA256PasswordCached(t *testing.T) { function TestAuthSwitchCachingSHA256PasswordEmpty (line 746) | func TestAuthSwitchCachingSHA256PasswordEmpty(t *testing.T) { function TestAuthSwitchCachingSHA256PasswordFullRSA (line 774) | func TestAuthSwitchCachingSHA256PasswordFullRSA(t *testing.T) { function TestAuthSwitchCachingSHA256PasswordFullRSAWithKey (line 821) | func TestAuthSwitchCachingSHA256PasswordFullRSAWithKey(t *testing.T) { function TestAuthSwitchCachingSHA256PasswordFullSecure (line 863) | func TestAuthSwitchCachingSHA256PasswordFullSecure(t *testing.T) { function TestAuthSwitchCleartextPasswordNotAllowed (line 906) | func TestAuthSwitchCleartextPasswordNotAllowed(t *testing.T) { function TestAuthSwitchCleartextPassword (line 921) | func TestAuthSwitchCleartextPassword(t *testing.T) { function TestAuthSwitchCleartextPasswordEmpty (line 948) | func TestAuthSwitchCleartextPasswordEmpty(t *testing.T) { function TestAuthSwitchNativePasswordNotAllowed (line 975) | func TestAuthSwitchNativePasswordNotAllowed(t *testing.T) { function TestAuthSwitchNativePassword (line 993) | func TestAuthSwitchNativePassword(t *testing.T) { function TestAuthSwitchNativePasswordEmpty (line 1023) | func TestAuthSwitchNativePasswordEmpty(t *testing.T) { function TestAuthSwitchOldPasswordNotAllowed (line 1052) | func TestAuthSwitchOldPasswordNotAllowed(t *testing.T) { function TestOldAuthSwitchNotAllowed (line 1069) | func TestOldAuthSwitchNotAllowed(t *testing.T) { function TestAuthSwitchOldPassword (line 1084) | func TestAuthSwitchOldPassword(t *testing.T) { function TestOldAuthSwitch (line 1113) | func TestOldAuthSwitch(t *testing.T) { function TestAuthSwitchOldPasswordEmpty (line 1138) | func TestAuthSwitchOldPasswordEmpty(t *testing.T) { function TestOldAuthSwitchPasswordEmpty (line 1167) | func TestOldAuthSwitchPasswordEmpty(t *testing.T) { function TestAuthSwitchSHA256PasswordEmpty (line 1193) | func TestAuthSwitchSHA256PasswordEmpty(t *testing.T) { function TestAuthSwitchSHA256PasswordRSA (line 1225) | func TestAuthSwitchSHA256PasswordRSA(t *testing.T) { function TestAuthSwitchSHA256PasswordRSAWithKey (line 1263) | func TestAuthSwitchSHA256PasswordRSAWithKey(t *testing.T) { function TestAuthSwitchSHA256PasswordSecure (line 1296) | func TestAuthSwitchSHA256PasswordSecure(t *testing.T) { function TestEd25519Auth (line 1333) | func TestEd25519Auth(t *testing.T) { FILE: benchmark_test.go type TB (line 26) | type TB method check (line 28) | func (tb *TB) check(err error) { method checkDB (line 34) | func (tb *TB) checkDB(db *sql.DB, err error) *sql.DB { method checkRows (line 39) | func (tb *TB) checkRows(rows *sql.Rows, err error) *sql.Rows { method checkStmt (line 44) | func (tb *TB) checkStmt(stmt *sql.Stmt, err error) *sql.Stmt { function initDB (line 49) | func initDB(b *testing.B, compress bool, queries ...string) *sql.DB { constant concurrencyLevel (line 64) | concurrencyLevel = 10 function BenchmarkQuery (line 66) | func BenchmarkQuery(b *testing.B) { function BenchmarkQueryCompressed (line 70) | func BenchmarkQueryCompressed(b *testing.B) { function benchmarkQuery (line 74) | func benchmarkQuery(b *testing.B, compr bool) { function BenchmarkExec (line 115) | func BenchmarkExec(b *testing.B) { function initRoundtripBenchmarks (line 152) | func initRoundtripBenchmarks() ([]byte, int, int) { function BenchmarkRoundtripTxt (line 159) | func BenchmarkRoundtripTxt(b *testing.B) { function BenchmarkRoundtripBin (line 194) | func BenchmarkRoundtripBin(b *testing.B) { function BenchmarkInterpolation (line 229) | func BenchmarkInterpolation(b *testing.B) { function benchmarkQueryContext (line 260) | func benchmarkQueryContext(b *testing.B, db *sql.DB, p int) { function BenchmarkQueryContext (line 283) | func BenchmarkQueryContext(b *testing.B) { function benchmarkExecContext (line 298) | func benchmarkExecContext(b *testing.B, db *sql.DB, p int) { function BenchmarkExecContext (line 319) | func BenchmarkExecContext(b *testing.B) { function BenchmarkQueryRawBytes (line 336) | func BenchmarkQueryRawBytes(b *testing.B) { function benchmark10kRows (line 388) | func benchmark10kRows(b *testing.B, compress bool) { function BenchmarkReceive10kRows (line 451) | func BenchmarkReceive10kRows(b *testing.B) { function BenchmarkReceive10kRowsCompressed (line 455) | func BenchmarkReceive10kRowsCompressed(b *testing.B) { function BenchmarkReceiveMetadata (line 460) | func BenchmarkReceiveMetadata(b *testing.B) { FILE: buffer.go constant defaultBufSize (line 15) | defaultBufSize = 4096 constant maxCachedBufSize (line 16) | maxCachedBufSize = 256 * 1024 type readerFunc (line 21) | type readerFunc type buffer (line 28) | type buffer struct method busy (line 41) | func (b *buffer) busy() bool { method len (line 46) | func (b *buffer) len() int { method fill (line 51) | func (b *buffer) fill(need int, r readerFunc) error { method readNext (line 94) | func (b *buffer) readNext(need int) []byte { method takeBuffer (line 104) | func (b *buffer) takeBuffer(length int) ([]byte, error) { method takeSmallBuffer (line 126) | func (b *buffer) takeSmallBuffer(length int) ([]byte, error) { method takeCompleteBuffer (line 137) | func (b *buffer) takeCompleteBuffer() ([]byte, error) { method store (line 145) | func (b *buffer) store(buf []byte) { function newBuffer (line 34) | func newBuffer() buffer { FILE: collations.go constant defaultCollationID (line 11) | defaultCollationID = 45 constant binaryCollationID (line 12) | binaryCollationID = 63 FILE: compress.go function init (line 24) | func init() { function zDecompress (line 39) | func zDecompress(src []byte, dst *bytes.Buffer) (int, error) { function zCompress (line 61) | func zCompress(src []byte, dst io.Writer) error { type compIO (line 72) | type compIO struct method reset (line 83) | func (c *compIO) reset() { method readNext (line 87) | func (c *compIO) readNext(need int) ([]byte, error) { method readCompressedPacket (line 97) | func (c *compIO) readCompressedPacket() error { method writePackets (line 152) | func (c *compIO) writePackets(packets []byte) (int, error) { method writeCompressedPacket (line 197) | func (c *compIO) writeCompressedPacket(data []byte, uncompressedLen in... function newCompIO (line 77) | func newCompIO(mc *mysqlConn) *compIO { constant minCompressLength (line 147) | minCompressLength = 150 constant maxPayloadLen (line 148) | maxPayloadLen = maxPacketSize - 4 FILE: compress_test.go function makeRandByteSlice (line 18) | func makeRandByteSlice(size int) []byte { function compressHelper (line 25) | func compressHelper(t *testing.T, mc *mysqlConn, uncompressedPacket []by... function uncompressHelper (line 38) | func uncompressHelper(t *testing.T, mc *mysqlConn, compressedPacket []by... function roundtripHelper (line 54) | func roundtripHelper(t *testing.T, cSend *mysqlConn, cReceive *mysqlConn... function TestRoundtrip (line 60) | func TestRoundtrip(t *testing.T) { FILE: conncheck.go function connCheck (line 23) | func connCheck(conn net.Conn) error { FILE: conncheck_dummy.go function connCheck (line 16) | func connCheck(conn net.Conn) error { FILE: conncheck_test.go function TestStaleConnectionChecks (line 19) | func TestStaleConnectionChecks(t *testing.T) { FILE: connection.go type mysqlConn (line 26) | type mysqlConn struct method log (line 54) | func (mc *mysqlConn) log(v ...any) { method readWithTimeout (line 68) | func (mc *mysqlConn) readWithTimeout(b []byte) (int, error) { method writeWithTimeout (line 78) | func (mc *mysqlConn) writeWithTimeout(b []byte) (int, error) { method resetSequence (line 88) | func (mc *mysqlConn) resetSequence() { method syncSequence (line 94) | func (mc *mysqlConn) syncSequence() { method handleParams (line 106) | func (mc *mysqlConn) handleParams() (err error) { method markBadConn (line 131) | func (mc *mysqlConn) markBadConn(err error) error { method Begin (line 138) | func (mc *mysqlConn) Begin() (driver.Tx, error) { method begin (line 142) | func (mc *mysqlConn) begin(readOnly bool) (driver.Tx, error) { method Close (line 159) | func (mc *mysqlConn) Close() (err error) { method close (line 169) | func (mc *mysqlConn) close() { method cleanup (line 178) | func (mc *mysqlConn) cleanup() { method error (line 197) | func (mc *mysqlConn) error() error { method Prepare (line 207) | func (mc *mysqlConn) Prepare(query string) (driver.Stmt, error) { method interpolateParams (line 248) | func (mc *mysqlConn) interpolateParams(query string, args []driver.Val... method Exec (line 349) | func (mc *mysqlConn) Exec(query string, args []driver.Value) (driver.R... method exec (line 374) | func (mc *mysqlConn) exec(query string) error { method Query (line 402) | func (mc *mysqlConn) Query(query string, args []driver.Value) (driver.... method query (line 406) | func (mc *mysqlConn) query(query string, args []driver.Value) (*textRo... method getSystemVar (line 457) | func (mc *mysqlConn) getSystemVar(name string) ([]byte, error) { method cancel (line 487) | func (mc *mysqlConn) cancel(err error) { method finish (line 493) | func (mc *mysqlConn) finish() { method Ping (line 505) | func (mc *mysqlConn) Ping(ctx context.Context) (err error) { method BeginTx (line 524) | func (mc *mysqlConn) BeginTx(ctx context.Context, opts driver.TxOption... method QueryContext (line 548) | func (mc *mysqlConn) QueryContext(ctx context.Context, query string, a... method ExecContext (line 567) | func (mc *mysqlConn) ExecContext(ctx context.Context, query string, ar... method PrepareContext (line 581) | func (mc *mysqlConn) PrepareContext(ctx context.Context, query string)... method watchCancel (line 634) | func (mc *mysqlConn) watchCancel(ctx context.Context) error { method startWatcher (line 659) | func (mc *mysqlConn) startWatcher() { method CheckNamedValue (line 684) | func (mc *mysqlConn) CheckNamedValue(nv *driver.NamedValue) (err error) { method ResetSession (line 691) | func (mc *mysqlConn) ResetSession(ctx context.Context) error { method IsValid (line 725) | func (mc *mysqlConn) IsValid() bool { method QueryContext (line 601) | func (stmt *mysqlStmt) QueryContext(ctx context.Context, args []driver.N... method ExecContext (line 620) | func (stmt *mysqlStmt) ExecContext(ctx context.Context, args []driver.Na... FILE: connection_test.go function TestInterpolateParams (line 20) | func TestInterpolateParams(t *testing.T) { function TestInterpolateParamsJSONRawMessage (line 40) | func TestInterpolateParamsJSONRawMessage(t *testing.T) { function TestInterpolateParamsTooManyPlaceholders (line 67) | func TestInterpolateParamsTooManyPlaceholders(t *testing.T) { function TestInterpolateParamsPlaceholderInString (line 84) | func TestInterpolateParamsPlaceholderInString(t *testing.T) { function TestInterpolateParamsUint64 (line 100) | func TestInterpolateParamsUint64(t *testing.T) { function TestCheckNamedValue (line 118) | func TestCheckNamedValue(t *testing.T) { function TestCleanCancel (line 134) | func TestCleanCancel(t *testing.T) { function TestPingMarkBadConnection (line 160) | func TestPingMarkBadConnection(t *testing.T) { function TestPingErrInvalidConn (line 177) | func TestPingErrInvalidConn(t *testing.T) { type badConnection (line 194) | type badConnection struct method Write (line 200) | func (bc badConnection) Write(b []byte) (n int, err error) { method Close (line 204) | func (bc badConnection) Close() error { FILE: connector.go type connector (line 21) | type connector struct method Connect (line 67) | func (c *connector) Connect(ctx context.Context) (driver.Conn, error) { method Driver (line 227) | func (c *connector) Driver() driver.Driver { function encodeConnectionAttributes (line 26) | func encodeConnectionAttributes(cfg *Config) string { function newConnector (line 57) | func newConnector(cfg *Config) *connector { FILE: connector_test.go function TestConnectorReturnsTimeout (line 10) | func TestConnectorReturnsTimeout(t *testing.T) { FILE: const.go constant debug (line 14) | debug = false constant defaultAuthPlugin (line 16) | defaultAuthPlugin = "mysql_native_password" constant defaultMaxAllowedPacket (line 17) | defaultMaxAllowedPacket = 64 << 20 constant minProtocolVersion (line 18) | minProtocolVersion = 10 constant maxPacketSize (line 19) | maxPacketSize = 1<<24 - 1 constant timeFormat (line 20) | timeFormat = "2006-01-02 15:04:05.999999" constant connAttrClientName (line 24) | connAttrClientName = "_client_name" constant connAttrClientNameValue (line 25) | connAttrClientNameValue = "Go-MySQL-Driver" constant connAttrOS (line 26) | connAttrOS = "_os" constant connAttrOSValue (line 27) | connAttrOSValue = runtime.GOOS constant connAttrPlatform (line 28) | connAttrPlatform = "_platform" constant connAttrPlatformValue (line 29) | connAttrPlatformValue = runtime.GOARCH constant connAttrPid (line 30) | connAttrPid = "_pid" constant connAttrServerHost (line 31) | connAttrServerHost = "_server_host" constant iOK (line 38) | iOK byte = 0x00 constant iAuthMoreData (line 39) | iAuthMoreData byte = 0x01 constant iLocalInFile (line 40) | iLocalInFile byte = 0xfb constant iEOF (line 41) | iEOF byte = 0xfe constant iERR (line 42) | iERR byte = 0xff type capabilityFlag (line 47) | type capabilityFlag constant clientMySQL (line 50) | clientMySQL capabilityFlag = 1 << iota constant clientFoundRows (line 51) | clientFoundRows constant clientLongFlag (line 52) | clientLongFlag constant clientConnectWithDB (line 53) | clientConnectWithDB constant clientNoSchema (line 54) | clientNoSchema constant clientCompress (line 55) | clientCompress constant clientODBC (line 56) | clientODBC constant clientLocalFiles (line 57) | clientLocalFiles constant clientIgnoreSpace (line 58) | clientIgnoreSpace constant clientProtocol41 (line 59) | clientProtocol41 constant clientInteractive (line 60) | clientInteractive constant clientSSL (line 61) | clientSSL constant clientIgnoreSIGPIPE (line 62) | clientIgnoreSIGPIPE constant clientTransactions (line 63) | clientTransactions constant clientReserved (line 64) | clientReserved constant clientSecureConn (line 65) | clientSecureConn constant clientMultiStatements (line 66) | clientMultiStatements constant clientMultiResults (line 67) | clientMultiResults constant clientPSMultiResults (line 68) | clientPSMultiResults constant clientPluginAuth (line 69) | clientPluginAuth constant clientConnectAttrs (line 70) | clientConnectAttrs constant clientPluginAuthLenEncClientData (line 71) | clientPluginAuthLenEncClientData constant clientCanHandleExpiredPasswords (line 72) | clientCanHandleExpiredPasswords constant clientSessionTrack (line 73) | clientSessionTrack constant clientDeprecateEOF (line 74) | clientDeprecateEOF type extendedCapabilityFlag (line 78) | type extendedCapabilityFlag constant progressIndicator (line 81) | progressIndicator extendedCapabilityFlag = 1 << iota constant clientComMulti (line 82) | clientComMulti constant clientStmtBulkOperations (line 83) | clientStmtBulkOperations constant clientExtendedMetadata (line 84) | clientExtendedMetadata constant clientCacheMetadata (line 85) | clientCacheMetadata constant clientUnitBulkResult (line 86) | clientUnitBulkResult constant comQuit (line 90) | comQuit byte = iota + 1 constant comInitDB (line 91) | comInitDB constant comQuery (line 92) | comQuery constant comFieldList (line 93) | comFieldList constant comCreateDB (line 94) | comCreateDB constant comDropDB (line 95) | comDropDB constant comRefresh (line 96) | comRefresh constant comShutdown (line 97) | comShutdown constant comStatistics (line 98) | comStatistics constant comProcessInfo (line 99) | comProcessInfo constant comConnect (line 100) | comConnect constant comProcessKill (line 101) | comProcessKill constant comDebug (line 102) | comDebug constant comPing (line 103) | comPing constant comTime (line 104) | comTime constant comDelayedInsert (line 105) | comDelayedInsert constant comChangeUser (line 106) | comChangeUser constant comBinlogDump (line 107) | comBinlogDump constant comTableDump (line 108) | comTableDump constant comConnectOut (line 109) | comConnectOut constant comRegisterSlave (line 110) | comRegisterSlave constant comStmtPrepare (line 111) | comStmtPrepare constant comStmtExecute (line 112) | comStmtExecute constant comStmtSendLongData (line 113) | comStmtSendLongData constant comStmtClose (line 114) | comStmtClose constant comStmtReset (line 115) | comStmtReset constant comSetOption (line 116) | comSetOption constant comStmtFetch (line 117) | comStmtFetch type fieldType (line 121) | type fieldType constant fieldTypeDecimal (line 124) | fieldTypeDecimal fieldType = iota constant fieldTypeTiny (line 125) | fieldTypeTiny constant fieldTypeShort (line 126) | fieldTypeShort constant fieldTypeLong (line 127) | fieldTypeLong constant fieldTypeFloat (line 128) | fieldTypeFloat constant fieldTypeDouble (line 129) | fieldTypeDouble constant fieldTypeNULL (line 130) | fieldTypeNULL constant fieldTypeTimestamp (line 131) | fieldTypeTimestamp constant fieldTypeLongLong (line 132) | fieldTypeLongLong constant fieldTypeInt24 (line 133) | fieldTypeInt24 constant fieldTypeDate (line 134) | fieldTypeDate constant fieldTypeTime (line 135) | fieldTypeTime constant fieldTypeDateTime (line 136) | fieldTypeDateTime constant fieldTypeYear (line 137) | fieldTypeYear constant fieldTypeNewDate (line 138) | fieldTypeNewDate constant fieldTypeVarChar (line 139) | fieldTypeVarChar constant fieldTypeBit (line 140) | fieldTypeBit constant fieldTypeVector (line 143) | fieldTypeVector fieldType = iota + 0xf2 constant fieldTypeInvalid (line 144) | fieldTypeInvalid constant fieldTypeBool (line 145) | fieldTypeBool constant fieldTypeJSON (line 146) | fieldTypeJSON constant fieldTypeNewDecimal (line 147) | fieldTypeNewDecimal constant fieldTypeEnum (line 148) | fieldTypeEnum constant fieldTypeSet (line 149) | fieldTypeSet constant fieldTypeTinyBLOB (line 150) | fieldTypeTinyBLOB constant fieldTypeMediumBLOB (line 151) | fieldTypeMediumBLOB constant fieldTypeLongBLOB (line 152) | fieldTypeLongBLOB constant fieldTypeBLOB (line 153) | fieldTypeBLOB constant fieldTypeVarString (line 154) | fieldTypeVarString constant fieldTypeString (line 155) | fieldTypeString constant fieldTypeGeometry (line 156) | fieldTypeGeometry type fieldFlag (line 159) | type fieldFlag constant flagNotNULL (line 162) | flagNotNULL fieldFlag = 1 << iota constant flagPriKey (line 163) | flagPriKey constant flagUniqueKey (line 164) | flagUniqueKey constant flagMultipleKey (line 165) | flagMultipleKey constant flagBLOB (line 166) | flagBLOB constant flagUnsigned (line 167) | flagUnsigned constant flagZeroFill (line 168) | flagZeroFill constant flagBinary (line 169) | flagBinary constant flagEnum (line 170) | flagEnum constant flagAutoIncrement (line 171) | flagAutoIncrement constant flagTimestamp (line 172) | flagTimestamp constant flagSet (line 173) | flagSet constant flagUnknown1 (line 174) | flagUnknown1 constant flagUnknown2 (line 175) | flagUnknown2 constant flagUnknown3 (line 176) | flagUnknown3 constant flagUnknown4 (line 177) | flagUnknown4 type statusFlag (line 181) | type statusFlag constant statusInTrans (line 184) | statusInTrans statusFlag = 1 << iota constant statusInAutocommit (line 185) | statusInAutocommit constant statusReserved (line 186) | statusReserved constant statusMoreResultsExists (line 187) | statusMoreResultsExists constant statusNoGoodIndexUsed (line 188) | statusNoGoodIndexUsed constant statusNoIndexUsed (line 189) | statusNoIndexUsed constant statusCursorExists (line 190) | statusCursorExists constant statusLastRowSent (line 191) | statusLastRowSent constant statusDbDropped (line 192) | statusDbDropped constant statusNoBackslashEscapes (line 193) | statusNoBackslashEscapes constant statusMetadataChanged (line 194) | statusMetadataChanged constant statusQueryWasSlow (line 195) | statusQueryWasSlow constant statusPsOutParams (line 196) | statusPsOutParams constant statusInTransReadonly (line 197) | statusInTransReadonly constant statusSessionStateChanged (line 198) | statusSessionStateChanged constant cachingSha2PasswordRequestPublicKey (line 202) | cachingSha2PasswordRequestPublicKey = 2 constant cachingSha2PasswordFastAuthSuccess (line 203) | cachingSha2PasswordFastAuthSuccess = 3 constant cachingSha2PasswordPerformFullAuthentication (line 204) | cachingSha2PasswordPerformFullAuthentication = 4 FILE: driver.go type MySQLDriver (line 29) | type MySQLDriver struct method Open (line 81) | func (d MySQLDriver) Open(dsn string) (driver.Conn, error) { method OpenConnector (line 112) | func (d MySQLDriver) OpenConnector(dsn string) (driver.Connector, erro... type DialFunc (line 35) | type DialFunc type DialContextFunc (line 39) | type DialContextFunc function RegisterDialContext (line 49) | func RegisterDialContext(net string, dial DialContextFunc) { function DeregisterDialContext (line 59) | func DeregisterDialContext(net string) { function RegisterDial (line 72) | func RegisterDial(network string, dial DialFunc) { function init (line 94) | func init() { function NewConnector (line 101) | func NewConnector(cfg *Config) (driver.Connector, error) { FILE: driver_test.go function init (line 42) | func init() { function init (line 76) | func init() { type DBTest (line 98) | type DBTest struct method fail (line 264) | func (dbt *DBTest) fail(method, query string, err error) { method mustExec (line 272) | func (dbt *DBTest) mustExec(query string, args ...any) (res sql.Result) { method mustQuery (line 281) | func (dbt *DBTest) mustQuery(query string, args ...any) (rows *sql.Row... type netErrorMock (line 103) | type netErrorMock struct method Temporary (line 108) | func (e netErrorMock) Temporary() bool { method Timeout (line 112) | func (e netErrorMock) Timeout() bool { method Error (line 116) | func (e netErrorMock) Error() string { function runTestsWithMultiStatement (line 120) | func runTestsWithMultiStatement(t *testing.T, dsn string, tests ...func(... function runTests (line 144) | func runTests(t *testing.T, dsn string, tests ...func(dbt *DBTest)) { function runTestsParallel (line 207) | func runTestsParallel(t *testing.T, dsn string, tests ...func(dbt *DBTes... function maybeSkip (line 290) | func maybeSkip(t *testing.T, err error, skipErrno uint16) { function TestEmptyQuery (line 301) | func TestEmptyQuery(t *testing.T) { function TestCRUD (line 313) | func TestCRUD(t *testing.T) { function TestNumbersToAny (line 410) | func TestNumbersToAny(t *testing.T) { function TestMultiQuery (line 453) | func TestMultiQuery(t *testing.T) { function TestInt (line 498) | func TestInt(t *testing.T) { function TestFloat32 (line 547) | func TestFloat32(t *testing.T) { function TestFloat64 (line 571) | func TestFloat64(t *testing.T) { function TestFloat64Placeholder (line 595) | func TestFloat64Placeholder(t *testing.T) { function TestString (line 619) | func TestString(t *testing.T) { function TestRawBytes (line 668) | func TestRawBytes(t *testing.T) { function TestRawMessage (line 697) | func TestRawMessage(t *testing.T) { type testValuer (line 720) | type testValuer struct method Value (line 724) | func (tv testValuer) Value() (driver.Value, error) { function TestValuer (line 728) | func TestValuer(t *testing.T) { type testValuerWithValidation (line 749) | type testValuerWithValidation struct method Value (line 753) | func (tv testValuerWithValidation) Value() (driver.Value, error) { function TestValuerWithValidation (line 761) | func TestValuerWithValidation(t *testing.T) { type timeTests (line 796) | type timeTests struct type timeTest (line 802) | type timeTest struct method genQuery (line 835) | func (t timeTest) genQuery(dbtype string, mode timeMode) string { method run (line 845) | func (t timeTest) run(dbt *DBTest, dbtype, tlayout string, mode timeMo... type timeMode (line 807) | type timeMode method String (line 809) | func (t timeMode) String() string { method Binary (line 821) | func (t timeMode) Binary() bool { constant binaryString (line 830) | binaryString timeMode = iota constant binaryTime (line 831) | binaryTime constant textString (line 832) | textString function TestDateTime (line 908) | func TestDateTime(t *testing.T) { function TestTimestampMicros (line 1025) | func TestTimestampMicros(t *testing.T) { function TestNULL (line 1078) | func TestNULL(t *testing.T) { function TestUint64 (line 1229) | func TestUint64(t *testing.T) { function TestLongData (line 1272) | func TestLongData(t *testing.T) { function TestLoadData (line 1334) | func TestLoadData(t *testing.T) { function TestFoundRows1 (line 1435) | func TestFoundRows1(t *testing.T) { function TestFoundRows2 (line 1459) | func TestFoundRows2(t *testing.T) { function TestTLS (line 1483) | func TestTLS(t *testing.T) { function TestReuseClosedConnection (line 1525) | func TestReuseClosedConnection(t *testing.T) { function TestCharset (line 1563) | func TestCharset(t *testing.T) { function TestFailingCharset (line 1597) | func TestFailingCharset(t *testing.T) { function TestCollation (line 1608) | func TestCollation(t *testing.T) { function TestColumnsWithAlias (line 1643) | func TestColumnsWithAlias(t *testing.T) { function TestRawBytesResultExceedsBuffer (line 1667) | func TestRawBytesResultExceedsBuffer(t *testing.T) { function TestTimezoneConversion (line 1685) | func TestTimezoneConversion(t *testing.T) { function TestRowsClose (line 1726) | func TestRowsClose(t *testing.T) { function TestCloseStmtBeforeRows (line 1751) | func TestCloseStmtBeforeRows(t *testing.T) { function TestStmtMultiRows (line 1792) | func TestStmtMultiRows(t *testing.T) { function TestPreparedManyCols (line 1907) | func TestPreparedManyCols(t *testing.T) { function TestConcurrent (line 1938) | func TestConcurrent(t *testing.T) { function testDialError (line 2014) | func testDialError(t *testing.T, dialErr error, expectErr error) { function TestDialUnknownError (line 2031) | func TestDialUnknownError(t *testing.T) { function TestDialNonRetryableNetErr (line 2036) | func TestDialNonRetryableNetErr(t *testing.T) { function TestDialTemporaryNetErr (line 2041) | func TestDialTemporaryNetErr(t *testing.T) { function TestCustomDial (line 2047) | func TestCustomDial(t *testing.T) { function TestBeforeConnect (line 2069) | func TestBeforeConnect(t *testing.T) { function TestSQLInjection (line 2103) | func TestSQLInjection(t *testing.T) { function TestInsertRetrieveEscapedData (line 2134) | func TestInsertRetrieveEscapedData(t *testing.T) { function TestUnixSocketAuthFail (line 2162) | func TestUnixSocketAuthFail(t *testing.T) { function TestInterruptBySignal (line 2210) | func TestInterruptBySignal(t *testing.T) { function TestColumnsReusesSlice (line 2258) | func TestColumnsReusesSlice(t *testing.T) { function TestRejectReadOnly (line 2291) | func TestRejectReadOnly(t *testing.T) { function TestPing (line 2324) | func TestPing(t *testing.T) { function TestEmptyPassword (line 2373) | func TestEmptyPassword(t *testing.T) { function TestMultiResultSet (line 2430) | func TestMultiResultSet(t *testing.T) { function TestMultiResultSetNoSelect (line 2570) | func TestMultiResultSetNoSelect(t *testing.T) { function TestExecMultipleResults (line 2589) | func TestExecMultipleResults(t *testing.T) { function TestSkipResults (line 2628) | func TestSkipResults(t *testing.T) { function TestQueryMultipleResults (line 2647) | func TestQueryMultipleResults(t *testing.T) { function TestPingContext (line 2683) | func TestPingContext(t *testing.T) { function TestContextCancelExec (line 2693) | func TestContextCancelExec(t *testing.T) { function TestContextCancelQuery (line 2739) | func TestContextCancelQuery(t *testing.T) { function TestContextCancelQueryRow (line 2783) | func TestContextCancelQueryRow(t *testing.T) { function TestContextCancelPrepare (line 2816) | func TestContextCancelPrepare(t *testing.T) { function TestContextCancelStmtExec (line 2826) | func TestContextCancelStmtExec(t *testing.T) { function TestContextCancelStmtQuery (line 2861) | func TestContextCancelStmtQuery(t *testing.T) { function TestContextCancelBegin (line 2896) | func TestContextCancelBegin(t *testing.T) { function TestContextBeginIsolationLevel (line 2956) | func TestContextBeginIsolationLevel(t *testing.T) { function TestContextBeginReadOnly (line 3008) | func TestContextBeginReadOnly(t *testing.T) { function TestRowsColumnTypes (line 3046) | func TestRowsColumnTypes(t *testing.T) { function TestValuerWithValueReceiverGivenNilValue (line 3268) | func TestValuerWithValueReceiverGivenNilValue(t *testing.T) { function TestRawBytesAreNotModified (line 3281) | func TestRawBytesAreNotModified(t *testing.T) { type dialCtxKey (line 3334) | type dialCtxKey struct function TestConnectorObeysDialTimeouts (line 3336) | func TestConnectorObeysDialTimeouts(t *testing.T) { function configForTests (line 3363) | func configForTests(t *testing.T) *Config { function TestNewConnector (line 3377) | func TestNewConnector(t *testing.T) { type slowConnection (line 3392) | type slowConnection struct method Read (line 3397) | func (sc *slowConnection) Read(b []byte) (int, error) { type connectorHijack (line 3402) | type connectorHijack struct method Connect (line 3407) | func (cw *connectorHijack) Connect(ctx context.Context) (driver.Conn, ... function TestConnectorTimeoutsDuringOpen (line 3413) | func TestConnectorTimeoutsDuringOpen(t *testing.T) { type dummyConnection (line 3449) | type dummyConnection struct method Close (line 3454) | func (d *dummyConnection) Close() error { function TestConnectorTimeoutsWatchCancel (line 3459) | func TestConnectorTimeoutsWatchCancel(t *testing.T) { function TestConnectionAttributes (line 3501) | func TestConnectionAttributes(t *testing.T) { function TestErrorInMultiResult (line 3571) | func TestErrorInMultiResult(t *testing.T) { function runCallCommand (line 3597) | func runCallCommand(dbt *DBTest, query, name string) { function TestIssue1567 (line 3615) | func TestIssue1567(t *testing.T) { FILE: dsn.go type Config (line 37) | type Config struct method Apply (line 103) | func (c *Config) Apply(opts ...Option) error { method Clone (line 153) | func (cfg *Config) Clone() *Config { method normalize (line 173) | func (cfg *Config) normalize() error { method FormatDSN (line 254) | func (cfg *Config) FormatDSN() string { type Option (line 88) | type Option function NewConfig (line 91) | func NewConfig() *Config { function TimeTruncate (line 115) | func TimeTruncate(d time.Duration) Option { function BeforeConnect (line 123) | func BeforeConnect(fn func(context.Context, *Config) error) Option { function EnableCompression (line 131) | func EnableCompression(yes bool) Option { function Charset (line 145) | func Charset(charset, collation string) Option { function writeDSNParam (line 237) | func writeDSNParam(buf *bytes.Buffer, hasParam *bool, name, value string) { function ParseDSN (line 397) | func ParseDSN(dsn string) (cfg *Config, err error) { function parseDSNParams (line 479) | func parseDSNParams(cfg *Config, params string) (err error) { function ensureHavePort (line 696) | func ensureHavePort(addr string) string { FILE: dsn_fuzz_test.go function FuzzFormatDSN (line 11) | func FuzzFormatDSN(f *testing.F) { FILE: dsn_test.go function TestDSNParser (line 86) | func TestDSNParser(t *testing.T) { function TestDSNParserInvalid (line 105) | func TestDSNParserInvalid(t *testing.T) { function TestDSNReformat (line 127) | func TestDSNReformat(t *testing.T) { function TestDSNServerPubKey (line 165) | func TestDSNServerPubKey(t *testing.T) { function TestDSNServerPubKeyQueryEscape (line 192) | func TestDSNServerPubKeyQueryEscape(t *testing.T) { function TestDSNWithCustomTLS (line 209) | func TestDSNWithCustomTLS(t *testing.T) { function TestDSNTLSConfig (line 250) | func TestDSNTLSConfig(t *testing.T) { function TestDSNWithCustomTLSQueryEscape (line 278) | func TestDSNWithCustomTLSQueryEscape(t *testing.T) { function TestDSNUnsafeCollation (line 296) | func TestDSNUnsafeCollation(t *testing.T) { function TestParamsAreSorted (line 333) | func TestParamsAreSorted(t *testing.T) { function TestCloneConfig (line 348) | func TestCloneConfig(t *testing.T) { function TestNormalizeTLSConfig (line 388) | func TestNormalizeTLSConfig(t *testing.T) { function BenchmarkParseDSN (line 432) | func BenchmarkParseDSN(b *testing.B) { FILE: errors.go type Logger (line 43) | type Logger interface type NopLogger (line 48) | type NopLogger struct method Print (line 51) | func (nl *NopLogger) Print(_ ...any) {} function SetLogger (line 55) | func SetLogger(logger Logger) error { type MySQLError (line 64) | type MySQLError struct method Error (line 70) | func (me *MySQLError) Error() string { method Is (line 78) | func (me *MySQLError) Is(err error) bool { FILE: errors_test.go function TestErrorsSetLogger (line 18) | func TestErrorsSetLogger(t *testing.T) { function TestErrorsStrictIgnoreNotes (line 39) | func TestErrorsStrictIgnoreNotes(t *testing.T) { function TestMySQLErrIs (line 45) | func TestMySQLErrIs(t *testing.T) { FILE: fields.go type mysqlField (line 143) | type mysqlField struct method typeDatabaseName (line 16) | func (mf *mysqlField) typeDatabaseName() string { method scanType (line 153) | func (mf *mysqlField) scanType() reflect.Type { FILE: infile.go function RegisterLocalFile (line 36) | func RegisterLocalFile(filePath string) { function DeregisterLocalFile (line 48) | func DeregisterLocalFile(filePath string) { function RegisterReaderHandler (line 68) | func RegisterReaderHandler(name string, handler func() io.Reader) { function DeregisterReaderHandler (line 81) | func DeregisterReaderHandler(name string) { function deferredClose (line 87) | func deferredClose(err *error, closer io.Closer) { constant defaultPacketSize (line 94) | defaultPacketSize = 16 * 1024 method handleInFileRequest (line 96) | func (mc *okHandler) handleInFileRequest(name string) (err error) { FILE: nulltime.go type NullTime (line 36) | type NullTime method Scan (line 41) | func (nt *NullTime) Scan(value any) (err error) { method Value (line 66) | func (nt NullTime) Value() (driver.Value, error) { FILE: nulltime_test.go function TestScanNullTime (line 24) | func TestScanNullTime(t *testing.T) { FILE: packets.go method readNext (line 30) | func (mc *mysqlConn) readNext(n int) ([]byte, error) { method readPacket (line 41) | func (mc *mysqlConn) readPacket() ([]byte, error) { method writePacket (line 126) | func (mc *mysqlConn) writePacket(data []byte) error { method readHandshakePacket (line 184) | func (mc *mysqlConn) readHandshakePacket() (data []byte, capabilities ca... method initCapabilities (line 280) | func (mc *mysqlConn) initCapabilities(serverCapabilities capabilityFlag,... method writeHandshakeResponsePacket (line 321) | func (mc *mysqlConn) writeHandshakeResponsePacket(authResp []byte, plugi... method writeAuthSwitchPacket (line 418) | func (mc *mysqlConn) writeAuthSwitchPacket(authData []byte) error { method writeCommandPacket (line 435) | func (mc *mysqlConn) writeCommandPacket(command byte) error { method writeCommandPacketStr (line 453) | func (mc *mysqlConn) writeCommandPacketStr(command byte, arg string) err... method writeCommandPacketUint32 (line 475) | func (mc *mysqlConn) writeCommandPacketUint32(command byte, arg uint32) ... method readAuthResult (line 500) | func (mc *mysqlConn) readAuthResult() ([]byte, string, error) { method handleErrorPacket (line 588) | func (mc *mysqlConn) handleErrorPacket(data []byte) error { function readStatus (line 631) | func readStatus(b []byte) statusFlag { method resultUnchanged (line 638) | func (mc *mysqlConn) resultUnchanged() *okHandler { type okHandler (line 652) | type okHandler method readResultOK (line 539) | func (mc *okHandler) readResultOK() error { method readResultSetHeaderPacket (line 553) | func (mc *okHandler) readResultSetHeaderPacket() (int, bool, error) { method conn (line 655) | func (mc *okHandler) conn() *mysqlConn { method handleOkPacket (line 670) | func (mc *okHandler) handleOkPacket(data []byte) error { method discardResults (line 1245) | func (mc *okHandler) discardResults() error { method clearResult (line 663) | func (mc *mysqlConn) clearResult() *okHandler { method readColumns (line 704) | func (mc *mysqlConn) readColumns(count int, old []mysqlField) ([]mysqlFi... method readRow (line 809) | func (rows *textRows) readRow(dest []driver.Value) error { method skipPackets (line 909) | func (mc *mysqlConn) skipPackets(n int) error { method skipEof (line 919) | func (mc *mysqlConn) skipEof() error { method skipColumns (line 928) | func (mc *mysqlConn) skipColumns(n int) error { method skipRows (line 936) | func (mc *mysqlConn) skipRows() error { method readPrepareResultPacket (line 971) | func (stmt *mysqlStmt) readPrepareResultPacket() (uint16, error) { method writeCommandLongData (line 998) | func (stmt *mysqlStmt) writeCommandLongData(paramID int, arg []byte) err... method writeExecutePacket (line 1045) | func (stmt *mysqlStmt) writeExecutePacket(args []driver.Value) error { method readRow (line 1266) | func (rows *binaryRows) readRow(dest []driver.Value) error { FILE: packets_test.go type mockConn (line 26) | type mockConn struct method Read (line 40) | func (m *mockConn) Read(b []byte) (n int, err error) { method Write (line 55) | func (m *mockConn) Write(b []byte) (n int, err error) { method Close (line 74) | func (m *mockConn) Close() error { method LocalAddr (line 78) | func (m *mockConn) LocalAddr() net.Addr { method RemoteAddr (line 81) | func (m *mockConn) RemoteAddr() net.Addr { method SetDeadline (line 84) | func (m *mockConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 87) | func (m *mockConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 90) | func (m *mockConn) SetWriteDeadline(t time.Time) error { function newRWMockConn (line 97) | func newRWMockConn(sequence uint8) (*mockConn, *mysqlConn) { function TestReadPacketSingleByte (line 112) | func TestReadPacketSingleByte(t *testing.T) { function TestReadPacketWrongSequenceID (line 134) | func TestReadPacketWrongSequenceID(t *testing.T) { function TestReadPacketSplit (line 166) | func TestReadPacketSplit(t *testing.T) { function TestReadPacketFail (line 273) | func TestReadPacketFail(t *testing.T) { function TestRegression801 (line 318) | func TestRegression801(t *testing.T) { FILE: result.go type Result (line 22) | type Result interface type mysqlResult (line 32) | type mysqlResult struct method LastInsertId (line 38) | func (res *mysqlResult) LastInsertId() (int64, error) { method RowsAffected (line 42) | func (res *mysqlResult) RowsAffected() (int64, error) { method AllLastInsertIds (line 46) | func (res *mysqlResult) AllLastInsertIds() []int64 { method AllRowsAffected (line 50) | func (res *mysqlResult) AllRowsAffected() []int64 { FILE: rows.go type resultSet (line 18) | type resultSet struct type mysqlRows (line 24) | type mysqlRows struct method Columns (line 38) | func (rows *mysqlRows) Columns() []string { method ColumnTypeDatabaseTypeName (line 62) | func (rows *mysqlRows) ColumnTypeDatabaseTypeName(i int) string { method ColumnTypeNullable (line 70) | func (rows *mysqlRows) ColumnTypeNullable(i int) (nullable, ok bool) { method ColumnTypePrecisionScale (line 74) | func (rows *mysqlRows) ColumnTypePrecisionScale(i int) (int64, int64, ... method ColumnTypeScanType (line 96) | func (rows *mysqlRows) ColumnTypeScanType(i int) reflect.Type { method Close (line 100) | func (rows *mysqlRows) Close() (err error) { method HasNextResultSet (line 129) | func (rows *mysqlRows) HasNextResultSet() (b bool) { method nextResultSet (line 136) | func (rows *mysqlRows) nextResultSet() (int, error) { method nextNotEmptyResultSet (line 168) | func (rows *mysqlRows) nextNotEmptyResultSet() (int, error) { type binaryRows (line 30) | type binaryRows struct method NextResultSet (line 183) | func (rows *binaryRows) NextResultSet() error { method Next (line 193) | func (rows *binaryRows) Next(dest []driver.Value) error { type textRows (line 34) | type textRows struct method NextResultSet (line 205) | func (rows *textRows) NextResultSet() (err error) { method Next (line 215) | func (rows *textRows) Next(dest []driver.Value) error { FILE: statement.go type mysqlStmt (line 19) | type mysqlStmt struct method Close (line 26) | func (stmt *mysqlStmt) Close() error { method NumInput (line 41) | func (stmt *mysqlStmt) NumInput() int { method ColumnConverter (line 45) | func (stmt *mysqlStmt) ColumnConverter(idx int) driver.ValueConverter { method CheckNamedValue (line 49) | func (stmt *mysqlStmt) CheckNamedValue(nv *driver.NamedValue) (err err... method Exec (line 54) | func (stmt *mysqlStmt) Exec(args []driver.Value) (driver.Result, error) { method Query (line 100) | func (stmt *mysqlStmt) Query(args []driver.Value) (driver.Rows, error) { method query (line 104) | func (stmt *mysqlStmt) query(args []driver.Value) (*binaryRows, error) { type converter (line 154) | type converter struct method ConvertValue (line 161) | func (c converter) ConvertValue(v any) (driver.Value, error) { function callValuerValue (line 227) | func callValuerValue(vr driver.Valuer) (v driver.Value, err error) { FILE: statement_test.go function TestConvertDerivedString (line 18) | func TestConvertDerivedString(t *testing.T) { function TestConvertDerivedByteSlice (line 31) | func TestConvertDerivedByteSlice(t *testing.T) { function TestConvertDerivedUnsupportedSlice (line 44) | func TestConvertDerivedUnsupportedSlice(t *testing.T) { function TestConvertDerivedBool (line 53) | func TestConvertDerivedBool(t *testing.T) { function TestConvertPointer (line 66) | func TestConvertPointer(t *testing.T) { function TestConvertSignedIntegers (line 79) | func TestConvertSignedIntegers(t *testing.T) { type myUint64 (line 100) | type myUint64 struct method Value (line 104) | func (u myUint64) Value() (driver.Value, error) { function TestConvertUnsignedIntegers (line 108) | func TestConvertUnsignedIntegers(t *testing.T) { function TestConvertJSON (line 139) | func TestConvertJSON(t *testing.T) { FILE: transaction.go type mysqlTx (line 11) | type mysqlTx struct method Commit (line 15) | func (tx *mysqlTx) Commit() (err error) { method Rollback (line 31) | func (tx *mysqlTx) Rollback() (err error) { FILE: utils.go function RegisterTLSConfig (line 57) | func RegisterTLSConfig(key string, config *tls.Config) error { function DeregisterTLSConfig (line 73) | func DeregisterTLSConfig(key string) { function getTLSConfigClone (line 81) | func getTLSConfigClone(key string) (config *tls.Config) { function readBool (line 92) | func readBool(input string) (value bool, valid bool) { function parseDateTime (line 108) | func parseDateTime(b []byte, loc *time.Location) (time.Time, error) { function parseByteYear (line 183) | func parseByteYear(b []byte) (int, error) { function parseByte2Digits (line 196) | func parseByte2Digits(b1, b2 byte) (int, error) { function parseByteNanoSec (line 208) | func parseByteNanoSec(b []byte) (int, error) { function bToi (line 223) | func bToi(b byte) (int, error) { function parseBinaryDateTime (line 230) | func parseBinaryDateTime(num uint64, data []byte, loc *time.Location) (d... function appendDateTime (line 268) | func appendDateTime(buf []byte, t time.Time, timeTruncate time.Duration)... constant digits01 (line 336) | digits01 = "012345678901234567890123456789012345678901234567890123456789... constant digits10 (line 337) | digits10 = "000000000011111111112222222222333333333344444444445555555555... function appendMicrosecs (line 339) | func appendMicrosecs(dst, src []byte, decimals int) []byte { function formatBinaryDateTime (line 388) | func formatBinaryDateTime(src []byte, length uint8) (driver.Value, error) { function formatBinaryTime (line 447) | func formatBinaryTime(src []byte, length uint8) (driver.Value, error) { function putUint24 (line 495) | func putUint24(data []byte, n int) { function getUint24 (line 501) | func getUint24(data []byte) int { function uint64ToString (line 505) | func uint64ToString(n uint64) []byte { function readLengthEncodedString (line 530) | func readLengthEncodedString(b []byte) ([]byte, bool, int, error) { function skipLengthEncodedString (line 548) | func skipLengthEncodedString(b []byte) (int, error) { function readLengthEncodedInteger (line 565) | func readLengthEncodedInteger(b []byte) (uint64, bool, int) { function appendLengthEncodedInteger (line 594) | func appendLengthEncodedInteger(b []byte, n uint64) []byte { function appendLengthEncodedString (line 610) | func appendLengthEncodedString(b []byte, s string) []byte { function reserveBuffer (line 617) | func reserveBuffer(buf []byte, appendSize int) []byte { function escapeBytesBackslash (line 633) | func escapeBytesBackslash(buf, v []byte) []byte { function escapeStringBackslash (line 677) | func escapeStringBackslash(buf []byte, v string) []byte { function escapeBytesQuotes (line 726) | func escapeBytesQuotes(buf, v []byte) []byte { function escapeStringQuotes (line 745) | func escapeStringQuotes(buf []byte, v string) []byte { type noCopy (line 773) | type noCopy struct method Lock (line 776) | func (*noCopy) Lock() {} method Unlock (line 782) | func (*noCopy) Unlock() {} type atomicError (line 785) | type atomicError struct method Set (line 792) | func (ae *atomicError) Set(value error) { method Value (line 797) | func (ae *atomicError) Value() error { function namedValueToValue (line 805) | func namedValueToValue(named []driver.NamedValue) ([]driver.Value, error) { function mapIsolationLevel (line 817) | func mapIsolationLevel(level driver.IsolationLevel) (string, error) { FILE: utils_test.go function TestLengthEncodedInteger (line 20) | func TestLengthEncodedInteger(t *testing.T) { function TestFormatBinaryDateTime (line 57) | func TestFormatBinaryDateTime(t *testing.T) { function TestFormatBinaryTime (line 86) | func TestFormatBinaryTime(t *testing.T) { function TestEscapeBackslash (line 121) | func TestEscapeBackslash(t *testing.T) { function TestEscapeQuotes (line 149) | func TestEscapeQuotes(t *testing.T) { function TestAtomicError (line 176) | func TestAtomicError(t *testing.T) { function TestIsolationLevelMapping (line 198) | func TestIsolationLevelMapping(t *testing.T) { function TestAppendDateTime (line 238) | func TestAppendDateTime(t *testing.T) { function TestParseDateTime (line 352) | func TestParseDateTime(t *testing.T) { function TestInvalidDateTime (line 426) | func TestInvalidDateTime(t *testing.T) { function TestParseDateTimeFail (line 453) | func TestParseDateTimeFail(t *testing.T) {