mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Deprecate the SQLITE_ALLOW_COVERING_INDEX_SCAN compile-time option when it is
turned off. This probably will impact no-one. If it does, they will get an error message instructing them to contact developers, so that we can get feedback that somebody is actually using this feature. Start-time disabling of covering index scan is not affected. FossilOrigin-Name: 23e49f9984f74f242602c6e56bfc645585c7c86bcdd585c322ab0d8e20958d86
This commit is contained in:
@@ -153,8 +153,15 @@ const unsigned char sqlite3CtypeMap[256] = {
|
||||
** SQLITE_ALLOW_COVERING_INDEX_SCAN compile-time option, or is "on" if
|
||||
** that compile-time option is omitted.
|
||||
*/
|
||||
#ifndef SQLITE_ALLOW_COVERING_INDEX_SCAN
|
||||
#if !defined(SQLITE_ALLOW_COVERING_INDEX_SCAN)
|
||||
# define SQLITE_ALLOW_COVERING_INDEX_SCAN 1
|
||||
#else
|
||||
# if !SQLITE_ALLOW_COVERING_INDEX_SCAN
|
||||
# error "Compile-time disabling of covering index scan using the\
|
||||
-DSQLITE_ALLOW_COVERING_INDEX_SCAN=0 option is deprecated.\
|
||||
Contact SQLite developers if this is a problem for you, and\
|
||||
delete this #error macro to continue with your build."
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* The minimum PMA size is set to this value multiplied by the database
|
||||
|
Reference in New Issue
Block a user