removed logs

This commit is contained in:
Rafał Jaworski 2019-02-28 11:41:15 +01:00
parent 95fb20be78
commit 46efdd3f32

View File

@ -167,7 +167,6 @@ SimpleSearchResult UnitDAO::_getResultFromFragment(
}
ExampleOccurrence UnitDAO::_getExampleOccurrence(DBconnection & connection, const SubstringOccurrence sOccurrence, const int matchedLength) {
Logger::log("_getExampleOccurence");
std::string query = "SELECT unit.id, unit.source_segment, unit.target_segment, unit.source_tokens[$1::integer], unit.source_tokens[$2::integer], unit.target_tokens, unit.alignments, source.name, source.link FROM unit left join source on unit.source_id = source.external_id where unit.id = $3::integer;";
std::vector<QueryParam*> params;
params.push_back(new IntParam(2*sOccurrence.getOffset()+1));