Hi,

2009/8/14 Markus Neteler <nete...@osgeo.org>:
>> * are these extra checks needed (it's done by v.extract) [1,2]
>
> Yes, I think so: if you create a map with v.random it won't have
> a connected table, so better don't badly crash. Likewise with
> a non-existing map. I used existing msg strings (for translation).

Badly crash? After r38718:

$ v.db.droprow in=x out=x1 w='x' --o
ERROR: Vector map <x> not found

$ v.db.droprow in=p out=x1 w='x' --o
ERROR: Database connection not defined for layer 1

It seems reasonable to me.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to