[GRASS-dev] Re: [GRASS GIS] #391: SQLite driver doesn't complain enough with stupid mistakes

GRASS GIS trac at osgeo.org
Tue Dec 9 05:55:27 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):

 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.

 Someone needs to forward-port to trunk/Python this test if desired.

 Markus

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/391#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list