MCPcopy Create free account
hub / github.com/apache/impala / GetBuildVersion

Function GetBuildVersion

be/src/util/debug-util.cc:355–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355string GetBuildVersion(bool compact) {
356 stringstream ss;
357 ss << GetDaemonBuildVersion()
358#ifdef NDEBUG
359 << " RELEASE"
360#else
361 << " DEBUG"
362#endif
363 << " (build " << GetDaemonBuildHash()
364 << ")";
365 if (!compact) {
366 ss << endl << "Built on " << GetDaemonBuildTime();
367 }
368 return ss.str();
369}
370
371string GetVersionString(bool compact) {
372 stringstream ss;

Callers 3

InitCommonRuntimeMethod · 0.85
GetVersionStringFunction · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected