diff --git a/lib/Reporters/SQLiteReporter.cpp b/lib/Reporters/SQLiteReporter.cpp index 0bb905dd..c9f7809a 100644 --- a/lib/Reporters/SQLiteReporter.cpp +++ b/lib/Reporters/SQLiteReporter.cpp @@ -166,23 +166,23 @@ RawReport mull::SQLiteReporter::loadRawReport(const std::string &databasePath) { while (sqlite3_step(selectMutantsStmt) == SQLITE_ROW) { int index = 0; std::string mutant_id = - reinterpret_cast(sqlite3_column_text(selectInfoStmt, index++)); + reinterpret_cast(sqlite3_column_text(selectMutantsStmt, index++)); std::string mutator = - reinterpret_cast(sqlite3_column_text(selectInfoStmt, index++)); + reinterpret_cast(sqlite3_column_text(selectMutantsStmt, index++)); std::string filename = - reinterpret_cast(sqlite3_column_text(selectInfoStmt, index++)); + reinterpret_cast(sqlite3_column_text(selectMutantsStmt, index++)); std::string directory = - reinterpret_cast(sqlite3_column_text(selectInfoStmt, index++)); - auto line_number = sqlite3_column_int(selectInfoStmt, index++); - auto column_number = sqlite3_column_int(selectInfoStmt, index++); - auto end_line_number = sqlite3_column_int(selectInfoStmt, index++); - auto end_column_number = sqlite3_column_int(selectInfoStmt, index++); - auto status = sqlite3_column_int(selectInfoStmt, index++); - auto duration = sqlite3_column_int64(selectInfoStmt, index++); + reinterpret_cast(sqlite3_column_text(selectMutantsStmt, index++)); + auto line_number = sqlite3_column_int(selectMutantsStmt, index++); + auto column_number = sqlite3_column_int(selectMutantsStmt, index++); + auto end_line_number = sqlite3_column_int(selectMutantsStmt, index++); + auto end_column_number = sqlite3_column_int(selectMutantsStmt, index++); + auto status = sqlite3_column_int(selectMutantsStmt, index++); + auto duration = sqlite3_column_int64(selectMutantsStmt, index++); std::string stdout_string = - reinterpret_cast(sqlite3_column_text(selectInfoStmt, index++)); + reinterpret_cast(sqlite3_column_text(selectMutantsStmt, index++)); std::string stderr_string = - reinterpret_cast(sqlite3_column_text(selectInfoStmt, index++)); + reinterpret_cast(sqlite3_column_text(selectMutantsStmt, index++)); ExecutionResult executionResult; executionResult.runningTime = duration;