You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible for this library to increase this to some reasonable number (i guess 500000)?
This can be done by recompiling or by using: sqlite3_limit(database, SQLITE_LIMIT_VARIABLE_NUMBER, 500000);
The text was updated successfully, but these errors were encountered:
It seems that I was wrong about sqlite3_limit. Limit defined in constant is upper bound limit so there are safety checks to make sure that limit is not exceeded.
Hi,
We have recently discovered issue with
NSFetchRequest
failing because of reaching SQL variable count limit. This can happen when using request in formatidentifier IN %@, array
.Since this library uses sqlcipher, the number is 999:
https://github.com/sqlcipher/sqlcipher/blob/master/src/sqliteLimit.h#L136
It seems that is much lower number then used in actual CoreData sqlite. That number seems to be 500000:
http://sqlite.1065341.n5.nabble.com/SQLITE-MAX-VARIABLE-NUMBER-td43457.html
Yalantis/FastEasyMapping#80
Would it be possible for this library to increase this to some reasonable number (i guess 500000)?
This can be done by recompiling or by using:
sqlite3_limit(database, SQLITE_LIMIT_VARIABLE_NUMBER, 500000);
The text was updated successfully, but these errors were encountered: