浏览代码

v.in.ogr: add comment to not mix OGR dsn and GRASS db connection

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72977 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 6 年之前
父节点
当前提交
98a8a0b273
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      vector/v.in.ogr/dsn.c

+ 2 - 0
vector/v.in.ogr/dsn.c

@@ -11,6 +11,8 @@ char *get_datasource_name(const char *opt_dsn, int use_ogr)
     dsn = G_store(opt_dsn);
 
     return dsn;
+
+    /* input OGR dsn and GRASS db connections are independent of each other */
     
     /* TODO: remove below code, or use it in e.g. a new v.in.pg */
     if (G_strncasecmp(opt_dsn, "PG:", 3) == 0) {