MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / serializeQuery

Function serializeQuery

src/Interpreters/AsynchronousInsertQueue.cpp:966–971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

964}
965
966String serializeQuery(const IAST & query, size_t max_length)
967{
968 return query.hasSecretParts()
969 ? query.formatForLogging(max_length)
970 : wipeSensitiveDataAndCutToLength(query.formatWithSecretsOneLine(), max_length, true);
971}
972
973}
974

Callers 1

processDataMethod · 0.85

Calls 4

formatForLoggingMethod · 0.80
hasSecretPartsMethod · 0.45

Tested by

no test coverage detected