[GRASS5] [bug #4004] (grass) d.vect: where clause does not function for layer 2 table

this bug's URL: http://intevation.de/rt/webrt?serial_num=4004
-------------------------------------------------------------------------

Subject: d.vect: where clause does not function for layer 2 table

Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: CVS 20060116

When two tables are connected to a vector, it is not possible to use a where clause to filter features based on the table attached to layer 2.

i.e.

v.db.connect map table=t1 layer=1
v.db.connect map table=t2 layer=2

#works as expected
d.vect map where="t1.col = 1" layer=1

#produces no output
d.vect map where="t2.col = 1" layer=2

This is with the MySQL driver.

Thanks,

Dylan

-------------------------------------------- Managed by Request Tracker