Fossil SCM
Increase the minimum SQLite version to 3.49.0. Really we only need to go to 3.47.0 (due to the previous check-in on this branch) but 3.49.0 is a better choice so let's just require it.
Commit
3c03634ee98800628a0f9883c29bef712e48eee3b8f8e81b427619f201475c97
Parent
29f946923eb9f73…
2 files changed
+1
-1
+3
-3
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.46.0" | |
| 41 | +define MINIMUM_SQLITE_VERSION "3.49.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.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 |
| --- 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.49.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 |
+3
-3
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -726,14 +726,14 @@ | ||
| 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()<3046000 | |
| 732 | - || strncmp(sqlite3_sourceid(),"2024-08-16",10)<0 | |
| 731 | + if( sqlite3_libversion_number()<3049000 | |
| 732 | + || strncmp(sqlite3_sourceid(),"2025-02-06",10)<0 | |
| 733 | 733 | ){ |
| 734 | - fossil_panic("Unsuitable SQLite version %s, must be at least 3.43.0", | |
| 734 | + fossil_panic("Unsuitable SQLite version %s, must be at least 3.49.0", | |
| 735 | 735 | sqlite3_libversion()); |
| 736 | 736 | } |
| 737 | 737 | |
| 738 | 738 | sqlite3_config(SQLITE_CONFIG_MULTITHREAD); |
| 739 | 739 | sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0); |
| 740 | 740 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -726,14 +726,14 @@ | |
| 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 | sqlite3_config(SQLITE_CONFIG_MULTITHREAD); |
| 739 | sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0); |
| 740 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -726,14 +726,14 @@ | |
| 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()<3049000 |
| 732 | || strncmp(sqlite3_sourceid(),"2025-02-06",10)<0 |
| 733 | ){ |
| 734 | fossil_panic("Unsuitable SQLite version %s, must be at least 3.49.0", |
| 735 | sqlite3_libversion()); |
| 736 | } |
| 737 | |
| 738 | sqlite3_config(SQLITE_CONFIG_MULTITHREAD); |
| 739 | sqlite3_config(SQLITE_CONFIG_LOG, fossil_sqlite_log, 0); |
| 740 |