[GRASS-SVN] r55426 - grass/branches/develbranch_6/db/base

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 18 10:55:09 PDT 2013


Author: neteler
Date: 2013-03-18 10:55:08 -0700 (Mon, 18 Mar 2013)
New Revision: 55426

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

Modified: grass/branches/develbranch_6/db/base/describe.c
===================================================================
--- grass/branches/develbranch_6/db/base/describe.c	2013-03-18 17:54:56 UTC (rev 55425)
+++ grass/branches/develbranch_6/db/base/describe.c	2013-03-18 17:55:08 UTC (rev 55426)
@@ -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