2015-02-02 11:59 GMT+01:00 Török Edwin <edwin+sqli...@etorok.net>:
> Would it be possible to raise that limit, or output a better error message 
> that says why it failed to open the file?

My suggestion would be to add something like this to sqliteLimit.h:

    /*
    **  Maximum supported path-length..
    */
    #ifndef SQLITE_MAX_PATH_LENGTH
    # define SQLITE_MAX_PATH_LENGTH 512
    #endif

and use that macro in os_unix.c in stead of the hardcoded '512'

An amalgamation containing this (and an equivalent change in os_win.c)
can be found here:

http://cyqlite.sourceforge.net/cgi-bin/sqlite/tarball/cyqlite.tar.gz?uuid=trunk

Hopefully, one day you will find this change (or something equivalent) in
the official SQLite.

     Jan Nijtmans
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to