[sqlite] Can't open database via symlink

2016-01-26 Thread Harald Hanche-Olsen
-Original Message- From:?Richard Hipp Date:?26 January 2016 at 16:29:01 > On 1/25/16, Harald Hanche-Olsen wrote: > > I have discovered that opening a database via a symlink works only if the > > symlink is in the current directory. > > We think this problem is now fixed on trunk. Can yo

[sqlite] Can't open database via symlink

2016-01-26 Thread Richard Hipp
On 1/25/16, Harald Hanche-Olsen wrote: > I have discovered that opening a database via a symlink works only if the > symlink is in the current directory. We think this problem is now fixed on trunk. Can you please try with the latest trunk code (you can download an amalgamation snapshot from htt

[sqlite] Can't open database via symlink

2016-01-25 Thread Harald Hanche-Olsen
I have discovered that opening a database via a symlink works only if the symlink is in the current directory. Otherwise, this happens: ; mkdir x y ; sqlite3 x/foo.sqlite 'create table foo(x);' ; sqlite3 x/foo.sqlite 'select count(*) from foo;' 0 ; ln -s ../x/foo.sqlite y ; cmp x/foo.sqlite y/foo