MCPcopy Create free account
hub / github.com/ByConity/ByConity / readMaybeQuoted

Function readMaybeQuoted

utils/zookeeper-cli/zookeeper-cli.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void readMaybeQuoted(std::string & s, DB::ReadBuffer & buf)
50{
51 if (!buf.eof() && *buf.position() == '\'')
52 DB::readQuotedString(s, buf);
53 else
54 readUntilSpace(s, buf);
55}
56
57
58int main(int argc, char ** argv)

Callers 1

mainFunction · 0.85

Calls 4

readQuotedStringFunction · 0.85
readUntilSpaceFunction · 0.85
eofMethod · 0.45
positionMethod · 0.45

Tested by

no test coverage detected