[GRASS-SVN] r49802 - grass/trunk/db/drivers/sqlite
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 18 05:52:03 EST 2011
Author: mmetz
Date: 2011-12-18 02:52:03 -0800 (Sun, 18 Dec 2011)
New Revision: 49802
Modified:
grass/trunk/db/drivers/sqlite/describe.c
Log:
fix for variable width text
Modified: grass/trunk/db/drivers/sqlite/describe.c
===================================================================
--- grass/trunk/db/drivers/sqlite/describe.c 2011-12-18 08:23:35 UTC (rev 49801)
+++ grass/trunk/db/drivers/sqlite/describe.c 2011-12-18 10:52:03 UTC (rev 49802)
@@ -420,7 +420,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