MCPcopy Create free account

hub / github.com/apecloud/myduckserver / functions

Functions1,318 in github.com/apecloud/myduckserver

↓ 2 callersMethodAction
()
binlogreplication/writer.go:22
↓ 2 callersMethodAllDatabases
AllDatabases implements sql.DatabaseProvider.
catalog/provider.go:414
↓ 2 callersMethodAttachCatalog
(file interface { IsDir() bool Name() string }, ignoreNonDB bool)
catalog/provider.go:273
↓ 2 callersFunctionCauseImplicitCommitAfter
CauseImplicitCommitAfter returns true if the statement cause an implicit commit after executing: https://dev.mysql.com/doc/refman/8.4/en/implicit-comm
mysqlutil/mysqlutil.go:22
↓ 2 callersMethodCloseTxn
CloseTxn implements adapter.ConnectionHolder.
backend/session.go:239
↓ 2 callersMethodCloseTxn
()
adapter/adapter.go:19
↓ 2 callersMethodConnectionClosed
ConnectionClosed reports that a connection has been closed.
pgserver/handler.go:41
↓ 2 callersMethodCountAllStmt
()
catalog/internal_tables.go:148
↓ 2 callersFunctionCreatePublicationIfNotExists
CreatePublicationIfNotExists creates a publication with the given name if it does not already exist. Mostly useful for testing. Customers should run t
pgserver/logrepl/replication.go:552
↓ 2 callersMethodCreateReplicationSlotIfNotExists
CreateReplicationSlotIfNotExists creates the replication slot named if it doesn't already exist.
pgserver/logrepl/replication.go:611
↓ 2 callersFunctionCreateSubscription
(ctx *sql.Context, name, conn, pub, lsn string, enabled bool)
pgserver/logrepl/subscription.go:106
↓ 2 callersMethodCurrentCatalog
CurrentCatalog retrieves the current catalog of the connection. Returns an empty string if the connection is not established or the catalog cannot be
catalog/connpool.go:68
↓ 2 callersFunctionDecode
(id sql.CharacterSetID, encoded string)
charset/charset.go:85
↓ 2 callersFunctionDenormalizeStrings
normalizes a query string to convert any Postgres syntax to MySQL syntax
transpiler/converter.go:172
↓ 2 callersMethodDisconnect
()
compatibility/mysql/csharp/MySQLTest.cs:31
↓ 2 callersMethodDisconnect
()
compatibility/pg/csharp/PGTest.cs:31
↓ 2 callersFunctionEncode
(id sql.CharacterSetID, utf8 string)
charset/charset.go:75
↓ 2 callersMethodErr
()
flightsqlserver/sqlite_tables_schema_batch_reader.go:71
↓ 2 callersMethodFlushDeltaBuffer
FlushDelta writes the accumulated changes to the database.
binlogreplication/writer.go:54
↓ 2 callersFunctionGetCatalogConn
(ctx *sql.Context)
adapter/adapter.go:27
↓ 2 callersMethodGetCatalogConn
GetCatalogConn implements adapter.ConnectionHolder.
backend/session.go:209
↓ 2 callersMethodGetCatalogTxn
(ctx context.Context, options *stdsql.TxOptions)
adapter/adapter.go:15
↓ 2 callersFunctionGetSqlTableFromContext
GetSqlTableFromContext returns the table from the context. Uses the context's current database if an empty database name is provided. Returns nil if n
pgserver/core.go:44
↓ 2 callersFunctionGetStatementTag
(stmt *duckdb.Stmt)
pgserver/stmt.go:37
↓ 2 callersMethodGetTableNames
GetTableNames implements sql.Database.
catalog/database.go:41
↓ 2 callersFunctionGetTxn
(ctx *sql.Context, options *stdsql.TxOptions)
adapter/adapter.go:35
↓ 2 callersFunctionGetTypeInfoResult
(mem memory.Allocator)
flightsqlserver/type_info.go:31
↓ 2 callersFunctionGoDuckDBTypeNameToPostgresType
GoDuckDBTypeNameToPostgresType parses a type name reported by the go-duckdb driver into a corresponding pgtype.Type with its precision and scale (if a
pgtypes/pgtypes.go:257
↓ 2 callersFunctionGuessStatementTag
(query string)
pgserver/stmt.go:88
↓ 2 callersMethodInsert
(ctx *sql.Context, rows []sql.Row)
replica/updater.go:247
↓ 2 callersFunctionIsDuckDBSetSchemaNotFoundError
ERROR 1105 (HY000): unknown error: Catalog Error: SET schema: No catalog + schema named "mysql.db0" found.
catalog/errors.go:32
↓ 2 callersFunctionIsDuckDBTableAlreadyExistsError
(err error)
catalog/errors.go:18
↓ 2 callersFunctionIsDuckDBTableNotFoundError
(err error)
catalog/errors.go:23
↓ 2 callersFunctionIsPureDataQuery
IsPureDataQuery inspects if the plan is a pure data query, i.e., it operates on (>=1) data tables and does not touch any system tables. The following
backend/executor.go:291
↓ 2 callersMethodIsReadOnly
IsReadOnly implements sql.SystemVariable.
pgserver/pgconfig/parameters.go:136
↓ 2 callersMethodIsRunning
IsRunning returns true if this instance is processing binlog events and has not been stopped.
binlogreplication/binlog_replica_event_producer.go:89
↓ 2 callersMethodIsStringType
()
binlogreplication/binlog_replication_alltypes_test.go:149
↓ 2 callersFunctionIsSupported
(id sql.CharacterSetID)
charset/charset.go:18
↓ 2 callersFunctionIsSupportedNonUTF8
(id sql.CharacterSetID)
charset/charset.go:41
↓ 2 callersFunctionIsUTF8
(id sql.CharacterSetID)
charset/charset.go:33
↓ 2 callersMethodIsUnique
IsUnique returns whether this index is unique
catalog/index.go:55
↓ 2 callersMethodName
Name implements sql.Database.
catalog/database.go:123
↓ 2 callersFunctionNewBucket
(config *aws.Config)
storage/object_storage_client.go:26
↓ 2 callersFunctionNewController
()
delta/controller.go:37
↓ 2 callersFunctionNewDatabase
(name string, catalogName string)
catalog/database.go:32
↓ 2 callersFunctionNewIndex
(dbName, tableName, name string, unique bool, comment *Comment[any], exprs []sql.Expression)
catalog/index.go:17
↓ 2 callersFunctionNewListenerWithOpts
(listenerCfg mysql.ListenerConfig, opts ...ListenerOpt)
pgserver/listener.go:76
↓ 2 callersFunctionNewLogicalReplicator
NewLogicalReplicator creates a new logical replicator instance which connects to the primary and replication databases using the connection strings pr
pgserver/logrepl/replication.go:64
↓ 2 callersFunctionNewQueryRemover
(regex string)
pgserver/query_modifier.go:15
↓ 2 callersFunctionNewRestoreConfig
(dbName, remotePath string, storageConfig *storage.ObjectStorageConfig)
pgserver/restore_handler.go:38
↓ 2 callersFunctionNewSQLRowIter
(rows *stdsql.Rows, schema sql.Schema)
backend/iter.go:52
↓ 2 callersFunctionNewSQLiteFlightSQLServer
(db *sql.DB)
flightsqlserver/sqlite_server.go:224
↓ 2 callersFunctionNewServer
(provider *catalog.DatabaseProvider, host string, port int, password string, newCtx func() *sql.Context, optio
pgserver/server.go:17
↓ 2 callersFunctionNewSessionBuilder
NewSessionBuilder returns a session builder for the given database provider.
backend/session.go:51
↓ 2 callersFunctionNormalizeIntsAndFloats
NormalizeIntsAndFloats normalizes all int and float types to int64 and float64, respectively.
pgtest/framework.go:323
↓ 2 callersFunctionNormalizeVal
NormalizeVal normalizes values to the Doltgres type expects, so it can be used to convert the values using the given Doltgres type. This is used to no
pgtest/framework.go:260
↓ 2 callersMethodNumAugmentedFields
()
delta/delta.go:69
↓ 2 callersFunctionParseFormat
(s string)
pgserver/copy.go:30
↓ 2 callersMethodPersist
Persist implements the interface mysql_db.MySQLDbPersistence.
persist.go:37
↓ 2 callersFunctionQueryRow
(ctx *sql.Context, query string, args ...any)
adapter/adapter.go:67
↓ 2 callersFunctionRemoveLeadingComments
(query string)
pgserver/stmt.go:103
↓ 2 callersMethodSchema
()
delta/delta.go:81
↓ 2 callersMethodSchema
()
flightsqlserver/sqlite_tables_schema_batch_reader.go:89
↓ 2 callersMethodSelectAllStmt
()
catalog/internal_tables.go:140
↓ 2 callersMethodSelectStmt
()
catalog/internal_tables.go:96
↓ 2 callersMethodSetupScriptsToSkip
(setupScripts ...[]setup.SetupScript)
harness/duck_harness.go:213
↓ 2 callersMethodStorage
()
catalog/provider.go:383
↓ 2 callersMethodString
()
pgtypes/pgtypes.go:457
↓ 2 callersMethodToDNS
ToDNS Format SubscriptionConfig into a DNS
pgserver/subscription_handler.go:157
↓ 2 callersMethodTryGetTxn
()
adapter/adapter.go:16
↓ 2 callersMethodTxnGroup
()
binlogreplication/writer.go:25
↓ 2 callersMethodTxnSeqNumber
()
binlogreplication/writer.go:26
↓ 2 callersMethodTxnServer
()
binlogreplication/writer.go:24
↓ 2 callersMethodTxnStmtOrdinal
()
binlogreplication/writer.go:27
↓ 2 callersMethodTxnTag
()
binlogreplication/writer.go:23
↓ 2 callersFunctionUnmarshalAndMarshalJsonString
UnmarshalAndMarshalJsonString is used to normalize expected json type value to compare the actual value. JSON type value is in string format, and sinc
pgtest/framework.go:158
↓ 2 callersFunctionUpdateAllSubscriptionStatus
(ctx *sql.Context, enabled bool)
pgserver/logrepl/subscription.go:116
↓ 2 callersMethodUpdateStmt
(keyColumns []string, valueColumns []string)
catalog/internal_tables.go:18
↓ 2 callersFunctionUpdateSubscriptionStatus
(ctx *sql.Context, enabled bool, name string)
pgserver/logrepl/subscription.go:111
↓ 2 callersMethodUploadFile
(ctx context.Context, bucketName string, objectKey string, fileName string)
storage/object_storage_client.go:30
↓ 2 callersFunctionWaitForSqlServerToStart
WaitForSqlServerToStart polls the specified database to wait for it to become available, pausing between retry attempts, and returning an error if it
testutil/testutil.go:171
↓ 2 callersFunctionWithConnID
(connID *atomic.Uint32)
pgserver/listener.go:65
↓ 2 callersFunctionWithEngine
(engine *gms.Engine)
pgserver/listener.go:53
↓ 2 callersFunctionWithSessionManager
(sm *server.SessionManager)
pgserver/listener.go:59
↓ 2 callersMethodZero
()
pgtypes/pgtypes.go:453
↓ 2 callersMethodaddTest
(query string, expectedResults [][]string)
compatibility/mysql/go/mysql.go:40
↓ 2 callersMethodaddTest
(query, expectedResults)
compatibility/mysql/node/mysql_test.js:88
↓ 2 callersMethodaddTest
(query string, expectedResults [][]string)
compatibility/pg/go/pg.go:40
↓ 2 callersMethodaddTest
(query, expectedResults)
compatibility/pg/node/pg_test.js:71
↓ 2 callersMethodadd_test
(self, query, expected_results)
compatibility/mysql/python/mysql_test.py:54
↓ 2 callersMethodadd_test
(self, query, expected_results)
compatibility/pg/python/pg_test.py:56
↓ 2 callersFunctionappendByteSlices
(bytes ...[]byte)
binlogreplication/binlog_json_serialization_test.go:310
↓ 2 callersFunctionapplyRequestModifiers
applyRequestModifiers applies request modifiers to a query
backend/request_modifier.go:21
↓ 2 callersFunctionareAllExpressionsNil
(exprs []sql.Expression)
backend/loaddata.go:36
↓ 2 callersFunctionassertCreateTableStatement
(t *testing.T, database *sqlx.DB, table string, expectedStatement string)
binlogreplication/binlog_replication_test.go:802
↓ 2 callersFunctionassertNullValues
(t *testing.T, row map[string]interface{})
binlogreplication/binlog_replication_alltypes_test.go:538
↓ 2 callersMethodbase64HeaderBytes
base64HeaderBytes returns the GS2 header encoded as bytes.
pgserver/authentication_scram.go:346
↓ 2 callersFunctionbuildCondenseDeltaSQL
(viewName string, appender *DeltaAppender)
delta/controller.go:654
↓ 2 callersMethodbuildConfig
()
storage/object_storage.go:86
↓ 2 callersFunctionbuildDeleteTemplate
(tableName string, columnCount int, schema sql.Schema, pkColumns []int, identifyColumns mysql.Bitmap)
replica/updater.go:155
← previousnext →201–300 of 1,318, ranked by callers