[GRASS-SVN] r30434 - grass/trunk/vector/v.db.connect
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Mar 3 03:36:58 EST 2008
Author: martinl
Date: 2008-03-03 03:36:58 -0500 (Mon, 03 Mar 2008)
New Revision: 30434
Modified:
grass/trunk/vector/v.db.connect/main.c
Log:
v.db.connect: print fully qualified map name for -p
Modified: grass/trunk/vector/v.db.connect/main.c
===================================================================
--- grass/trunk/vector/v.db.connect/main.c 2008-03-03 08:29:35 UTC (rev 30433)
+++ grass/trunk/vector/v.db.connect/main.c 2008-03-03 08:36:58 UTC (rev 30434)
@@ -135,13 +135,15 @@
{
num_dblinks = Vect_get_num_dblinks(&Map);
if (num_dblinks <= 0)
- G_fatal_error(_("Database connection for map <%s> is not defined in DB file"), input);
+ G_fatal_error(_("Database connection for map <%s> is not defined in DB file"),
+ G_fully_qualified_name(input, mapset));
else /* num_dblinks > 0 */
{
if (print->answer || shell_print->answer)
{
if ( !(shell_print->answer) ) {
- G_message(_("Vector map <%s> is connected by:"), input);
+ G_message(_("Vector map <%s> is connected by:"),
+ G_fully_qualified_name(input, mapset));
}
for (i = 0; i < num_dblinks; i++) {
if ( (fi = Vect_get_dblink( &Map, i)) == NULL)
More information about the grass-commit
mailing list