removed logs
This commit is contained in:
parent
95fb20be78
commit
46efdd3f32
@ -167,7 +167,6 @@ SimpleSearchResult UnitDAO::_getResultFromFragment(
|
|||||||
}
|
}
|
||||||
|
|
||||||
ExampleOccurrence UnitDAO::_getExampleOccurrence(DBconnection & connection, const SubstringOccurrence sOccurrence, const int matchedLength) {
|
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::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;
|
std::vector<QueryParam*> params;
|
||||||
params.push_back(new IntParam(2*sOccurrence.getOffset()+1));
|
params.push_back(new IntParam(2*sOccurrence.getOffset()+1));
|
||||||
|
Loading…
Reference in New Issue
Block a user