Bug 201396 Exception is thrown out when a chart use the list shared result set [0005]
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryResults.java
}
			}
		}
		catch ( BirtException e )
		{
			throw DataException.wrap( e );
		}
		logger.logp( Level.FINE,
				QueryResults.class.getName( ),
				"getResultIterator",
				"finished" );
		return iterator;
	}
	/**
	 * 
	 * @param odiIterator
	 * @return
	 * @throws DataException
	 */
	private boolean isDummyQuery(org.eclipse.birt.data.engine.odi.IResultIterator odiIterator) throws DataException {
		return queryService.getQueryDefn() instanceof IQueryDefinition
				&& ((IQueryDefinition) queryService.getQueryDefn())
						.getDataSetName() == null && odiIterator.getResultClass().getFieldCount() == 0;
	}
	
	/*
	 * Closes all query result set(s) associated with this object; provides a
	 * hint to the query that it can safely release all associated resources.
	 * The query results might have iterators open on them. Iterators associated
	 * with the query result sets are invalidated and can no longer be used.