add code comment

This commit is contained in:
Dane Springmeyer 2012-02-01 16:17:59 -08:00
parent cf8e036574
commit 60f1dadcd8

View file

@ -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_);