Bug 123726 "Top n", "Bottom n" in highlight dialog doesn't work.
Description: "Top n", "Bottom n" in highlight dialog doesn't work. Steps to reproduce: 1. Add a highlight for a table. 2. Set highlight rule: "account_id", "top n", "3", let its font color red. 3. Preview the report, it doesn't work. Attached is design file.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQuery.java
protected 	IResultIterator	odiResult;
		
		private		Scriptable		queryScope;
		
		
		private		Scriptable		parentScope;
		private 	boolean 		isPrepared = false;
		private 	boolean			isExecuted = false;
		private		Map				queryAppContext;
		
		protected	int				nestedLevel = 1;
		
		/**
		 * Create a new unopened odiDataSource given the data source runtime
		 * definition
		 * 
		 * @return
		 */
		abstract protected IDataSource createOdiDataSource( )
				throws DataException;
		/**
		 * Provide the actual DataSourceRuntime used for the query.
		 * 
		 * @return
		 */
		abstract protected DataSourceRuntime findDataSource( )
				throws DataException;
		/**
		 * Create a new instance of data set runtime
		 *