MCPcopy Create free account

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

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

↓ 4 callersMethodReadInt32
()
src/github.com/jackc/pgx/value_reader.go:63
↓ 4 callersMethodSetValue
Set the value of the variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:1120
↓ 4 callersMethodString
()
src/github.com/tgulacsi/goracle/oracle/error.go:24
↓ 4 callersMethodUint
Get the nn-th value and return it as uint. Return 0 if value is NULL or conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:171
↓ 4 callersMethodUse
(dbname string)
src/github.com/ziutek/mymysql/mysql/interface.go:22
↓ 4 callersFunctionVarTypeByValue
Return a variable type given a Go object or error if the Go value does not have a corresponding variable type.
src/github.com/tgulacsi/goracle/oracle/variable.go:302
↓ 4 callersMethodWaitForNotification
WaitForNotification waits for a PostgreSQL notification for up to timeout. If the timeout occurs it returns pgx.ErrNotificationTimeout
src/github.com/jackc/pgx/conn.go:330
↓ 4 callersMethodWarn
(msg string, ctx ...interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:77
↓ 4 callersFunctionbindValue
val should be an addressable value
src/github.com/ziutek/mymysql/native/binding.go:19
↓ 4 callersFunctionbytesToUint64
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:215
↓ 4 callersFunctioncheckStatus
Check for an error in the last call and if an error has occurred.
src/github.com/tgulacsi/goracle/oracle/environment.go:212
↓ 4 callersFunctioncloseStmt
(t *testing.T, stmt *sql.Stmt)
src/github.com/jackc/pgx/stdlib/sql_test.go:39
↓ 4 callersMethodconnectIfNotConnected
()
src/github.com/ziutek/mymysql/autorc/autorecon.go:50
↓ 4 callersMethodemitEvent
(event ListenerEventType, err error)
src/github.com/lib/pq/notify.go:687
↓ 4 callersFunctionexpect
(str, char string, pos int)
src/github.com/lib/pq/encode.go:168
↓ 4 callersFunctionexpectNoNotification
(t *testing.T, ch <-chan *Notification)
src/github.com/lib/pq/notify_test.go:30
↓ 4 callersFunctionfakeConn
(content string, prefixLen int)
src/github.com/lib/pq/bench_test.go:82
↓ 4 callersMethodgetResponse
()
src/github.com/ziutek/mymysql/native/mysql.go:264
↓ 4 callersFunctionintToByteStr
(i int64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:301
↓ 4 callersMethodinternalPrepare
Internal method for preparing a statement for execution.
src/github.com/tgulacsi/goracle/oracle/cursor.go:832
↓ 4 callersMethodmoreRows
Returns an integer indicating if more rows can be retrieved from the cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1355
↓ 4 callersFunctionmust
(h Handler, err error)
src/gopkg.in/inconshreveable/log15.v2/handler.go:323
↓ 4 callersFunctionnewTestListener
(t *testing.T)
src/github.com/lib/pq/notify_test.go:266
↓ 4 callersFunctionnewTestListenerTimeout
create a new test listener and also set the timeouts
src/github.com/lib/pq/notify_test.go:245
↓ 4 callersFunctionopenTestConnConninfo
(conninfo string)
src/github.com/lib/pq/conn_test.go:19
↓ 4 callersFunctionprepareStmt
(t *testing.T, p preparer, sql string)
src/github.com/jackc/pgx/stdlib/sql_test.go:30
↓ 4 callersFunctionreadLengthCodedBinary
(data []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:134
↓ 4 callersMethodreadResultSetHeaderPacket
* Result Set Header Packet Bytes Name ----- ---- 1-9 (Length-Coded-Binary) field_count 1-9 (Le
src/code.google.com/p/go-mysql-driver/mysql/packets.go:434
↓ 4 callersFunctionreadU24
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:25
↓ 4 callersFunctionreadU64
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:47
↓ 4 callersMethodsetState
setState advances the protocol state to newState. Returns false if moving to that state from the current state is not allowed.
src/github.com/lib/pq/notify.go:105
↓ 4 callersMethodstartMsg
(t byte)
src/github.com/jackc/pgx/messages.go:83
↓ 4 callersFunctionuintToByteStr
(u uint64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:306
↓ 4 callersFunctionwriteBS
(wr io.Writer, bs interface{})
src/github.com/ziutek/mymysql/native/common.go:54
↓ 4 callersFunctionwriteBin
(wr io.Writer, buf []byte)
src/github.com/ziutek/mymysql/native/codecs.go:164
↓ 3 callersFunctionCopyInSchema
CopyInSchema creates a COPY FROM statement which can be prepared with Tx.Prepare().
src/github.com/lib/pq/copy.go:33
↓ 3 callersFunctionDiscardHandler
DiscardHandler reports success for all writes but does nothing. It is useful for dynamically disabling logging at runtime via a Logger's SetHandler me
src/gopkg.in/inconshreveable/log15.v2/handler.go:312
↓ 3 callersFunctionEncodeDate
(d mysql.Date)
src/github.com/ziutek/mymysql/native/codecs.go:432
↓ 3 callersFunctionEncodeDuration
(d time.Duration)
src/github.com/ziutek/mymysql/native/codecs.go:294
↓ 3 callersMethodFetchMany
Fetch multiple rows from the cursor based on the arraysize. for default (arraySize) row limit, use negative rowLimit
src/github.com/tgulacsi/goracle/oracle/cursor.go:1429
↓ 3 callersFunctionFormatFunc
FormatFunc returns a new Format object which uses the given function to perform record formatting.
src/gopkg.in/inconshreveable/log15.v2/format.go:25
↓ 3 callersMethodIsConnected
Connection_IsConnected() Determines if the connection object is connected to the database.
src/github.com/tgulacsi/goracle/oracle/connection.go:63
↓ 3 callersMethodIsNumber
()
src/github.com/tgulacsi/goracle/oracle/numbervar.go:26
↓ 3 callersFunctionJsonFormat
JsonFormat formats log records as JSON objects separated by newlines. It is the equivalent of JsonFormatEx(false, true).
src/gopkg.in/inconshreveable/log15.v2/format.go:119
↓ 3 callersMethodLastInsertId
()
src/github.com/ziutek/mymysql/godrv/driver.go:94
↓ 3 callersFunctionLazyHandler
LazyHandler writes all values to the wrapped handler after evaluating any lazy functions in the record's context. It is already wrapped around StreamH
src/gopkg.in/inconshreveable/log15.v2/handler.go:255
↓ 3 callersFunctionLvlFilterHandler
LvlFilterHandler returns a Handler that only writes records which are less than the given verbosity level to the wrapped Handler. For example, to only
src/gopkg.in/inconshreveable/log15.v2/handler.go:150
↓ 3 callersFunctionMatchFilterHandler
MatchFilterHandler returns a Handler that only writes records to the wrapped Handler if the given key in the logged context matches the value. For exa
src/gopkg.in/inconshreveable/log15.v2/handler.go:123
↓ 3 callersMethodMoreResults
()
src/github.com/ziutek/mymysql/native/mysql.go:319
↓ 3 callersMethodNewVar
Create a bind variable and return it.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1533
↓ 3 callersMethodNext
(dest []driver.Value)
src/github.com/jackc/pgx/stdlib/sql.go:229
↓ 3 callersMethodOpen
Open new connection. The uri need to have the following syntax: [PROTOCOL_SPECFIIC*]DBNAME/USER/PASSWD where protocol spercific part may be empty (t
src/github.com/ziutek/mymysql/godrv/driver.go:185
↓ 3 callersFunctionParseTime
Parses string datetime in TimeFormat using loc location. Converts MySQL zero to time.Time zero.
src/github.com/ziutek/mymysql/mysql/types.go:99
↓ 3 callersFunctionQuoteString
QuoteString escapes and quotes a string making it safe for interpolation into an SQL string.
src/github.com/jackc/pgx/values.go:440
↓ 3 callersMethodReadByte
()
src/github.com/jackc/pgx/value_reader.go:35
↓ 3 callersMethodReadInt64
()
src/github.com/jackc/pgx/value_reader.go:77
↓ 3 callersMethodRollback
()
src/github.com/tgulacsi/goracle/oracle/connection.go:273
↓ 3 callersMethodSetAddr
(addr uintptr)
src/github.com/ziutek/mymysql/native/unsafe.go:17
↓ 3 callersMethodSkipSpaces
SkipSpaces returns the next non-whitespace rune. It returns 0, false if the end of the text has been reached.
src/github.com/lib/pq/conn.go:259
↓ 3 callersMethodString
()
src/github.com/ziutek/mymysql/mysql/types.go:17
↓ 3 callersMethodString
Returns the name of a Lvl
src/gopkg.in/inconshreveable/log15.v2/logger.go:22
↓ 3 callersMethodWriteBytes
(b []byte)
src/github.com/jackc/pgx/messages.go:120
↓ 3 callersMethodWriteInt64
(n int64)
src/github.com/jackc/pgx/messages.go:114
↓ 3 callersFunctioncheckErrId
(t *testing.T, err error, rid, eid int64)
src/github.com/ziutek/mymysql/godrv/driver_test.go:13
↓ 3 callersFunctioncheckErrWarn
(t *testing.T, res, exp *RowsResErr)
src/github.com/ziutek/mymysql/native/native_test.go:65
↓ 3 callersFunctioncheckRow
(t *testing.T, examples []sio, conv func(string) interface{})
src/github.com/ziutek/mymysql/mysql/types_test.go:12
↓ 3 callersMethodcreateRow
Create an object for the row. The object created is a tuple unless a row factory function has been defined in which case it is the result of the row f
src/github.com/tgulacsi/goracle/oracle/cursor.go:759
↓ 3 callersFunctiondecodeBool
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:529
↓ 3 callersFunctiondecodeFloat4
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:799
↓ 3 callersFunctiondecodeFloat8
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:851
↓ 3 callersFunctiondecodeInt2
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:644
↓ 3 callersFunctiondecodeInt4
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:725
↓ 3 callersFunctiondecodeInt8
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:578
↓ 3 callersFunctiondecodeText
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:900
↓ 3 callersFunctiondecodeTimestampTz
(vr *ValueReader)
src/github.com/jackc/pgx/values.go:1001
↓ 3 callersFunctionencodeBytea
(serverVersion int, v []byte)
src/github.com/lib/pq/encode.go:325
↓ 3 callersFunctionencodeText
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:909
↓ 3 callersFunctionexec
(stmt *Stmt, params ...interface{})
src/github.com/ziutek/mymysql/native/native_test.go:35
↓ 3 callersMethodexec
(v []driver.Value)
src/github.com/lib/pq/conn.go:892
↓ 3 callersMethodexec
(cmd string)
src/github.com/mattn/go-sqlite3/sqlite3.go:58
↓ 3 callersFunctionexpectEvent
(t *testing.T, eventch <-chan ListenerEventType, et ListenerEventType)
src/github.com/lib/pq/notify_test.go:40
↓ 3 callersMethodfreeHandle
Free the handle which may be reallocated if necessary.
src/github.com/tgulacsi/goracle/oracle/cursor.go:66
↓ 3 callersMethodgetFieldPacket
(pr *pktReader)
src/github.com/ziutek/mymysql/native/result.go:192
↓ 3 callersMethodgetPrepareResult
(stmt *Stmt)
src/github.com/ziutek/mymysql/native/prepared.go:94
↓ 3 callersFunctiongetServerVersion
(t *testing.T, db *sql.DB)
src/github.com/lib/pq/conn_test.go:48
↓ 3 callersMethodhandleErrorPacket
* Error Packet Bytes Name ----- ---- 1 field_count, always = 0xff 2
src/code.google.com/p/go-mysql-driver/mysql/packets.go:358
↓ 3 callersMethodinternalExecute
Perform the work of executing a cursor and set the rowcount appropriately regardless of whether an error takes place.
src/github.com/tgulacsi/goracle/oracle/cursor.go:303
↓ 3 callersFunctionlenBin
(buf []byte)
src/github.com/ziutek/mymysql/native/codecs.go:169
↓ 3 callersFunctionlenLC
(v interface{})
src/github.com/ziutek/mymysql/native/codecs.go:203
↓ 3 callersFunctionlenStr
(str string)
src/github.com/ziutek/mymysql/native/codecs.go:184
↓ 3 callersMethodnewPktReader
()
src/github.com/ziutek/mymysql/native/packet.go:16
↓ 3 callersFunctionparseComplete
parseComplete parses the "command tag" from a CommandComplete message, and returns the number of rows affected (if applicable) and a string identifyin
src/github.com/lib/pq/conn.go:982
↓ 3 callersFunctionparseTs
This is a time function specific to the Postgres default DateStyle setting ("ISO, MDY"), the only one we currently support. This accounts for the disc
src/github.com/lib/pq/encode.go:186
↓ 3 callersMethodperformBind
Perform the binds on the cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:727
↓ 3 callersFunctionprepare
(sql string)
src/github.com/ziutek/mymysql/native/native_test.go:227
↓ 3 callersMethodreadAll
()
src/github.com/ziutek/mymysql/native/packet.go:53
↓ 3 callersMethodreadByte
()
src/github.com/jackc/pgx/msg_reader.go:46
↓ 3 callersFunctionreadLCB
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:104
↓ 3 callersMethodreadOid
()
src/github.com/jackc/pgx/msg_reader.go:129
↓ 3 callersMethodrecv
recv receives a message from the backend, but if an error happened while reading the message or the received message was an ErrorResponse, it panics.
src/github.com/lib/pq/conn.go:663
← previousnext →201–300 of 1,284, ranked by callers