Browse Source

SQLite DB driver: list_databases() - report full path to the databases

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53608 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 năm trước cách đây
mục cha
commit
f531d56dec
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      db/drivers/sqlite/listdb.c

+ 1 - 1
db/drivers/sqlite/listdb.c

@@ -120,7 +120,7 @@ int listdb(dbString* path, int npaths,
                 hcount++;
                 dlist = (char **) G_realloc(dlist, hcount * sizeof(char *));
                 G_debug(3, "%s", dp->d_name);
-                dlist[hcount-1] = G_store(dp->d_name);
+                dlist[hcount-1] = G_store(fpath);
             }
         }
     }