sqlite: skip feature parsing when things go wrong upstream in sqlite - https://github.com/mapnik/node-mapnik/issues/61

This commit is contained in:
Dane Springmeyer 2011-09-02 00:56:42 +00:00
parent aa9bdf0d5a
commit 7d60c12e33

View file

@ -105,6 +105,9 @@ feature_ptr sqlite_featureset::next()
const int type_oid = rs_->column_type (i);
const char* fld_name = rs_->column_name(i);
if (!fld_name)
continue;
if (!using_subquery_)
{
switch (type_oid)