Skip to content

Commit

Permalink
update SQLite3 static engine to 3.39.3 revision
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Sep 19, 2022
1 parent 9a3ad12 commit 8f4fba5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions src/core/mormot.core.os.posix.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1682,6 +1682,9 @@ begin
if mem <= 0 then
// may work as alternative if "sudo pmset hibernatemode 1" has been set
mem := FpOpen('/private/var/vm/sleepimage', O_RDONLY, 0);
// see also low-level reading SMBIOS from I/O Registry on macOS:
// https://github.com/cavaliercoder/dmidecode-osx/commit/b181bb57c2494c52a2c
// but https://github.com/acidanthera/dmidecode/blob/master/util.c#L163 fails
{$endif OSDARWIN}
if mem <= 0 then
exit;
Expand Down
2 changes: 1 addition & 1 deletion src/db/mormot.db.raw.sqlite3.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2132,7 +2132,7 @@ TSqlite3Library = class
close: function(DB: TSqlite3DB): integer; cdecl;

/// Return the version of the SQLite database engine, in ascii format
// - currently returns '3.39.2', when used in conjunction with our
// - currently returns '3.39.3', when used in conjunction with our
// mormot.db.raw.sqlite3.static unit
// - if an external SQLite3 library is used, version may vary
// - you may use the VersionText property (or Version for full details) instead
Expand Down
8 changes: 4 additions & 4 deletions src/db/mormot.db.raw.sqlite3.static.pas
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
*****************************************************************************
Statically linked SQLite3 3.39.2 engine with optional AES encryption
Statically linked SQLite3 3.39.3 engine with optional AES encryption
- TSqlite3LibraryStatic Implementation
- Encryption-Related Functions
Expand Down Expand Up @@ -1031,12 +1031,12 @@ function sqlite3_error_offset(DB: TSqlite3DB): integer; cdecl; external;

const
// error message if statically linked sqlite3.o(bj) does not match this value
EXPECTED_SQLITE3_VERSION = '3.39.2';
EXPECTED_SQLITE3_VERSION = '3.39.3';

// the github release tag associated with this EXPECTED_SQLITE3_VERSION
// - you could download the static for this exact mORMot source revision e.g. as
// https://github.com/synopse/mORMot2/releases/download/2.0.3780/mormot2static.7z
EXPECTED_RELEASE_TAG = '2.0.3780';
// https://github.com/synopse/mORMot2/releases/download/2.0.4099/mormot2static.7z
EXPECTED_RELEASE_TAG = '2.0.4099';

// where to download the latest available static binaries, including SQLite3
EXPECTED_STATIC_DOWNLOAD = 'https://synopse.info/files/mormot2static.7z';
Expand Down
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'2.0.4098'
'2.0.4099'

0 comments on commit 8f4fba5

Please sign in to comment.