Closed hlship closed 9 years ago
Unfortunately I managed make this a bit worse, so now it throws NPE in 0.3.2. I've fixed this in master so that you get the standard "No valid DB connection selected." error instead. I will also look into properly fixing this so that the connection of the outer query would be automatically used.
Fixed in 0.3.3. Db connection from outer query is now used.
I get a very odd error when using
with
in a nested query, when there is no default database.broken code:
error:
fixed code:
Obviously,
with
when nested this way should keep using the same database connection as the outer query (what else would make sense?) and perhaps its trying and failing, but the error is very, very odd and hard to track down.