[GRASS-SVN] r55393 - grass/trunk/db/db.describe

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 15 04:14:34 PDT 2013


Author: mmetz
Date: 2013-03-15 04:14:33 -0700 (Fri, 15 Mar 2013)
New Revision: 55393

Modified:
   grass/trunk/db/db.describe/main.c
Log:
db.describe: print string not dbString

Modified: grass/trunk/db/db.describe/main.c
===================================================================
--- grass/trunk/db/db.describe/main.c	2013-03-15 11:11:16 UTC (rev 55392)
+++ grass/trunk/db/db.describe/main.c	2013-03-15 11:14:33 UTC (rev 55393)
@@ -59,7 +59,7 @@
     db_set_string(&table_name, parms.table);
 
     if (db_describe_table(driver, &table_name, &table) != DB_OK)
-	G_fatal_error(_("Unable to describe table <%s>"), table_name);
+	G_fatal_error(_("Unable to describe table <%s>"), db_get_string(&table_name));
 
     if (!parms.printcolnames)
 	print_table_definition(driver, table);



More information about the grass-commit mailing list