/ File History
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of src/memdb.c

2019-01-31
16:09
Remove an incorrect assert() from the deserialize in-memory database VFS. file: [02a5fcec] check-in: [80151d7e] user: drh branch: trunk, size: 18266
15:38
Add the SQLITE_CONFIG_MEMDB_MAXSIZE configuration option for configuring the default maximum size of an in-memory database created using sqlite3_deserialize(). This is necessary to make the interface reasonably testable. file: [86897162] check-in: [cb72ee04] user: drh branch: trunk, size: 18292
2019-01-25
14:16
Fix the xFetch method of the "memdb" VFS (used by deserialize) so that it is robust against corrupt database file. file: [d95f6ad2] check-in: [2c1ef40e] user: drh branch: dbsqlfuzz-in-fuzzcheck, size: 18433
2019-01-22
16:43
Fix the SQLITE_DESERIALIZE_READONLY feature so that it does not cause an assertion fault in the pager. file: [6099be38] check-in: [b9eccef7] user: drh branch: trunk, size: 18351
16:06
Enhancements to deserialize: (1) Add the SQLITE_FCNTL_SIZE_LIMIT file control to set a maximum size for an in-memory database, defaulting to SQLITE_MEMDB_DEFAULT_MAXSIZE or 1GiB. (2) Honor the SQLITE_DESERIALIZE_READONLY flag. (3) Enhance the TCL interface to support -maxsize N and -readonly BOOLEAN. (4) Add the --maxsize option to the ".open" command and on the command-line for the CLI. file: [25d36740] check-in: [30f08d58] user: drh branch: trunk, size: 18224
2018-09-12
01:05
Fix some harmless compiler warnings seen with MSVC. file: [cb4013d5] check-in: [78862252] user: mistachkin branch: trunk, size: 17359
2018-03-28
15:06
Minor comment changes. file: [e94c478a] check-in: [d282f064] user: drh branch: trunk, size: 17359
2018-03-08
19:56
Enable API armor handling for the new deserialize APIs. file: [2bcebf99] check-in: [0798c91a] user: mistachkin branch: trunk, size: 17357
2018-03-07
01:37
Mark an unreachable branch using NEVER(). file: [00ece105] check-in: [fadbc5e2] user: drh branch: memdb, size: 17041
2018-03-06
21:43
Improved documentation for sqlite3_serialize() and sqlite3_deserialize(). Change the name of the compile-time option to enable these interfaces from SQLITE_ENABLE_MEMDB to SQLITE_ENABLE_DESERIALIZE. file: [f5d49ef3] check-in: [f07e97ae] user: drh branch: memdb, size: 16838
20:54
Handle some boundary cases in memdb associated with OOM faults. file: [3f14ea29] check-in: [b58ca4cb] user: drh branch: memdb, size: 16826
19:14
Simplifications to the memdb VFS. file: [ffdca409] check-in: [6c3f723a] user: drh branch: memdb, size: 16894
04:01
Improvements to the memdb VFS. file: [a559d61e] check-in: [a14fed69] user: drh branch: memdb, size: 16188
2018-03-01
22:18
Allow the zSchema argument to sqlite3_serialize() to be NULL to mean the main database. file: [f01e30a2] check-in: [5b01b991] user: drh branch: memdb, size: 15874
2018-01-03
22:48
Miscellaneous code and comment cleanup. file: [d58bb51e] check-in: [fa6069fb] user: drh branch: memdb, size: 15812
19:03
Replace sqlite3_memdb_config() with sqlite3_deserialize(). Remove the "db memdb" command from the TCL interface, replacing it with "db serialize" and "db deserialize". file: [67c01e51] check-in: [2f6e9df9] user: drh branch: memdb, size: 16570
16:49
Replace the sqlite3_memdb_ptr() interface with the more general sqlite3_serialize() interface. file: [39dd9443] check-in: [8cf2ed4e] user: drh branch: memdb, size: 16192
13:20
Simplify the "sqlite3" command in the TCL interface. The filename is now optional. There is a new --memdb option with an argument that is the blob to which the database content should be initialized. file: [13c69aee] check-in: [47398ae7] user: drh branch: memdb, size: 14571
01:28
Add support for the "memdb" VFS and the sqlite3_memdb_ptr() and sqlite3_memdb_config() interfaces, to enable an SQLite database to be manipulated as an in-memory object. file: [46109bc6] check-in: [fb2ac2d2] user: drh branch: memdb, size: 14412 Added