dciao-kernelstructs: several experiment fixes.
The previous fault injection experiment was kind of bullshit. This one is better in several ways: - sanity check at injection time (correct IP) - correct counting of kernel_transistions - copy whole activation scheme Change-Id: I014eea4d6fe103bc02ffd7bbca95dc56a1a4d9ea
This commit is contained in:
@ -89,7 +89,7 @@ bool DatabaseCampaign::run() {
|
||||
<< " WHERE p.known_outcome = 0 "
|
||||
<< " AND g.fspmethod_id = " << fspmethod_id
|
||||
<< " AND g.variant_id = " << variant_id
|
||||
<< " AND (SELECT COUNT(*) FROM " + db_connect.result_table() + " as r WHERE r.pilot_id = g.pilot_id) = 0"
|
||||
<< " AND (SELECT COUNT(*) FROM " + db_connect.result_table() + " as r WHERE r.pilot_id = g.pilot_id) < 8"
|
||||
<< " ORDER BY p.injection_instr";
|
||||
std::string sql_body = ss.str();
|
||||
|
||||
|
||||
@ -437,8 +437,6 @@ bool DatabaseProtobufAdapter::insert_row(const google::protobuf::Message *msg) {
|
||||
|
||||
if (mysql_stmt_execute(stmt)) {
|
||||
LOG << "mysql_stmt_execute() failed: " << mysql_stmt_error(stmt) << std::endl;
|
||||
delete[] bind;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user