mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
+ bail out if num_fields is 0
This commit is contained in:
parent
22647f3068
commit
7c30a5cc6f
@ -216,6 +216,8 @@ namespace mapnik {
|
||||
|
||||
unsigned num_fields = cursor->getNumFields();
|
||||
|
||||
if (num_fields == 0) return;
|
||||
|
||||
std::string feature_id = "fid";
|
||||
|
||||
std::ostringstream create_sql;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user