MCPcopy Create free account
hub / github.com/apecloud/myduckserver / IsReplicationWithoutIndex

Function IsReplicationWithoutIndex

configuration/env.go:12–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10)
11
12func IsReplicationWithoutIndex() bool {
13 switch strings.ToLower(os.Getenv(replicationWithoutIndex)) {
14 case "", "y", "t", "1", "on", "yes", "true":
15 return true
16 }
17 return false
18}

Callers 5

updateTableMethod · 0.92
isIndexCreationDisabledFunction · 0.92
withSchemaMethod · 0.92
generateCreateTableStmtFunction · 0.92
runReplicationScriptFunction · 0.92

Calls

no outgoing calls

Tested by 1

runReplicationScriptFunction · 0.74