Bug 187445 The joint result of script computed column is incorrect[07]
Description: 1, Each dataset including a computed column: name: index; type:integer; expression:0 2, Specify the script of datasets to: beforeOpen: index=0; onFetch: row["index"] = index; index++; 3, Join the two datasets Build number: 2.2.0.v20070516-0630 Steps to reproduce: 1, open the attached report design 2, open the joint dataset and preview Actual result: The result of column Data "Set1::index" is all 0 but no value 1.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ComputedColumnHelper.java
resultSetCCList );
		List availableCCList = new ArrayList( );
		getAvailableComputedList( getComputedNameList( dataSetCCList ),
				dataSetCCList,
				availableCCList );
		this.availableModeInstance = new ComputedColumnHelperInstance( dataSet,
				availableCCList );
		this.currentModel = TransformationConstants.DATA_SET_MODEL;
		this.allCC = new ArrayList( );
		this.allCC.addAll( dataSetCCList );
		this.allCC.addAll( resultSetCCList );
		logger.exiting( ComputedColumnHelper.class.getName( ), "ComputedColumnHelper" );
	}
	/**
	 * 
	 * @return
	 */
	private ComputedColumnHelperInstance getCurrentInstance( )
	{
		if ( this.currentModel == TransformationConstants.DATA_SET_MODEL )
			return this.dataSetInstance;
		else if ( this.currentModel == TransformationConstants.RESULT_SET_MODEL )
			return this.resultSetInstance;
		else if ( this.currentModel == TransformationConstants.PRE_CALCULATE_MODEL )
			return this.availableModeInstance;
		return null;
	}
	/*
	 * (non-Javadoc)
	 *