amend f8a8ec616a by fixing invalid search and replace

This commit is contained in:
Dane Springmeyer 2016-04-11 16:45:11 -07:00
parent abe943c983
commit 11487e681f

View file

@ -291,7 +291,7 @@ pgraster_datasource::pgraster_datasource(parameters const& params)
s.str(""); s.str("");
s << "SELECT ST_SRID(\"" << geometryColumn_ << "\") AS srid FROM " s << "SELECT ST_SRID(\"" << geometryColumn_ << "\") AS srid FROM "
<< populate_tokens(table_) << " WHERE \"" << geometryColumn_ << "\" IS NOT nullptr LIMIT 1;"; << populate_tokens(table_) << " WHERE \"" << geometryColumn_ << "\" IS NOT NULL LIMIT 1;";
shared_ptr<ResultSet> rs = conn->executeQuery(s.str()); shared_ptr<ResultSet> rs = conn->executeQuery(s.str());
if (rs->next()) if (rs->next())