MCPcopy
hub / github.com/pingcap/tidb / CreateDatabase

Method CreateDatabase

br/pkg/glue/glue.go:56–56  ·  view source on GitHub ↗
(ctx context.Context, schema *model.DBInfo)

Source from the content-addressed store, hash-verified

54 Execute(ctx context.Context, sql string) error
55 ExecuteInternal(ctx context.Context, sql string, args ...any) error
56 CreateDatabase(ctx context.Context, schema *model.DBInfo) error
57 CreateTable(ctx context.Context, dbName pmodel.CIStr, table *model.TableInfo,
58 cs ...ddl.CreateTableOption) error
59 CreatePlacementPolicy(ctx context.Context, policy *model.PolicyInfo) error

Callers 15

TestAddIngestRecorderFunction · 0.65
TestIndexesKindFunction · 0.65
TestRewriteTableIDFunction · 0.65
CreateDatabasesMethod · 0.65
ExecDDLMethod · 0.65
CreateDatabaseMethod · 0.65
TestTheSessionIsoationFunction · 0.65
TestRefreshMetaBasicFunction · 0.65
onCreateSchemaFunction · 0.65
onRecoverSchemaMethod · 0.65

Calls

no outgoing calls