hpcc-systems/HPCC-Platform — pull request #2659 by richardkchapman (2012-06-22 11:35:06+00:00)
Title: Fix gh-2656 thorlib.nodes() always returns 1 on Roxie

It's hard to guess what people want to use nodes() for - for some uses when
writing code that needs to work on thor or roxie, 1 may be the best answer.
But for other uses it's no good at all.

Given that it's always possible to code IF(platform='roxie',1,nodes()) if
that's the semantics you want, I think it would be more useful for nodes()
on Roxie to return the number of channels.

This could conceivably break code that is relying on the old semantics.
Though I suspect any such code would be unusual.

Signed-off-by: Richard Chapman