mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-10 01:02:56 +03:00
Limit the maximum SQLITE_MAX_ATTACHED to 127, since a signed character
is sometimes used to store the database index. FossilOrigin-Name: f1c76c7c4c7d16855db60d16e23ecdf8d7ca862a
This commit is contained in:
@@ -2101,8 +2101,8 @@ static const int aHardLimit[] = {
|
||||
#if SQLITE_MAX_FUNCTION_ARG<0 || SQLITE_MAX_FUNCTION_ARG>1000
|
||||
# error SQLITE_MAX_FUNCTION_ARG must be between 0 and 1000
|
||||
#endif
|
||||
#if SQLITE_MAX_ATTACHED<0
|
||||
# error SQLITE_MAX_ATTACHED must be greater than 0
|
||||
#if SQLITE_MAX_ATTACHED<0 || SQLITE_MAX_ATTACHED>127
|
||||
# error SQLITE_MAX_ATTACHED must be between 0 and 127
|
||||
#endif
|
||||
#if SQLITE_MAX_LIKE_PATTERN_LENGTH<1
|
||||
# error SQLITE_MAX_LIKE_PATTERN_LENGTH must be at least 1
|
||||
|
Reference in New Issue
Block a user