neo4j/neo4j — pull request #3103 by cleishm (2014-09-19 08:06:13+00:00)
Title: Spoil identifiers in WHERE during inlining

Rewriting `MATCH a, b, c WITH length(c.prop) AS d, b WITH b, d WHERE b.bar RETURN d` was creating a `WITH` with duplicate aliases. This PR fixes that, by spoiling identifiers in `WHERE`.