MCPcopy Create free account

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

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

↓ 1 callersMethodInsertId
()
src/github.com/ziutek/mymysql/mysql/interface.go:62
↓ 1 callersMethodIsBinary
()
src/github.com/tgulacsi/goracle/oracle/stringvar.go:31
↓ 1 callersMethodIsDate
()
src/github.com/tgulacsi/goracle/oracle/datetimevar.go:50
↓ 1 callersFunctionIsNetErr
Return true if error is network error or UnexpectedEOF.
src/github.com/ziutek/mymysql/autorc/autorecon.go:13
↓ 1 callersMethodIsString
()
src/github.com/tgulacsi/goracle/oracle/stringvar.go:24
↓ 1 callersMethodIsset
(k string)
src/github.com/lib/pq/conn.go:226
↓ 1 callersFunctionJsonFormatEx
JsonFormatEx formats log records as JSON objects. If pretty is true, records will be pretty-printed. If lineSeparated is true, records will be logged
src/gopkg.in/inconshreveable/log15.v2/format.go:126
↓ 1 callersMethodLocaltime
It is like LocaltimeErr but returns 0000-00-00 00:00:00 if conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:274
↓ 1 callersFunctionNetHandler
NetHandler opens a socket to the given address and writes records over the connection.
src/gopkg.in/inconshreveable/log15.v2/handler.go:73
↓ 1 callersMethodNetHandler
(network, addr string, fmtr Format)
src/gopkg.in/inconshreveable/log15.v2/handler.go:336
↓ 1 callersFunctionNew
(proto, laddr, raddr, user, passwd string, db ...string)
src/github.com/ziutek/mymysql/autorc/autorecon.go:32
↓ 1 callersFunctionNewConnection
Initialize the connection members.
src/github.com/tgulacsi/goracle/oracle/connection.go:91
↓ 1 callersFunctionNewCursor
Creates new cursor
src/github.com/tgulacsi/goracle/oracle/cursor.go:114
↓ 1 callersFunctionNewEnvironment
Create and initialize a new environment object
src/github.com/tgulacsi/goracle/oracle/environment.go:58
↓ 1 callersFunctionNewError
(code int, message string)
src/github.com/tgulacsi/goracle/oracle/error.go:16
↓ 1 callersFunctionNewListener
NewListener creates a new database connection dedicated to LISTEN / NOTIFY. name should be set to a connection string to be used to establish the dat
src/github.com/lib/pq/notify.go:409
↓ 1 callersMethodNewVariableArrayByValue
* // Allocate a new variable by looking at the type of the data. static udt_Variable *Variable_NewByInputTypeHandler( udt_Cursor *cursor,
src/github.com/tgulacsi/goracle/oracle/variable.go:566
↓ 1 callersMethodNewVariableByValue
Default method for determining the type of variable to use for the data.
src/github.com/tgulacsi/goracle/oracle/variable.go:507
↓ 1 callersMethodNext
DATE, DATETIME, TIMESTAMP are treated as they are in Local time zone
src/github.com/ziutek/mymysql/godrv/driver.go:121
↓ 1 callersMethodNlsSettings
retrieve NLS parameters: OCI charset, client NLS_LANG and database NLS_LANG cur can be nil (in this case it allocates one)
src/github.com/tgulacsi/goracle/oracle/connection.go:402
↓ 1 callersMethodNumField
()
src/github.com/ziutek/mymysql/mysql/interface.go:46
↓ 1 callersMethodNumParam
()
src/github.com/ziutek/mymysql/mysql/interface.go:47
↓ 1 callersMethodPing
Executes a simple Ping-CMD to test or keepalive the connection
src/code.google.com/p/go-mysql-driver/mysql/connection.go:276
↓ 1 callersMethodPrepare
Prepare the statement for execution. statementTag is optional
src/github.com/tgulacsi/goracle/oracle/cursor.go:953
↓ 1 callersFunctionProgrammingError
(text string)
src/github.com/tgulacsi/goracle/oracle/error.go:42
↓ 1 callersMethodQuery
Query acquires a connection and delegates the call to that connection. When *Rows are closed, the connection is released automatically.
src/github.com/jackc/pgx/conn_pool.go:174
↓ 1 callersMethodQuery
Query delegates to the underlying *Conn
src/github.com/jackc/pgx/tx.go:105
↓ 1 callersFunctionQuoteIdentifier
QuoteIdentifier escapes and quotes an identifier making it safe for interpolation into an SQL string
src/github.com/jackc/pgx/values.go:447
↓ 1 callersMethodRead
Return a portion (or all) of the data in the external LOB variable.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:212
↓ 1 callersMethodReadAll
Return a portion (or all) of the data in the external LOB variable.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:220
↓ 1 callersMethodReadInt16
()
src/github.com/jackc/pgx/value_reader.go:49
↓ 1 callersMethodRollback
()
src/github.com/lib/pq/conn.go:398
↓ 1 callersMethodRunning
()
src/sqltest/sql_test.go:72
↓ 1 callersMethodRunning
()
src/sqltest/sql_test.go:121
↓ 1 callersMethodRunning
()
src/sqltest/sql_test.go:139
↓ 1 callersMethodRunning
()
src/sqltest/sql_test.go:155
↓ 1 callersMethodRunning
()
src/sqltest/sql_test.go:171
↓ 1 callersFunctionSanitizeSql
SanitizeSql substitutely args positionaly into sql. Placeholder values are $ prefixed integers like $1, $2, $3, etc. args are sanitized and quoted as
src/github.com/jackc/pgx/values.go:455
↓ 1 callersMethodSetMaxPktSize
(new_size int)
src/github.com/ziutek/mymysql/mysql/interface.go:24
↓ 1 callersFunctionSpeculativeHandler
SpeculativeHandler is a handler for speculative logging. It keeps a ring buffer of the given size full of the last events logged into it. When Flush i
src/gopkg.in/inconshreveable/log15.v2/ext/handler.go:47
↓ 1 callersFunctionSplitDsn
splits username/password@sid
src/github.com/tgulacsi/goracle/oracle/connection.go:387
↓ 1 callersMethodStart
Start new query. If you specify the parameters, the SQL string will be a result of fmt.Sprintf(sql, params...). You must get all result rows (if they
src/github.com/ziutek/mymysql/native/mysql.go:281
↓ 1 callersMethodSwap
(newHandler Handler)
src/gopkg.in/inconshreveable/log15.v2/handler.go:245
↓ 1 callersMethodSwap
(newHandler log.Handler)
src/gopkg.in/inconshreveable/log15.v2/ext/handler.go:113
↓ 1 callersFunctionSyncHandler
SyncHandler can be wrapped around a handler to guarantee that only a single Log operation can proceed at a time. It's necessary for thread-safe concur
src/gopkg.in/inconshreveable/log15.v2/handler.go:50
↓ 1 callersFunctionSyslogHandler
SyslogHandler opens a connection to the system syslog daemon by calling syslog.New and writes all records to it.
src/gopkg.in/inconshreveable/log15.v2/syslog.go:12
↓ 1 callersFunctionSyslogNetHandler
SyslogHandler opens a connection to a log daemon over the network and writes all log records to it.
src/gopkg.in/inconshreveable/log15.v2/syslog.go:19
↓ 1 callersMethodTime
Converts Date to time.Time using loc location. Converts MySQL zero to time.Time zero.
src/github.com/ziutek/mymysql/mysql/types.go:28
↓ 1 callersMethodUint64
Get the nn-th value and return it as uint64. Return 0 if value is NULL or conversion is impossible.
src/github.com/ziutek/mymysql/mysql/row.go:430
↓ 1 callersMethodValue
Value implements the driver Valuer interface.
src/github.com/lib/pq/encode.go:360
↓ 1 callersMethodacquireSenderLock
We can only allow one goroutine at a time to be running a query on the connection for various reasons, so the goroutine sending on the connection must
src/github.com/lib/pq/notify.go:89
↓ 1 callersMethodallocateData
Allocate the data for the variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:208
↓ 1 callersMethodauth
(r *readBuf, o values)
src/github.com/lib/pq/conn.go:779
↓ 1 callersMethodauth
()
src/github.com/ziutek/mymysql/native/init.go:35
↓ 1 callersFunctionbenchPreparedQueryLoop
(b *testing.B, db *sql.DB, stmt *sql.Stmt, result interface{})
src/github.com/lib/pq/bench_test.go:199
↓ 1 callersFunctionbenchQueryLoop
(b *testing.B, db *sql.DB, query string, result interface{})
src/github.com/lib/pq/bench_test.go:46
↓ 1 callersMethodbytes
(v []byte)
src/github.com/lib/pq/buf.go:71
↓ 1 callersFunctionbytesToFloat32
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:234
↓ 1 callersFunctionbytesToFloat64
(b []byte)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:238
↓ 1 callersMethodcallBuildStatement
Determine the statement and the bind variables to bind to the statement that is created for calling a stored procedure or function.
src/github.com/tgulacsi/goracle/oracle/cursor.go:1007
↓ 1 callersMethodcallCalculateSize
Calculate the size of the statement that is to be executed.
src/github.com/tgulacsi/goracle/oracle/cursor.go:967
↓ 1 callersFunctioncheckStmt
(t *testing.T, res, exp *StmtErr)
src/github.com/ziutek/mymysql/native/native_test.go:232
↓ 1 callersMethodconnect
()
src/github.com/lib/pq/notify.go:645
↓ 1 callersFunctiondeleteUrlHandler
(w http.ResponseWriter, req *http.Request)
src/github.com/jackc/pgx/examples/url_shortener/main.go:76
↓ 1 callersFunctiondial
(o values)
src/github.com/lib/pq/conn.go:176
↓ 1 callersMethoddisconnectCleanup
Clean up after losing the server connection. Returns l.cn.Err(), which should have the reason the connection was lost.
src/github.com/lib/pq/notify.go:570
↓ 1 callersFunctionencodeBytea
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:943
↓ 1 callersFunctionencodeDate
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:989
↓ 1 callersFunctionencodeTimestamp
(w *WriteBuf, value interface{})
src/github.com/jackc/pgx/values.go:1082
↓ 1 callersMethodencryptedPasswd
Borrowed from GoMySQL SHA1(SHA1(SHA1(password)), scramble) XOR SHA1(password)
src/github.com/ziutek/mymysql/native/codecs.go:452
↓ 1 callersMethodeof
()
src/github.com/ziutek/mymysql/native/packet.go:77
↓ 1 callersFunctionevaluateLazy
(lz Lazy)
src/gopkg.in/inconshreveable/log15.v2/handler.go:281
↓ 1 callersFunctionexpectNoEvent
(t *testing.T, eventch <-chan ListenerEventType)
src/github.com/lib/pq/notify_test.go:53
↓ 1 callersMethodfetchInto
Fetch current row's columns into the given pointers
src/github.com/tgulacsi/goracle/oracle/cursor.go:790
↓ 1 callersFunctionfloat32ToByteStr
(f float32)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:310
↓ 1 callersFunctionfloat64ToByteStr
(f float64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:314
↓ 1 callersFunctionfloat64ToBytes
(f float64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:242
↓ 1 callersFunctionformatJsonValue
(value interface{})
src/gopkg.in/inconshreveable/log15.v2/format.go:181
↓ 1 callersMethodgetBinRowPacket
(pr *pktReader, res *Result)
src/github.com/ziutek/mymysql/native/result.go:240
↓ 1 callersMethodgetBindNames
Return a list of bind variable names. At this point the cursor must have already been prepared.
src/github.com/tgulacsi/goracle/oracle/cursor.go:127
↓ 1 callersFunctiongetConnection
(t *testing.T)
src/github.com/tgulacsi/goracle/conntest/main.go:58
↓ 1 callersMethodgetErrorOffset
returns the bind variables array and map func (cur Cursor) GetBindVars() ([]*Variable, map[string]*Variable) { return cur.bindVarsArr, cur.bindVarsMa
src/github.com/tgulacsi/goracle/oracle/cursor.go:283
↓ 1 callersMethodgetOkPacket
(pr *pktReader)
src/github.com/ziutek/mymysql/native/result.go:114
↓ 1 callersMethodgetPrepareOkPacket
(pr *pktReader)
src/github.com/ziutek/mymysql/native/prepared.go:143
↓ 1 callersMethodgetResSetHeadPacket
(pr *pktReader)
src/github.com/ziutek/mymysql/native/result.go:171
↓ 1 callersMethodgetSystemVar
Gets the value of the given MySQL System Variable
src/code.google.com/p/go-mysql-driver/mysql/connection.go:243
↓ 1 callersMethodgetTextRowPacket
(pr *pktReader, res *Result)
src/github.com/ziutek/mymysql/native/result.go:220
↓ 1 callersFunctiongetUrlHandler
(w http.ResponseWriter, req *http.Request)
src/github.com/jackc/pgx/examples/url_shortener/main.go:46
↓ 1 callersMethodgetValueInto
FIXME: proper Into, not just this dummy fetches value into the dest pointer
src/github.com/tgulacsi/goracle/oracle/variable.go:124
↓ 1 callersMethodgname
()
src/github.com/lib/pq/conn.go:413
↓ 1 callersMethodhandleParams
Handles parameters set in DSN
src/code.google.com/p/go-mysql-driver/mysql/connection.go:53
↓ 1 callersFunctionhashTag
(tag []byte)
src/github.com/tgulacsi/goracle/oracle/cursor.go:1642
↓ 1 callersMethodinit
()
src/github.com/ziutek/mymysql/native/init.go:7
↓ 1 callersFunctionint64ToBytes
(n int64)
src/code.google.com/p/go-mysql-driver/mysql/utils.go:230
↓ 1 callersMethodinternalRead
Return the size of the LOB variable for internal comsumption.
src/github.com/tgulacsi/goracle/oracle/externallobvar.go:48
↓ 1 callersFunctionisVariable
Returns a boolean indicating if the object is a variable.
src/github.com/tgulacsi/goracle/oracle/variable.go:132
↓ 1 callersMethoditemDescription
Return a tuple describing the item at the given position.
src/github.com/tgulacsi/goracle/oracle/cursor.go:480
↓ 1 callersMethoditemDescriptionHelper
Helper for Cursor_ItemDescription() used so that it is not necessary to constantly free the descriptor when an error takes place.
src/github.com/tgulacsi/goracle/oracle/cursor.go:376
↓ 1 callersFunctionlenDate
(d mysql.Date)
src/github.com/ziutek/mymysql/native/codecs.go:443
↓ 1 callersFunctionlenDuration
(d time.Duration)
src/github.com/ziutek/mymysql/native/codecs.go:325
← previousnext →501–600 of 1,284, ranked by callers