[GRASS-SVN] r73034 - grass/trunk/db/drivers/sqlite

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 3 07:51:58 PDT 2018


Author: mmetz
Date: 2018-08-03 07:51:58 -0700 (Fri, 03 Aug 2018)
New Revision: 73034

Modified:
   grass/trunk/db/drivers/sqlite/describe.c
Log:
sqlite driver: fix default column length for declared column types

Modified: grass/trunk/db/drivers/sqlite/describe.c
===================================================================
--- grass/trunk/db/drivers/sqlite/describe.c	2018-08-03 14:47:55 UTC (rev 73033)
+++ grass/trunk/db/drivers/sqlite/describe.c	2018-08-03 14:51:58 UTC (rev 73034)
@@ -378,7 +378,7 @@
     G_chop(buf);
     G_tolcase(buf);
 
-    *length = 1;
+    *length = 0;
 
 #define streq(a,b) (strcmp((a),(b)) == 0)
 



More information about the grass-commit mailing list