pat/thinking-sphinx — pull request #398 by Sutto (2012-11-26 04:02:30+00:00)
Title: Correctly escape the null in the internal class column

The code that generates the sphinx_internal_class as part of the sphinx SQL has an issue with it specifying an unscoped column where by it if you reference an associated with the type column, it will raise an error.

This fixes it by using the full column specifier. Note: I couldn't get the specs running (going to try more) and wasn't sure the best way to test this in TS code, so if you have suggestions I'd be happy to add tests for it as well.

Thanks!