Re: [sqlite] can't open db when path length extends 512 characters (on linux)

2017-01-31 Thread Rowan Worth
On 31 January 2017 at 17:32, Jan Nijtmans wrote: > 2017-01-30 19:37 GMT+01:00 Dan Kennedy: > > On 01/31/2017 12:48 AM, Nir Paz wrote: > >> Linux doesn't have that limit, my thought is to change the define of > >> MAX_PATHNAME, is there a better option? > > > > I don't

Re: [sqlite] can't open db when path length extends 512 characters (on linux)

2017-01-31 Thread Jan Nijtmans
2017-01-30 19:37 GMT+01:00 Dan Kennedy: > On 01/31/2017 12:48 AM, Nir Paz wrote: >> Linux doesn't have that limit, my thought is to change the define of >> MAX_PATHNAME, is there a better option? > > I don't think there is a better way to do that. Define MAX_PATHNAME to > something and see how it

Re: [sqlite] can't open db when path length extends 512 characters (on linux)

2017-01-30 Thread Dan Kennedy
On 01/31/2017 12:48 AM, Nir Paz wrote: Hi All, I get the next error: SQLITE_CANTOPEN when calling sqlite3_open_v2 with filename exceeding 512 characters. Linux doesn't have that limit, my thought is to change the define of MAX_PATHNAME, is there a better option? I don't think there is a

[sqlite] can't open db when path length extends 512 characters (on linux)

2017-01-30 Thread Nir Paz
Hi All, I get the next error: SQLITE_CANTOPEN when calling sqlite3_open_v2 with filename exceeding 512 characters. Linux doesn't have that limit, my thought is to change the define of MAX_PATHNAME, is there a better option? Thanks, Nir ___