MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / ofopen

Function ofopen

test/chbench/chbench/src/TupleGen.cc:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38std::ofstream TupleGen::regionStream;
39
40void ofopen(std::ofstream& f, const std::string& path) {
41 f.open(path);
42 if (f.fail()) {
43 err(1, "opening %s", path.c_str());
44 }
45}
46
47void TupleGen::openOutputFiles(const std::string& outDir) {
48 ofopen(warehouseStream, outDir + "/warehouse.tbl");

Callers 1

openOutputFilesMethod · 0.85

Calls 2

errFunction · 0.50
openMethod · 0.45

Tested by

no test coverage detected