[GRASS-SVN] r55425 - grass/branches/releasebranch_6_4/db/base

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 18 10:54:57 PDT 2013


Author: neteler
Date: 2013-03-18 10:54:56 -0700 (Mon, 18 Mar 2013)
New Revision: 55425

Modified:
   grass/branches/releasebranch_6_4/db/base/describe.c
Log:
db.describe: print string not dbString (backport of r55393)

Modified: grass/branches/releasebranch_6_4/db/base/describe.c
===================================================================
--- grass/branches/releasebranch_6_4/db/base/describe.c	2013-03-18 17:52:43 UTC (rev 55424)
+++ grass/branches/releasebranch_6_4/db/base/describe.c	2013-03-18 17:54:56 UTC (rev 55425)
@@ -60,7 +60,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