[GRASS-dev] [GRASS GIS] #391: SQLite driver doesn't complain enough with stupid mistakes
GRASS GIS
trac at osgeo.org
Sun Aug 19 15:40:08 PDT 2012
#391: SQLite driver doesn't complain enough with stupid mistakes
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: closed
Priority: major | Milestone: 6.4.0
Component: Database | Version: svn-develbranch6
Resolution: fixed | Keywords: sqlite
Platform: Linux | Cpu: Unspecified
-----------------------+----------------------------------------------------
Changes (by neteler):
* status: new => closed
* resolution: => fixed
Comment:
The intentionally broken command (missing comma) from the original
ticket is no longer accepted:
{{{
GRASS 6.4.3svn (spearfish60):~ > v.db.addcol tmp_arch column='x double y
double'
DBMI-SQLite driver error:
Error in sqlite3_prepare():
duplicate column name: x
ERROR: Error while executing: 'ALTER TABLE tmp_arch ADD COLUMN x double y
double
'
ERROR: Cannot continue (problem adding column).
}}}
Hence the ticket can be closed.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/391#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list