[GRASS-SVN] r54684 - grass/trunk/lib/db/dbmi_base
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 17 10:37:18 PST 2013
Author: martinl
Date: 2013-01-17 10:37:18 -0800 (Thu, 17 Jan 2013)
New Revision: 54684
Modified:
grass/trunk/lib/db/dbmi_base/sqltype.c
Log:
db_sqltype_name(): report variable-width string instead of fixed-width n-character string
Modified: grass/trunk/lib/db/dbmi_base/sqltype.c
===================================================================
--- grass/trunk/lib/db/dbmi_base/sqltype.c 2013-01-17 14:06:57 UTC (rev 54683)
+++ grass/trunk/lib/db/dbmi_base/sqltype.c 2013-01-17 18:37:18 UTC (rev 54684)
@@ -29,7 +29,7 @@
switch (sqltype) {
case DB_SQL_TYPE_CHARACTER:
- return "CHARACTER";
+ return "CHARACTER VARYING";
case DB_SQL_TYPE_NUMERIC:
return "NUMERIC";
case DB_SQL_TYPE_DECIMAL:
More information about the grass-commit
mailing list