add code comment
This commit is contained in:
parent
cf8e036574
commit
60f1dadcd8
1 changed files with 1 additions and 0 deletions
|
@ -444,6 +444,7 @@ boost::shared_ptr<IResultSet> postgis_datasource::get_resultset(boost::shared_pt
|
|||
*/
|
||||
|
||||
if (!conn->execute(csql.str()))
|
||||
// TODO - better error
|
||||
throw mapnik::datasource_exception("Postgis Plugin: error creating cursor for data select." );
|
||||
|
||||
return boost::make_shared<CursorResultSet>(conn, cursor_name, cursor_fetch_size_);
|
||||
|
|
Loading…
Add table
Reference in a new issue