Bug 182061 Data engine changes to support result set sharing
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQuery.java
copyExpressions( srcSubQueryDefn, destSubQueryDefn );
			copySubQueryList( srcSubQueryDefn, destSubQueryDefn );
			copySortList( srcSubQueryDefn, destSubQueryDefn );
			copyFilterList( srcSubQueryDefn, destSubQueryDefn );
			return destSubQueryDefn;
		}
		else
		{
			return baseQyeryDef;
		}
	}
	/**
	 * 
	 * @param srcSubQueryDefn
	 * @param destSubQueryDefn
	 */
	private static void copyExpressions(
			SubqueryDefinition srcSubQueryDefn,
			SubqueryDefinition destSubQueryDefn) 
	{
		Map bindings = srcSubQueryDefn.getResultSetExpressions( );
		Iterator it = bindings.keySet( ).iterator( );
		while ( it.hasNext( ) )
		{
			Object o = it.next( );
			destSubQueryDefn.addResultSetExpression((String) o,
					(IBaseExpression) bindings.get(o));
		}
	}
	/**