Fossil SCM
Make sure Fossil is run with a version of SQLite that include the order-by-subquery optimization, to avoid a performance problem.
Commit
668fefe796fd5e2441c80d98dad5b637bc7a94f705794797c28512f4409421cc
Parent
60debc7ed76b9d8…
2 files changed
+1
-1
+2
-2
M
auto.def
+1
-1
| --- auto.def | ||
| +++ auto.def | ||
| @@ -36,11 +36,11 @@ | ||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | # Update the minimum required SQLite version number here, and also |
| 39 | 39 | # in src/main.c near the sqlite3_libversion_number() call. Take care |
| 40 | 40 | # that both places agree! |
| 41 | -define MINIMUM_SQLITE_VERSION "3.43.0" | |
| 41 | +define MINIMUM_SQLITE_VERSION "3.46.0" | |
| 42 | 42 | |
| 43 | 43 | # This is useful for people wanting Fossil to use an external SQLite library |
| 44 | 44 | # to compare the one they have against the minimum required |
| 45 | 45 | if {[opt-bool print-minimum-sqlite-version]} { |
| 46 | 46 | puts [get-define MINIMUM_SQLITE_VERSION] |
| 47 | 47 |
| --- auto.def | |
| +++ auto.def | |
| @@ -36,11 +36,11 @@ | |
| 36 | } |
| 37 | |
| 38 | # Update the minimum required SQLite version number here, and also |
| 39 | # in src/main.c near the sqlite3_libversion_number() call. Take care |
| 40 | # that both places agree! |
| 41 | define MINIMUM_SQLITE_VERSION "3.43.0" |
| 42 | |
| 43 | # This is useful for people wanting Fossil to use an external SQLite library |
| 44 | # to compare the one they have against the minimum required |
| 45 | if {[opt-bool print-minimum-sqlite-version]} { |
| 46 | puts [get-define MINIMUM_SQLITE_VERSION] |
| 47 |
| --- auto.def | |
| +++ auto.def | |
| @@ -36,11 +36,11 @@ | |
| 36 | } |
| 37 | |
| 38 | # Update the minimum required SQLite version number here, and also |
| 39 | # in src/main.c near the sqlite3_libversion_number() call. Take care |
| 40 | # that both places agree! |
| 41 | define MINIMUM_SQLITE_VERSION "3.46.0" |
| 42 | |
| 43 | # This is useful for people wanting Fossil to use an external SQLite library |
| 44 | # to compare the one they have against the minimum required |
| 45 | if {[opt-bool print-minimum-sqlite-version]} { |
| 46 | puts [get-define MINIMUM_SQLITE_VERSION] |
| 47 |
+2
-2
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -726,12 +726,12 @@ | ||
| 726 | 726 | fossil_limit_memory(1); |
| 727 | 727 | |
| 728 | 728 | /* When updating the minimum SQLite version, change the number here, |
| 729 | 729 | ** and also MINIMUM_SQLITE_VERSION value set in ../auto.def. Take |
| 730 | 730 | ** care that both places agree! */ |
| 731 | - if( sqlite3_libversion_number()<3043000 | |
| 732 | - || strncmp(sqlite3_sourceid(),"2023-06-12",10)<0 | |
| 731 | + if( sqlite3_libversion_number()<3046000 | |
| 732 | + || strncmp(sqlite3_sourceid(),"2024-08-16",10)<0 | |
| 733 | 733 | ){ |
| 734 | 734 | fossil_panic("Unsuitable SQLite version %s, must be at least 3.43.0", |
| 735 | 735 | sqlite3_libversion()); |
| 736 | 736 | } |
| 737 | 737 | |
| 738 | 738 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -726,12 +726,12 @@ | |
| 726 | fossil_limit_memory(1); |
| 727 | |
| 728 | /* When updating the minimum SQLite version, change the number here, |
| 729 | ** and also MINIMUM_SQLITE_VERSION value set in ../auto.def. Take |
| 730 | ** care that both places agree! */ |
| 731 | if( sqlite3_libversion_number()<3043000 |
| 732 | || strncmp(sqlite3_sourceid(),"2023-06-12",10)<0 |
| 733 | ){ |
| 734 | fossil_panic("Unsuitable SQLite version %s, must be at least 3.43.0", |
| 735 | sqlite3_libversion()); |
| 736 | } |
| 737 | |
| 738 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -726,12 +726,12 @@ | |
| 726 | fossil_limit_memory(1); |
| 727 | |
| 728 | /* When updating the minimum SQLite version, change the number here, |
| 729 | ** and also MINIMUM_SQLITE_VERSION value set in ../auto.def. Take |
| 730 | ** care that both places agree! */ |
| 731 | if( sqlite3_libversion_number()<3046000 |
| 732 | || strncmp(sqlite3_sourceid(),"2024-08-16",10)<0 |
| 733 | ){ |
| 734 | fossil_panic("Unsuitable SQLite version %s, must be at least 3.43.0", |
| 735 | sqlite3_libversion()); |
| 736 | } |
| 737 | |
| 738 |