[GRASS-SVN] r49862 - grass/branches/releasebranch_6_4/db/drivers/sqlite

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 22 06:56:59 EST 2011


Author: mmetz
Date: 2011-12-22 03:56:59 -0800 (Thu, 22 Dec 2011)
New Revision: 49862

Modified:
   grass/branches/releasebranch_6_4/db/drivers/sqlite/describe.c
Log:
fix for variable width text (backport from trunk r49802)

Modified: grass/branches/releasebranch_6_4/db/drivers/sqlite/describe.c
===================================================================
--- grass/branches/releasebranch_6_4/db/drivers/sqlite/describe.c	2011-12-22 10:32:49 UTC (rev 49861)
+++ grass/branches/releasebranch_6_4/db/drivers/sqlite/describe.c	2011-12-22 11:56:59 UTC (rev 49862)
@@ -388,7 +388,7 @@
     if (streq(buf, "character")
 	|| streq(buf, "char")
 	|| streq(buf, "varchar"))
-	return DB_SQL_TYPE_CHARACTER;
+	return DB_SQL_TYPE_TEXT;
 
     if (sscanf(buf, "%s %s", word[0], word[1]) == 2) {
 	if (streq(word[0], "double") && streq(word[1], "precision"))



More information about the grass-commit mailing list