[GRASS-dev] [GRASS GIS] #1755: Need error message to indicate reserved words in SQLite (was: cannot create sqlite table for v.net.centrality)

GRASS GIS trac at osgeo.org
Fri Oct 5 18:28:21 PDT 2012


#1755: Need error message to indicate reserved words in SQLite
------------------------------+---------------------------------------------
 Reporter:  cmbarton          |       Owner:  grass-dev@…              
     Type:  enhancement       |      Status:  new                      
 Priority:  normal            |   Milestone:  7.0.0                    
Component:  Vector            |     Version:  unspecified              
 Keywords:  v.net.centrality  |    Platform:  Unspecified              
      Cpu:  Unspecified       |  
------------------------------+---------------------------------------------
Changes (by cmbarton):

  * type:  defect => enhancement


Comment:

 I relooked at the error and I'm not as unobservant as I initially assumed.
 There is nothing to say that "between" is an SQLite reserved word. So
 thanks for the clue about what is wrong.

 This is not a bug. But maybe an enhancement request for better error
 messages here. Changing the field name to "betw" makes it work fine. I've
 changed the summary too. I don't know if the component should stay vector
 or shift to something else.

 Michael

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



More information about the grass-dev mailing list