Collect garbage for cycles
Replace spaces with tabs
Merge pull request #5873 from lucasmichot/4.2-testItDoesNotLeakMemoryOnNewQueryWithJoin

[4.2] Db memory leak : failing test
Get rid of stupid test.
Merge branch '4.2'