Преглед изворни кода

db_sqltype_name(): report variable-width string instead of fixed-width n-character string

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54684 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa пре 12 година
родитељ
комит
cde1210c09
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/db/dbmi_base/sqltype.c

+ 1 - 1
lib/db/dbmi_base/sqltype.c

@@ -29,7 +29,7 @@ const char *db_sqltype_name(int sqltype)
 
 
     switch (sqltype) {
     switch (sqltype) {
     case DB_SQL_TYPE_CHARACTER:
     case DB_SQL_TYPE_CHARACTER:
-	return "CHARACTER";
+	return "CHARACTER VARYING";
     case DB_SQL_TYPE_NUMERIC:
     case DB_SQL_TYPE_NUMERIC:
 	return "NUMERIC";
 	return "NUMERIC";
     case DB_SQL_TYPE_DECIMAL:
     case DB_SQL_TYPE_DECIMAL: