Fix check of result set
@@ -426,10 +426,18 @@ public abstract class SQLServerDb extends BaseDb<SQLServerQueryStore> {
@Override
public LdbcShortQuery4MessageContentResult convertSingleResult(ResultSet result) throws SQLException {
+ if(result.next())
+ {
return new LdbcShortQuery4MessageContentResult(
result.getString(1),
SQLServerConverter.stringTimestampToEpoch(result, 2));
}
+ else
+ {
+ return null;
+ }
+
+ }
}
