Re: [sqlite] Bug when opening a database file in a deep directory

2018-04-06 Thread Warren Young
On Apr 4, 2018, at 9:17 AM, Dan Billings wrote: > > 1) create a directory structure that produces a long path. If it’s longer than PATH_MAX on your system, then you’re exceeding your OS’s ability here, not a limit in SQLite. Using such paths is likely to cause

Re: [sqlite] Bug when opening a database file in a deep directory

2018-04-06 Thread Richard Hipp
On 4/4/18, Dan Billings wrote: > To reproduce: > 1) create a directory structure that produces a long path. Why are you creating pathnames longer than 512 bytes? Seems like there will be usability issues there? > 2) attempt to open a DB file. > 3) observe error

[sqlite] Bug when opening a database file in a deep directory

2018-04-06 Thread Dan Billings
To reproduce: 1) create a directory structure that produces a long path. 2) attempt to open a DB file. 3) observe error :Error: unable to open database "X.db": unable to open database file 4) mv file to home dir 5) attempt to open 6) observe it opens as expected This has been tested in an