diaspora/diaspora — pull request #5026 by jaywink (2014-06-24 14:12:30+00:00)
Title: Use different user.construct_public_followings_sql query depending on database backend

This is done for performance reasons as a temporary fix for problems with 0.4.0.0 on MySQL. This madness is explained in issue https://github.com/diaspora/diaspora/issues/5014.

Tested and patched on I Like Toast, stream loads nicely (MySQL).