[GRASS-dev] Re: [GRASS GIS] #391: SQLite driver doesn't complain
enough with stupid mistakes
GRASS GIS
trac at osgeo.org
Tue Dec 9 06:53:43 EST 2008
#391: SQLite driver doesn't complain enough with stupid mistakes
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Database | Version: svn-develbranch6
Resolution: | Keywords: sqlite
Platform: Linux | Cpu: Unspecified
-----------------------+----------------------------------------------------
Comment (by glynn):
Replying to [comment:1 neteler]:
> If desired in the SQLite driver, only SQL parsing might solve the
problem (complicated).
>
> For now, in r34809 I have added a check to v.db.addcol to reject odd
column definitions comparing number of tokens against number of desired
columns to be created.
So presumably it won't accept column types which contain spaces ("double
precision", "character varying", "varchar (50)", etc)?
> Someone needs to forward-port to trunk/Python this test if desired.
Not desired.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/391#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list