Bug 205621 Parameter weirdness in crosstab creation
Build ID: I20070621-1340 Steps To Reproduce: The parameters given are not used correctly in a crosstab. The table shows report corresponding to parameters; the crosstab seems to show old data. Usecase: * run report with states CA,NSW * run report with states CA,NSW,BC,NY Look if the data in the regular table matches the data in the crosstab. * Remove comment for one line in the beforeOpen script of the Sample DS and run the report * Remove comment for one line in the beforeOpen script of the Sample DS, comment the previous line and run the report Notice the differences. In the last two cases, the data is being refreshed... Reports are view using ReportViewer
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSourceAndDataSet.java
*/
	private boolean isEqualDataSetDesign( IBaseDataSetDesign dataSetDesign,
			IBaseDataSetDesign dataSetDesign2 )
	{
		if ( dataSetDesign == dataSetDesign2 )
			return true;
		if ( dataSetDesign == null || dataSetDesign2 == null )
			return false;
		if ( !isEqualString( dataSetDesign.getName( ), dataSetDesign2.getName( ) ) )
			return false;
		if ( dataSetDesign.getRowFetchLimit( ) != dataSetDesign2.getRowFetchLimit( ) )
		{
			return false;
		}
		
		if ( isEqualString( dataSetDesign.getBeforeOpenScript( ),
				dataSetDesign2.getBeforeOpenScript( ) ) == false
				|| isEqualString( dataSetDesign.getAfterOpenScript( ),
						dataSetDesign2.getAfterOpenScript( ) ) == false
				|| isEqualString( dataSetDesign.getBeforeCloseScript( ),
						dataSetDesign2.getBeforeCloseScript( ) ) == false
				|| isEqualString( dataSetDesign.getAfterCloseScript( ),
						dataSetDesign2.getAfterCloseScript( ) ) == false )
			return false;
		if ( isEqualComputedColumns( dataSetDesign.getComputedColumns( ),
				dataSetDesign2.getComputedColumns( ) ) == false
				|| isEqualFilters( dataSetDesign.getFilters( ),
						dataSetDesign2.getFilters( ) ) == false
				|| isEqualParameters( dataSetDesign.getParameters( ),
						dataSetDesign2.getParameters( ) ) == false