Skip to content

Commit

Permalink
updated SQLite3 engine to latest version 3.30.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Oct 23, 2019
1 parent d82dadf commit 64ca383
Show file tree
Hide file tree
Showing 16 changed files with 7 additions and 7 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion SQLite3/mORMotSQLite3.pas
Expand Up @@ -204,7 +204,7 @@
Version 1.18
- unit SQLite3.pas renamed mORMotSQLite3.pas
- updated SQLite3 engine to latest version 3.29
- updated SQLite3 engine to latest version 3.30.1
- BATCH adding in TSQLRestServerDB will now perform SQLite3 multi-INSERT
statements: performance boost is from 2x (mem with transaction) to 60x
(full w/out transaction) - faster than SQlite3 as external DB
Expand Down
Binary file modified SQLite3/sqlite3.o
Binary file not shown.
Binary file modified SQLite3/sqlite3.obj
Binary file not shown.
6 changes: 3 additions & 3 deletions SynSQLite3.pas
Expand Up @@ -48,7 +48,7 @@
***** END LICENSE BLOCK *****
SQLite3 3.29 database engine
SQLite3 3.30.1 database engine
********************************
Brand new SQLite3 library to be used with Delphi
Expand Down Expand Up @@ -135,7 +135,7 @@
- moved all static .obj code into new SynSQLite3Static unit
- allow either static .obj use via SynSQLite3Static or external .dll linking
using TSQLite3LibraryDynamic to bind all APIs to the global sqlite3 variable
- updated SQLite3 engine to latest version 3.29
- updated SQLite3 engine to latest version 3.30.1
- fixed: internal result cache is now case-sensitive for its SQL key values
- raise an ESQLite3Exception if DBOpen method is called twice
- added TSQLite3ErrorCode enumeration and sqlite3_resultToErrorCode()
Expand Down Expand Up @@ -1289,7 +1289,7 @@ TSQLite3Library = class
close: function(DB: TSQLite3DB): integer; cdecl;

/// Return the version of the SQLite database engine, in ascii format
// - currently returns '3.29.0', when used with our SynSQLite3Static unit
// - currently returns '3.30.1', when used with our SynSQLite3Static unit
// - if an external SQLite3 library is used, version may vary
// - you may use the VersionText property (or Version for full details) instead
libversion: function: PUTF8Char; cdecl;
Expand Down
6 changes: 3 additions & 3 deletions SynSQLite3Static.pas
@@ -1,4 +1,4 @@
/// SQLite3 3.29 Database engine - statically linked for Windows/Linux
/// SQLite3 3.30.1 Database engine - statically linked for Windows/Linux
// - this unit is a part of the freeware Synopse mORMot framework,
// licensed under a MPL/GPL/LGPL tri-license; version 1.18
unit SynSQLite3Static;
Expand Down Expand Up @@ -78,7 +78,7 @@
Version 1.18
- initial revision, extracted from SynSQLite3.pas unit
- updated SQLite3 engine to latest version 3.29
- updated SQLite3 engine to latest version 3.30.1
- now all sqlite3_*() API calls are accessible via sqlite3.*()
- our custom file encryption is now called via sqlite3.key() - i.e. official
SQLite Encryption Extension (SEE) sqlite3_key() API - and works for database
Expand Down Expand Up @@ -1138,7 +1138,7 @@ function sqlite3_trace_v2(DB: TSQLite3DB; Mask: integer; Callback: TSQLTraceCall

const
// error message if statically linked sqlite3.o(bj) does not match this
EXPECTED_SQLITE3_VERSION = {$ifdef ANDROID}''{$else}'3.29.0'{$endif};
EXPECTED_SQLITE3_VERSION = {$ifdef ANDROID}''{$else}'3.30.1'{$endif};

constructor TSQLite3LibraryStatic.Create;
var error: RawUTF8;
Expand Down
Binary file modified static/arm-linux/sqlite3.o
Binary file not shown.
Binary file modified static/i386-darwin/libsqlite3.a
Binary file not shown.
Binary file modified static/i386-darwin/sqlite3.o
Binary file not shown.
Binary file modified static/i386-linux/sqlite3.o
Binary file not shown.
Binary file modified static/i386-win32/sqlite3.o
Binary file not shown.
Binary file modified static/x86_64-darwin/libsqlite3.a
Binary file not shown.
Binary file modified static/x86_64-darwin/sqlite3.o
Binary file not shown.
Binary file modified static/x86_64-linux/sqlite3.o
Binary file not shown.
Binary file modified static/x86_64-win64/libsqlite3-64.a
Binary file not shown.
Binary file modified static/x86_64-win64/sqlite3.o
Binary file not shown.

0 comments on commit 64ca383

Please sign in to comment.