amend f8a8ec616a
by fixing invalid search and replace
This commit is contained in:
parent
abe943c983
commit
11487e681f
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue