QueryExecution qexec = createQueryExecution(query, dataset) ;
setAnyTimeouts(qexec, action);
if ( query.isSelectType() )
{
ResultSet rs = qexec.execSelect() ;
// Force some query execution now.
// Do this to force the query to do something that should touch any underlying database,
// and hence ensure the communications layer is working.
// MySQL can time out after 8 hours of an idle connection
rs.hasNext() ;
// // Not necessary if we are inside a read lock until the end of sending results.
// rs = ResultSetFactory.copyResults(rs) ;
log.info(format("[%d] OK/select", action.id)) ;