[GRASS-dev] Re: [GRASS GIS] #391: SQLite driver doesn't complain
enough with stupid mistakes
GRASS GIS
trac at osgeo.org
Tue Dec 9 07:45:53 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 neteler):
Replying to [comment:2 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)?
Right. r34809 reverted.
Markus
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/391#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list