Fossil SCM
Remove the SQLITE_ENABLE_DBPAGE_VTAB requirement from external SQLite libraries, as without it only the ".recover" command in "fossil sql" is omitted, and that is an obscure case.
Commit
a4d715251739eca9971b94f9dc2c7c8eb4f476eb6315e1d26527c02edd379239
Parent
e2426e83e417c11…
1 file changed
-1
-1
| --- src/sqlcompattest.c | ||
| +++ src/sqlcompattest.c | ||
| @@ -45,11 +45,10 @@ | ||
| 45 | 45 | int i; |
| 46 | 46 | static const char *zRequiredOpts[] = { |
| 47 | 47 | "ENABLE_FTS4", /* Required for repository search */ |
| 48 | 48 | "ENABLE_JSON1", /* Required for the check-in locking protocol */ |
| 49 | 49 | "ENABLE_DBSTAT_VTAB", /* Required by /repo-tabsize page */ |
| 50 | - "ENABLE_DBPAGE_VTAB", /* Required by the .recover command in "fossil sql" */ | |
| 51 | 50 | }; |
| 52 | 51 | |
| 53 | 52 | /* Check minimum SQLite version number */ |
| 54 | 53 | if( sqlite3_libversion_number()<3028000 ){ |
| 55 | 54 | printf("found SQLite version %s but need 3.28.0 or later\n", |
| 56 | 55 |
| --- src/sqlcompattest.c | |
| +++ src/sqlcompattest.c | |
| @@ -45,11 +45,10 @@ | |
| 45 | int i; |
| 46 | static const char *zRequiredOpts[] = { |
| 47 | "ENABLE_FTS4", /* Required for repository search */ |
| 48 | "ENABLE_JSON1", /* Required for the check-in locking protocol */ |
| 49 | "ENABLE_DBSTAT_VTAB", /* Required by /repo-tabsize page */ |
| 50 | "ENABLE_DBPAGE_VTAB", /* Required by the .recover command in "fossil sql" */ |
| 51 | }; |
| 52 | |
| 53 | /* Check minimum SQLite version number */ |
| 54 | if( sqlite3_libversion_number()<3028000 ){ |
| 55 | printf("found SQLite version %s but need 3.28.0 or later\n", |
| 56 |
| --- src/sqlcompattest.c | |
| +++ src/sqlcompattest.c | |
| @@ -45,11 +45,10 @@ | |
| 45 | int i; |
| 46 | static const char *zRequiredOpts[] = { |
| 47 | "ENABLE_FTS4", /* Required for repository search */ |
| 48 | "ENABLE_JSON1", /* Required for the check-in locking protocol */ |
| 49 | "ENABLE_DBSTAT_VTAB", /* Required by /repo-tabsize page */ |
| 50 | }; |
| 51 | |
| 52 | /* Check minimum SQLite version number */ |
| 53 | if( sqlite3_libversion_number()<3028000 ){ |
| 54 | printf("found SQLite version %s but need 3.28.0 or later\n", |
| 55 |