sqlite: skip feature parsing when things go wrong upstream in sqlite - https://github.com/mapnik/node-mapnik/issues/61
This commit is contained in:
parent
aa9bdf0d5a
commit
7d60c12e33
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,9 @@ feature_ptr sqlite_featureset::next()
|
||||||
const int type_oid = rs_->column_type (i);
|
const int type_oid = rs_->column_type (i);
|
||||||
const char* fld_name = rs_->column_name(i);
|
const char* fld_name = rs_->column_name(i);
|
||||||
|
|
||||||
|
if (!fld_name)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!using_subquery_)
|
if (!using_subquery_)
|
||||||
{
|
{
|
||||||
switch (type_oid)
|
switch (type_oid)
|
||||||
|
|
Loading…
Add table
Reference in a new issue