Oh, I found the answer.
SQLITE_MAX_ATTACH should be changed.

On Thu, Oct 31, 2019 at 2:40 PM Aydin Ozgur Yagmur <ayagmu...@gmail.com>
wrote:

> How can it be raised to 125?
> I tried to change with calling "sqlite3_limit(db_, SQLITE_LIMIT_ATTACHED,
> 125)" but there is no effect.
> I still get "too many attached databases" exception.
>
>
> On Wed, Oct 30, 2019 at 5:01 PM David Raymond <david.raym...@tomtom.com>
> wrote:
>
>> "There's a limit, somewhere around ten, I think.  Though you can increase
>> it by explicitly messing with limits and compilation options."
>>
>> Default is 10, can be raised to 125.
>> _______________________________________________
>> sqlite-users mailing list
>> sqlite-users@mailinglists.sqlite.org
>> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>>
>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to