Skip to content

Commit

Permalink
updated SQLite3 database engine to latest 3.35.5 revision
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Apr 23, 2021
1 parent 28086b3 commit 172d480
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/core/mormot.core.os.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3895,7 +3895,7 @@ function _GetExecutableLocation(aAddress: pointer): shortstring;
var
i: PtrInt;
b: PByte;
begin
begin // just return the address as hexadecimal
result[0] := AnsiChar(SizeOf(aAddress) * 2);
b := @aAddress;
for i := SizeOf(aAddress) - 1 downto 0 do
Expand All @@ -3904,7 +3904,7 @@ function _GetExecutableLocation(aAddress: pointer): shortstring;
result[i * 2 + 2] := HexCharsLower[b^ and $F];
inc(b);
end;
end;
end; // mormot.core.log.pas will properly decode debug info - and handle .mab


{ **************** TSynLocker Threading Features }
Expand Down
2 changes: 1 addition & 1 deletion src/core/mormot.core.os.posix.inc
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ begin
result := FileInfo.st_size;
end;

function FileSeek64(Handle: THandle; const Offset: Int64; Origin: DWORD): Int64;
function FileSeek64(Handle: THandle; const Offset: Int64; Origin: cardinal): Int64;
begin
result := FPLSeek(Handle, Offset, Origin);
end;
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 @@ -1795,7 +1795,7 @@ TSqlite3Library = class
close: function(DB: TSqlite3DB): integer; cdecl;

/// Return the version of the SQLite database engine, in ascii format
// - currently returns '3.35.4', when used in conjunction with our
// - currently returns '3.35.5', 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
4 changes: 2 additions & 2 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.35.4 engine with optional AES encryption
Statically linked SQLite3 3.35.5 engine with optional AES encryption
- TSqlite3LibraryStatic Implementation
- Encryption-Related Functions
Expand Down Expand Up @@ -1024,7 +1024,7 @@ function sqlite3_trace_v2(DB: TSqlite3DB; Mask: integer; Callback: TSqlTraceCall

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

// where to download the latest available static binaries, including SQLite3
EXPECTED_STATIC_DOWNLOAD = 'https://synopse.info/files/mormot2static.7z';
Expand Down

0 comments on commit 172d480

Please sign in to comment.