+ ident
This commit is contained in:
parent
56b15031d0
commit
f6356731e2
2 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ class Connection
|
|||
int cursorId;
|
||||
public:
|
||||
Connection(std::string const& connection_str)
|
||||
:cursorId(0)
|
||||
:cursorId(0)
|
||||
{
|
||||
conn_=PQconnectdb(connection_str.c_str());
|
||||
if (PQstatus(conn_) != CONNECTION_OK)
|
||||
|
|
|
@ -141,8 +141,8 @@ postgis_datasource::postgis_datasource(parameters const& params)
|
|||
s << "select f_geometry_column,srid,type from ";
|
||||
s << GEOMETRY_COLUMNS <<" where f_table_name='" << table_name<<"'";
|
||||
|
||||
if (schema_name.length() > 0)
|
||||
s <<" and f_table_schema='"<< schema_name <<"'";
|
||||
if (schema_name.length() > 0)
|
||||
s <<" and f_table_schema='"<< schema_name <<"'";
|
||||
|
||||
if (geometry_field_.length() > 0)
|
||||
s << " and f_geometry_column = '" << geometry_field_ << "'";
|
||||
|
|
Loading…
Add table
Reference in a new issue