FoundationDB/sql-layer — pull request #1344 by SytzeH (2014-06-24 22:47:57+00:00)
Title: fix for selecting too many column sources within MapJoinProject

With the combination of multiple LEFT OUTER JOIN's and subqueries a state could exist where it threw an column not found error. MapJoinProject added too many sources to the Project it forms. The proposed fix makes the SubquerySource opaque for MapJoinProject as it doesn't visit the instance with its children.

The error originally occurred in the second and third test case.