[GRASS-dev] Re: [GRASS GIS] #400: Bogus SQL error message handling in db_execute_immediate

GRASS GIS trac at osgeo.org
Mon Dec 15 07:57:51 EST 2008


#400: Bogus SQL error message handling in db_execute_immediate
--------------------------+-------------------------------------------------
  Reporter:  marisn       |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  critical     |   Milestone:  6.4.0                    
 Component:  Database     |     Version:  svn-develbranch6         
Resolution:               |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Changes (by neteler):

  * summary:  Bogous SQL error message handling in db_execute_immediate =>
              Bogus SQL error message handling in
              db_execute_immediate

Comment:

 AFAIK "DESC" is a reserved SQL word which cannot be a column name.

 See "ERROR MESSAGES" in the v.in.ogr manual. Apparently the vector modules
 catch the error while the db.* modules don't.

 Markus

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


More information about the grass-dev mailing list