MCPcopy Create free account

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

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

↓ 10 callersFunctionmustAtoi
(str string)
src/github.com/lib/pq/encode.go:174
↓ 10 callersMethodmustExec
(sql string, args ...interface{})
src/sqltest/sql_test.go:188
↓ 10 callersMethodreadCString
readCString reads a null terminated string
src/github.com/jackc/pgx/msg_reader.go:134
↓ 9 callersMethodBytes
()
src/github.com/jackc/pgx/messages.go:35
↓ 9 callersMethodCommit
()
src/github.com/ziutek/mymysql/mysql/interface.go:32
↓ 9 callersMethodIsAlive
()
src/github.com/jackc/pgx/conn.go:387
↓ 9 callersMethodOpen
(name string)
src/github.com/lib/pq/conn.go:32
↓ 9 callersFunctionStreamHandler
StreamHandler writes log records to an io.Writer with the given format. StreamHandler can be used to easily begin writing log records to other outputs
src/gopkg.in/inconshreveable/log15.v2/handler.go:39
↓ 9 callersFunctionbytesToUint16
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:186
↓ 9 callersFunctioncloseDB
(t *testing.T, db *sql.DB)
src/github.com/jackc/pgx/stdlib/sql_test.go:19
↓ 9 callersFunctionencode
(parameterStatus *parameterStatus, x interface{}, pgtypOid oid.Oid)
src/github.com/lib/pq/encode.go:15
↓ 9 callersFunctiongetConnection
(t *testing.T)
src/github.com/tgulacsi/goracle/oracle/connection_test.go:149
↓ 9 callersFunctionsetErrAt
(err error, at string)
src/github.com/tgulacsi/goracle/oracle/error.go:46
↓ 8 callersFunctionCopyIn
CopyIn creates a COPY FROM statement which can be prepared with Tx.Prepare(). The target table should be visible in search_path.
src/github.com/lib/pq/copy.go:19
↓ 8 callersMethodIsZero
True if date is 0000-00-00
src/github.com/ziutek/mymysql/mysql/types.go:22
↓ 8 callersMethodParse
Parse the statement without executing it. This also retrieves information about the select list for select statements.
src/github.com/tgulacsi/goracle/oracle/cursor.go:908
↓ 8 callersMethodPing
()
src/github.com/ziutek/mymysql/mysql/interface.go:8
↓ 8 callersFunctionQuoteIdentifier
QuoteIdentifier quotes an "identifier" (e.g. a table or a column name) to be used as part of an SQL statement. For example: tblname := "my_table" da
src/github.com/lib/pq/conn.go:1106
↓ 8 callersMethodRegister
(sql string)
src/github.com/ziutek/mymysql/mysql/interface.go:23
↓ 8 callersMethodReset
()
src/github.com/ziutek/mymysql/mysql/interface.go:42
↓ 8 callersMethodStr
Get the nn-th value and return it as string ("" if NULL)
src/github.com/ziutek/mymysql/mysql/row.go:41
↓ 8 callersFunctionbytesToLengthCodedBinary
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:246
↓ 8 callersFunctioncreateConnPool
(t *testing.T, maxConnections int)
src/github.com/jackc/pgx/conn_pool_test.go:11
↓ 8 callersFunctiondebug
print with log.Printf if IsDebug
src/github.com/tgulacsi/goracle/oracle/error.go:56
↓ 8 callersFunctionopenDB
(t *testing.T)
src/github.com/jackc/pgx/stdlib/sql_test.go:10
↓ 8 callersMethodq
q converts "?" characters to $1, $2, $n on postgres, :1, :2, :n on Oracle
src/sqltest/sql_test.go:199
↓ 8 callersMethodreadInt32
()
src/github.com/jackc/pgx/msg_reader.go:87
↓ 8 callersMethodreadPacket
Packets documentation: http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol Read packet to buffer 'data'
src/code.google.com/p/go-mysql-driver/mysql/packets.go:23
↓ 7 callersMethodCrit
(msg string, ctx ...interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:79
↓ 7 callersFunctionEncodeU64
(val uint64)
src/github.com/ziutek/mymysql/native/codecs.go:74
↓ 7 callersMethodGetValue
Return the value of the variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:1031
↓ 7 callersMethodcheckEof
()
src/github.com/ziutek/mymysql/native/packet.go:81
↓ 7 callersMethodint16
()
src/github.com/lib/pq/buf.go:23
↓ 7 callersFunctionlenBS
(bs interface{})
src/github.com/ziutek/mymysql/native/common.go:65
↓ 7 callersFunctionnewTestListenerConn
(t *testing.T)
src/github.com/lib/pq/notify_test.go:63
↓ 7 callersMethodprocessContextFreeMsg
Processes messages that are not exclusive to one context such as authentication or query response. The response to these messages is the same regardle
src/github.com/jackc/pgx/conn.go:576
↓ 7 callersMethodreadInt16
()
src/github.com/jackc/pgx/msg_reader.go:66
↓ 7 callersMethodrxMsg
()
src/github.com/jackc/pgx/conn.go:593
↓ 6 callersMethodBin
Get the nn-th value and return it as []byte ([]byte{} if NULL)
src/github.com/ziutek/mymysql/mysql/row.go:26
↓ 6 callersFunctionEncodeU16
(val uint16)
src/github.com/ziutek/mymysql/native/codecs.go:53
↓ 6 callersMethodEnd
()
src/github.com/ziutek/mymysql/mysql/interface.go:66
↓ 6 callersMethodError
(msg string, ctx ...interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:78
↓ 6 callersMethodExecSimpleQuery
Execute a "simple query" (i.e. one with no bindable parameters) on the connection. The possible return values are: 1) "executed" is true; the query w
src/github.com/lib/pq/notify.go:270
↓ 6 callersMethodFatal
Fatal tells r that a Fatal error has occurred
src/github.com/jackc/pgx/value_reader.go:21
↓ 6 callersFunctionLogfmtFormat
LogfmtFormat prints records in logfmt format, an easy machine-parseable but human-readable format for key/value pairs. For more details see: http://g
src/gopkg.in/inconshreveable/log15.v2/format.go:85
↓ 6 callersMethodOpen
(dsn string)
src/github.com/mattn/go-sqlite3/sqlite3.go:75
↓ 6 callersMethodWrite
*func writePktHeader(wr io.Writer, seq byte, pay_len int) { writeU24(wr, uint32(pay_len)) writeByte(wr, seq) }*/
src/github.com/ziutek/mymysql/native/packet.go:104
↓ 6 callersMethodWriteCString
(s string)
src/github.com/jackc/pgx/messages.go:97
↓ 6 callersFunctionappendEncodedText
appendEncodedText encodes item in text format as required by COPY and appends to buf
src/github.com/lib/pq/encode.go:83
↓ 6 callersMethodbyte
()
src/github.com/lib/pq/buf.go:45
↓ 6 callersMethodclose
()
src/github.com/jackc/pgx/query.go:55
↓ 6 callersMethodcloseMsg
()
src/github.com/jackc/pgx/messages.go:89
↓ 6 callersFunctiondebug
use log.Printf for log messages if IsDebug
src/github.com/tgulacsi/goracle/godrv/driver.go:213
↓ 6 callersMethodexec
Internal function to execute statements
src/code.google.com/p/go-mysql-driver/mysql/connection.go:211
↓ 6 callersMethodgetDataArr
()
src/github.com/tgulacsi/goracle/oracle/variable.go:180
↓ 6 callersMethodgetResult
(res *Result)
src/github.com/ziutek/mymysql/native/result.go:62
↓ 6 callersFunctionread
(rd io.Reader, nn int)
src/github.com/ziutek/mymysql/native/common.go:23
↓ 6 callersFunctionreadStr
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:173
↓ 6 callersFunctionreadU32
(rd io.Reader)
src/github.com/ziutek/mymysql/native/codecs.go:35
↓ 6 callersMethodreadUntilEOF
Reads Packets Packets until EOF-Packet or an Error appears. Returns count of Packets read
src/code.google.com/p/go-mysql-driver/mysql/packets.go:605
↓ 6 callersFunctiontestLogger
()
src/gopkg.in/inconshreveable/log15.v2/log15_test.go:21
↓ 6 callersMethodwriteCommandPacket
****************************************************************************** * Command Packets
src/code.google.com/p/go-mysql-driver/mysql/packets.go:273
↓ 6 callersFunctionwriteU16
(wr io.Writer, val uint16)
src/github.com/ziutek/mymysql/native/codecs.go:56
↓ 5 callersMethodAttrSet
(key C.ub4, value unsafe.Pointer, valueLength int)
src/github.com/tgulacsi/goracle/oracle/connection.go:72
↓ 5 callersMethodClose
Close ends the use of a connection pool by closing all underlying connections.
src/github.com/jackc/pgx/conn_pool.go:128
↓ 5 callersMethodDelete
()
src/github.com/ziutek/mymysql/mysql/interface.go:41
↓ 5 callersMethodDo
(st Stmt)
src/github.com/ziutek/mymysql/mysql/interface.go:34
↓ 5 callersFunctionEncodeTime
(t time.Time)
src/github.com/ziutek/mymysql/native/codecs.go:398
↓ 5 callersMethodExec
Exec executes sql. sql can be either a prepared statement name or an SQL string. arguments will be sanitized before being interpolated into sql string
src/github.com/jackc/pgx/conn.go:530
↓ 5 callersMethodNext
(dest []driver.Value)
src/github.com/mattn/go-sqlite3/sqlite3.go:257
↓ 5 callersFunctionParseURL
ParseURL no longer needs to be used by clients of this library since supplying a URL as a connection string to sql.Open() is now supported: sql.Open
src/github.com/lib/pq/url.go:31
↓ 5 callersMethodReconnect
()
src/github.com/ziutek/mymysql/mysql/interface.go:21
↓ 5 callersMethodRowsAffected
()
src/github.com/mattn/go-sqlite3/sqlite3.go:218
↓ 5 callersMethodSendLongData
(pnum int, data interface{}, pkt_size int)
src/github.com/ziutek/mymysql/mysql/interface.go:43
↓ 5 callersMethodString
()
src/github.com/lib/pq/conn.go:58
↓ 5 callersMethodThreadId
()
src/github.com/ziutek/mymysql/mysql/interface.go:9
↓ 5 callersFunctionbytesToUint32
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:200
↓ 5 callersMethodcheckIsInTransaction
(intxn bool)
src/github.com/lib/pq/conn.go:347
↓ 5 callersFunctiondecode
(parameterStatus *parameterStatus, s []byte, typ oid.Oid)
src/github.com/lib/pq/encode.go:46
↓ 5 callersMethoddie
(err error)
src/github.com/jackc/pgx/conn.go:733
↓ 5 callersFunctionnewWriteBuf
(buf []byte, t byte)
src/github.com/jackc/pgx/messages.go:71
↓ 5 callersMethodnext
(n int)
src/github.com/lib/pq/buf.go:39
↓ 5 callersFunctionociHandleAlloc
(parent unsafe.Pointer, typ C.ub4, dst *unsafe.Pointer, at string)
src/github.com/tgulacsi/goracle/oracle/environment.go:131
↓ 5 callersFunctionreadAndDropLengthCodedBinary
(data []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:160
↓ 5 callersMethodreconnectIfNetErr
(nn *int, err *error)
src/github.com/ziutek/mymysql/autorc/autorecon.go:36
↓ 5 callersMethodrxReadyForQuery
(r *msgReader)
src/github.com/jackc/pgx/conn.go:659
↓ 5 callersMethodsimpleExec
(q string)
src/github.com/lib/pq/conn.go:418
↓ 5 callersFunctiontestHandler
()
src/gopkg.in/inconshreveable/log15.v2/log15_test.go:13
↓ 5 callersFunctionuint32ToBytes
(n uint32)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:207
↓ 5 callersMethodverifyFetch
Verify that fetching may happen from this cursor.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1291
↓ 5 callersMethodwrite
(msg string, lvl Lvl, ctx []interface{})
src/gopkg.in/inconshreveable/log15.v2/logger.go:87
↓ 4 callersMethodBool
It is like BoolErr but return false if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:350
↓ 4 callersMethodClass
Class returns the error class, e.g. "28". See http://www.postgresql.org/docs/9.3/static/errcodes-appendix.html for details.
src/github.com/lib/pq/error.go:71
↓ 4 callersMethodDeallocate
Deallocate released a prepared statement
src/github.com/jackc/pgx/conn.go:316
↓ 4 callersFunctionDecodeU32
(buf []byte)
src/github.com/ziutek/mymysql/native/codecs.go:31
↓ 4 callersMethodFields
()
src/github.com/ziutek/mymysql/mysql/interface.go:58
↓ 4 callersMethodFromEncodedString
(text []byte)
src/github.com/tgulacsi/goracle/oracle/environment.go:316
↓ 4 callersMethodLastInsertId
()
src/github.com/mattn/go-sqlite3/sqlite3.go:214
↓ 4 callersMethodLen
()
src/github.com/ziutek/mymysql/native/unsafe.go:21
↓ 4 callersFunctionNew
Create new MySQL handler. The first three arguments are passed to net.Bind for create connection. user and passwd are for authentication. Optional db
src/github.com/ziutek/mymysql/native/mysql.go:58
← previousnext →101–200 of 1,284, ranked by callers