mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
add code comment
This commit is contained in:
parent
cf8e036574
commit
60f1dadcd8
@ -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…
x
Reference in New Issue
Block a user