CartoDB/cartodb — pull request #1600 by Kartones (2014-12-26 09:13:29+00:00)
Title: Check for the_geom before calculating geometry_types

Fixes #1599