MCPcopy Create free account
hub / github.com/anse1/sqlsmith / error

Method error

log.cc:111–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void cerr_logger::error(prod &query, const dut::failure &e)
112{
113 (void)query;
114 istringstream err(e.what());
115 string line;
116
117 if (columns-1 == (queries%columns)) {
118 cerr << endl;
119 }
120 getline(err, line);
121 errors[line]++;
122 if (dynamic_cast<const dut::timeout *>(&e))
123 cerr << "t";
124 else if (dynamic_cast<const dut::syntax *>(&e))
125 cerr << "S";
126 else if (dynamic_cast<const dut::broken *>(&e))
127 cerr << "C";
128 else
129 cerr << "e";
130}
131
132pqxx_logger::pqxx_logger(std::string target, std::string conninfo, struct schema &s)
133{

Callers 1

mainFunction · 0.45

Calls 1

whatMethod · 0.80

Tested by

no test coverage detected