This commit is contained in:
rjawor 2019-05-21 12:14:13 +02:00
parent b94fa3b318
commit 2b465a88ab

View File

@ -178,7 +178,7 @@ ExampleOccurrence UnitDAO::_getExampleOccurrence(DBconnection & connection, cons
Logger::logInt("sourceId", sourceId); Logger::logInt("sourceId", sourceId);
params.push_back(new IntParam(sourceTokenStart)); params.push_back(new IntParam(sourceTokenStart));
params.push_back(new IntParam(sourceTokenEnd); params.push_back(new IntParam(sourceTokenEnd));
params.push_back(new IntParam(sourceId)); params.push_back(new IntParam(sourceId));
PGresult * result = connection.execute(query, params); PGresult * result = connection.execute(query, params);
ExampleOccurrence occurrence(connection.getIntValue(result,0,0), // example id ExampleOccurrence occurrence(connection.getIntValue(result,0,0), // example id