#3466: v.to.db: check if column exists before running
----------------------------+-------------------------
 Reporter:  sbl             |      Owner:  grass-dev@…
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:  7.5.0
Component:  Vector          |    Version:  unspecified
 Keywords:  v.to.db,column  |        CPU:  All
 Platform:  All             |
----------------------------+-------------------------
 When updating a vector attribute column with v.to.db, the module does not
 check if the column to be updated exists.

 It starts anyway, and the user gets lots of error messages like the
 following:

 {{{
 DBMI-SQLite driver error:
 Error in sqlite3_prepare():
 no such column: length
 }}}


 Would be convenient if v.to.db would check if columns exist and fails with
 respective error message if not.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3466>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to