MCPcopy Create free account

hub / github.com/bradfitz/go-sql-test / functions

Functions1,284 in github.com/bradfitz/go-sql-test

↓ 358 callersMethodFatal
()
src/github.com/lib/pq/error.go:454
↓ 180 callersMethodClose
()
src/github.com/ziutek/mymysql/mysql/interface.go:19
↓ 147 callersMethodNew
New returns a new Logger that has this logger's context plus the given context
src/gopkg.in/inconshreveable/log15.v2/logger.go:69
↓ 120 callersMethodExec
(params ...interface{})
src/github.com/ziutek/mymysql/mysql/interface.go:50
↓ 96 callersMethodScan
Scan MUST check r.Type().DataType and r.Type().FormatCode before decoding. It should not assume that it was called on the type of value.
src/github.com/jackc/pgx/values.go:53
↓ 85 callersMethodQuery
(sql string, params ...interface{})
src/github.com/ziutek/mymysql/mysql/interface.go:12
↓ 79 callersFunctioncheckErr
(t *testing.T, err error, exp_err error)
src/github.com/ziutek/mymysql/native/native_test.go:40
↓ 63 callersMethodType
Type returns the *FieldDescription of the value
src/github.com/jackc/pgx/value_reader.go:31
↓ 62 callersMethodError
()
src/github.com/lib/pq/error.go:453
↓ 58 callersMethodQueryRow
QueryRow delegates to the underlying *Conn
src/github.com/jackc/pgx/tx.go:116
↓ 56 callersMethodCheckStatus
Check for an error in the last call and if an error has occurred, retrieve the error message from the database environment
src/github.com/tgulacsi/goracle/oracle/environment.go:235
↓ 54 callersMethodLen
Len returns the number of unread bytes
src/github.com/jackc/pgx/value_reader.go:26
↓ 53 callersMethodDate
It is like DateErr but return 0000-00-00 if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:200
↓ 52 callersFunctionopenTestConn
(t Fatalistic)
src/github.com/lib/pq/conn_test.go:39
↓ 41 callersFunctioncmdOK
(affected uint64, binary, eor bool)
src/github.com/ziutek/mymysql/native/native_test.go:125
↓ 41 callersFunctionquery
(sql string, params ...interface{})
src/github.com/ziutek/mymysql/native/native_test.go:30
↓ 40 callersMethodErr
()
src/github.com/jackc/pgx/query.go:103
↓ 40 callersFunctioncheckResult
(t *testing.T, res, exp *RowsResErr)
src/github.com/ziutek/mymysql/native/native_test.go:118
↓ 40 callersFunctionerrorf
(s string, args ...interface{})
src/github.com/lib/pq/error.go:458
↓ 32 callersMethodNext
(dest []driver.Value)
src/github.com/lib/pq/conn.go:1048
↓ 31 callersMethodBegin
()
src/github.com/ziutek/mymysql/mysql/interface.go:26
↓ 30 callersFunctioncloseConn
(t testing.TB, conn *pgx.Conn)
src/github.com/jackc/pgx/helper_test.go:16
↓ 30 callersFunctionmustConnect
(t testing.TB, config pgx.ConnConfig)
src/github.com/jackc/pgx/helper_test.go:8
↓ 28 callersMethodRollback
()
src/github.com/ziutek/mymysql/mysql/interface.go:33
↓ 27 callersFunctionwriteByte
(wr io.Writer, ch byte)
src/github.com/ziutek/mymysql/native/common.go:46
↓ 26 callersMethodPrepare
(query string)
src/github.com/jackc/pgx/stdlib/sql_test.go:27
↓ 26 callersMethodstring
()
src/github.com/lib/pq/buf.go:29
↓ 24 callersMethodRunTest
(*testing.T, func(params))
src/sqltest/sql_test.go:19
↓ 23 callersMethodConnect
()
src/github.com/ziutek/mymysql/mysql/interface.go:18
↓ 23 callersMethodPrepare
(sql string)
src/github.com/ziutek/mymysql/mysql/interface.go:6
↓ 23 callersMethodRun
(params ...interface{})
src/github.com/ziutek/mymysql/mysql/interface.go:40
↓ 22 callersMethodInfo
(msg string, ctx ...interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:76
↓ 22 callersMethodWriteInt32
(n int32)
src/github.com/jackc/pgx/messages.go:108
↓ 21 callersMethodExecute
Execute the statement.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1165
↓ 21 callersFunctionerrRecover
(err *error)
src/github.com/lib/pq/error.go:462
↓ 20 callersFunctionctrace
prints with log.Printf the C-call trace
src/github.com/tgulacsi/goracle/oracle/debug_trace.go:10
↓ 19 callersMethodGetRow
()
src/github.com/ziutek/mymysql/mysql/interface.go:54
↓ 19 callersMethodWriteByte
(b byte)
src/github.com/jackc/pgx/messages.go:93
↓ 18 callersMethodErr
Err() returns the reason the connection was closed. It is not safe to call this function until l.Notify has been closed.
src/github.com/lib/pq/notify.go:336
↓ 18 callersMethodSetHandler
SetHandler updates the logger to write records to the specified handler.
src/gopkg.in/inconshreveable/log15.v2/logger.go:72
↓ 18 callersMethodWrite
(b []byte)
src/github.com/lib/pq/bench_test.go:78
↓ 17 callersMethodStart
(sql string, params ...interface{})
src/github.com/ziutek/mymysql/mysql/interface.go:5
↓ 17 callersMethodsend
Assumes len(*m) is > 5
src/github.com/lib/pq/conn.go:603
↓ 16 callersMethodFormat
(r *Record)
src/gopkg.in/inconshreveable/log15.v2/format.go:20
↓ 16 callersMethodIsConnected
()
src/github.com/ziutek/mymysql/mysql/interface.go:20
↓ 16 callersFunctioncheck
Benchamrks
src/github.com/ziutek/mymysql/native/native_test.go:956
↓ 16 callersMethodunlock
()
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:23
↓ 16 callersMethodwriteBuf
(b byte)
src/github.com/lib/pq/conn.go:85
↓ 15 callersMethodBind
(params ...interface{})
src/github.com/ziutek/mymysql/mysql/interface.go:38
↓ 15 callersMethodDuration
It is like DurationErr but return 0 if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:306
↓ 15 callersMethodInt
Get the nn-th value and return it as int. Return 0 if value is NULL or conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:116
↓ 15 callersMethodName
Name returns a more human friendly rendering of the error code, namely the "condition name". See http://www.postgresql.org/docs/9.3/static/errcodes-a
src/github.com/lib/pq/error.go:53
↓ 15 callersMethodRelease
Release gives up use of a connection.
src/github.com/jackc/pgx/conn_pool.go:105
↓ 15 callersMethodStat
Stat returns connection pool statistics
src/github.com/jackc/pgx/conn_pool.go:137
↓ 15 callersFunctionensureConnValid
Do a simple query to ensure the connection is still usable
src/github.com/jackc/pgx/helper_test.go:38
↓ 14 callersMethodAcquire
Acquire takes exclusive use of a connection until it is released.
src/github.com/jackc/pgx/conn_pool.go:69
↓ 14 callersMethodAttrGet
(parent unsafe.Pointer, parentType, key int, dst unsafe.Pointer, errText string)
src/github.com/tgulacsi/goracle/oracle/environment.go:277
↓ 14 callersFunctionEncodeU32
(val uint32)
src/github.com/ziutek/mymysql/native/codecs.go:67
↓ 14 callersMethodNewCursor
Create a new cursor (statement) referencing the connection.
src/github.com/tgulacsi/goracle/oracle/connection.go:369
↓ 14 callersMethodReadString
ReadString reads count bytes and returns as string
src/github.com/jackc/pgx/value_reader.go:96
↓ 14 callersMethodSet
(k, v string)
src/github.com/lib/pq/conn.go:218
↓ 14 callersFunctioncatchError
(err *error)
src/github.com/ziutek/mymysql/native/common.go:75
↓ 14 callersMethodfatal
fatal tells r that a Fatal error has occurred
src/github.com/jackc/pgx/msg_reader.go:25
↓ 14 callersFunctionreadByte
(rd io.Reader)
src/github.com/ziutek/mymysql/native/common.go:29
↓ 14 callersFunctionreadU16
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:16
↓ 14 callersFunctionwrite
(wr io.Writer, buf []byte)
src/github.com/ziutek/mymysql/native/common.go:40
↓ 13 callersMethodGet
(k byte)
src/github.com/lib/pq/error.go:455
↓ 13 callersMethodRowsAffected
RowsAffected returns the number of rows affected. If the CommandTag was not for a row affecting command (such as "CREATE TABLE") then it returns 0
src/github.com/jackc/pgx/conn.go:77
↓ 13 callersMethodlock
()
src/github.com/ziutek/mymysql/thrsafe/thrsafe.go:18
↓ 13 callersFunctionmustExec
(t testing.TB, conn *pgx.Conn, sql string, arguments ...interface{})
src/github.com/jackc/pgx/helper_test.go:29
↓ 13 callersFunctionmyConnect
(t *testing.T, with_dbname bool, max_pkt_size int)
src/github.com/ziutek/mymysql/native/native_test.go:136
↓ 13 callersMethodnewPktWriter
(to_write int)
src/github.com/ziutek/mymysql/native/packet.go:95
↓ 13 callersMethodsendCmd
(cmd byte, argv ...interface{})
src/github.com/ziutek/mymysql/native/command.go:5
↓ 12 callersMethodDebug
Log a message at the given level with context key/value pairs
src/gopkg.in/inconshreveable/log15.v2/logger.go:75
↓ 12 callersMethodFatal
Fatal signals an error occurred after the query was sent to the server. It closes the rows automatically.
src/github.com/jackc/pgx/query.go:120
↓ 12 callersMethodLog
(r *Record)
src/gopkg.in/inconshreveable/log15.v2/handler.go:17
↓ 12 callersFunctioncheckErr
(t *testing.T, err error)
src/github.com/ziutek/mymysql/godrv/driver_test.go:8
↓ 12 callersFunctioncheckErr
(t *testing.T, err error, exp_err error)
src/github.com/ziutek/mymysql/autorc/autorecon_test.go:15
↓ 12 callersFunctionexpectNotification
(t *testing.T, ch <-chan *Notification, relname string, extra string)
src/github.com/lib/pq/notify_test.go:14
↓ 12 callersFunctionparseError
(r *readBuf)
src/github.com/lib/pq/error.go:355
↓ 12 callersFunctionreadFull
(rd io.Reader, buf []byte)
src/github.com/ziutek/mymysql/native/common.go:10
↓ 12 callersMethodrecv1
recv1 receives a message from the backend, panicking if an error occurs while attempting to read it. All asynchronous messages are ignored, with the
src/github.com/lib/pq/conn.go:687
↓ 11 callersMethodAppend
Append adds a value to qa and returns the placeholder value for the argument. e.g. $1, $2, etc.
src/github.com/jackc/pgx/sql.go:23
↓ 11 callersMethodNext
Next prepares the next row for reading. It returns true if there is another row and false if no more rows are available. It automatically closes rows
src/github.com/jackc/pgx/query.go:132
↓ 11 callersMethodVerify
Verify that the external LOB var is still valid.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:40
↓ 11 callersMethodint32
()
src/github.com/lib/pq/buf.go:11
↓ 11 callersFunctionmustPrepare
(t testing.TB, conn *pgx.Conn, name, sql string)
src/github.com/jackc/pgx/helper_test.go:23
↓ 11 callersFunctionmyClose
(t *testing.T)
src/github.com/ziutek/mymysql/native/native_test.go:152
↓ 11 callersMethodprocessReadyForQuery
(r *readBuf)
src/github.com/lib/pq/conn.go:1145
↓ 11 callersFunctionwriteU32
(wr io.Writer, val uint32)
src/github.com/ziutek/mymysql/native/codecs.go:70
↓ 10 callersMethodClose
Close the cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:547
↓ 10 callersMethodFatal
(args ...interface{})
src/github.com/lib/pq/hstore/hstore_test.go:11
↓ 10 callersMethodFetchOne
Fetch a single row from the cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1395
↓ 10 callersFunctionFuncHandler
FuncHandler returns a Handler that logs records with the given function.
src/gopkg.in/inconshreveable/log15.v2/handler.go:22
↓ 10 callersMethodListen
Listen starts listening for notifications on a channel. Calls to this function will block until an acknowledgement has been received from the server.
src/github.com/lib/pq/notify.go:445
↓ 10 callersMethodMap
(string)
src/github.com/ziutek/mymysql/mysql/interface.go:45
↓ 10 callersFunctionNew
New returns a new logger with the given context. New is a convenient alias for Root().New
src/gopkg.in/inconshreveable/log15.v2/root.go:28
↓ 10 callersMethodNewVariable
allocate a new variable
src/github.com/tgulacsi/goracle/oracle/variable.go:50
↓ 10 callersMethodWriteInt16
(n int16)
src/github.com/jackc/pgx/messages.go:102
↓ 10 callersFunctionappendEscapedText
(buf []byte, text string)
src/github.com/lib/pq/encode.go:109
next →1–100 of 1,284, ranked by callers