Browse Source

Update SQLite to 3.35.5

This update contains to important features:
1. Improved performance of WAL mode locking primitives in cases where there are hundreds of connections all accessing the same database file at once
2. In WAL mode, if a writer crashes and leaves the shm file in an inconsistent state, subsequent transactions are now able to recover the shm file even if there are active read transactions. Before this enhancement, shm file recovery that scenario would result in an SQLITE_PROTOCOL error.
pull/2/head
Dmitry Vedenko 1 year ago
committed by Dmitry Vedenko
parent
commit
770d0b3091
  1. 2969
      lib-src/sqlite/shell.c
  2. 32094
      lib-src/sqlite/sqlite3.c
  3. 1494
      lib-src/sqlite/sqlite3.h
  4. 4
      lib-src/sqlite/sqlite3ext.h

2969
lib-src/sqlite/shell.c
File diff suppressed because it is too large
View File

32094
lib-src/sqlite/sqlite3.c
File diff suppressed because it is too large
View File

1494
lib-src/sqlite/sqlite3.h
File diff suppressed because it is too large
View File

4
lib-src/sqlite/sqlite3ext.h

@ -335,6 +335,8 @@ struct sqlite3_api_routines {
int,const char**);
void (*free_filename)(char*);
sqlite3_file *(*database_file_object)(const char*);
/* Version 3.34.0 and later */
int (*txn_state)(sqlite3*,const char*);
};
/*
@ -639,6 +641,8 @@ typedef int (*sqlite3_loadext_entry)(
#define sqlite3_create_filename sqlite3_api->create_filename
#define sqlite3_free_filename sqlite3_api->free_filename
#define sqlite3_database_file_object sqlite3_api->database_file_object
/* Version 3.34.0 and later */
#define sqlite3_txn_state sqlite3_api->txn_state
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)

Loading…
Cancel
Save