rs1 = ResultSetFactory.makeRewindable(rs) ;
expectedLabel = "Results file" ;
}
else
{
QueryEngineFactory f = QueryEngineRef.getFactory() ;
QueryExecution qExec1 = new QueryExecutionBase(query, ds, null, f) ;
rs1 = ResultSetFactory.makeRewindable(qExec1.execSelect()) ;
qExec1.close() ;
expectedLabel = "Standard engine" ;
}
// ---- Second, execute in DB
QueryEngineFactory f2 = QueryEngineSDB.getFactory() ;
ds = DatasetStore.create(store) ;
QueryExecution qExec2 = new QueryExecutionBase(query, ds, null, f2) ;
try {
SDBConnection.logSQLExceptions = true ;