SQLite

All files named ”test/memdb1.test”
Login

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

History for test/memdb1.test

2024-07-30
17:09
[c737ac9aa5] part of check-in [e0d9670dd9] Get rid of "-encoding binary" across all test cases, as that is no longer supported in Tcl9. Use "-translation binary" instead. (check-in: [e0d9670dd9] user: drh branch: tcl9, size: 6791)
2024-03-06
21:06
[155fac4fb0] part of check-in [a44752806f] Fix a minor test file locking issue on Windows. (check-in: [a44752806f] user: mistachkin branch: branch-3.45, size: 6794)
2024-02-04
04:18
[2fb27d5dad] part of check-in [6cd70b71df] Fix a minor test file locking issue on Windows. (check-in: [6cd70b71df] user: mistachkin branch: trunk, size: 6808)
2024-01-20
18:21
[cd6b6b1632] part of check-in [bb2b7a658e] Fix a memory leak in new memdb1.test test cases that were added by [e638d5e408ea2e18]. No changes to SQLite itself. (check-in: [bb2b7a658e] user: drh branch: trunk, size: 6807)
16:29
[bef8623da0] part of check-in [e638d5e408] Rig sqlite3_serialize() so that it will initialize a previously uninitialized database prior to serializing it, so that it does not have a zero-byte size and does not return NULL (except for OOM). Forum thread 498777780e16880a. (check-in: [e638d5e408] user: drh branch: trunk, size: 6793)
2021-11-22
16:50
[2c4e9cc10d] part of check-in [0f13c0d9fd] Omit wal mode tests in memdb1.test for builds and configurations that do not support wal mode. (check-in: [0f13c0d9fd] user: dan branch: trunk, size: 6546)
16:27
[6abe1eb18d] part of check-in [eff4187c50] Fix a typo in memdb1.test preventing tests from passing with -DSQLITE_DEFAULT_AUTOVACUUM=1 builds. (check-in: [eff4187c50] user: dan branch: trunk, size: 6458)
2021-11-08
15:46
[ddc9ca6528] part of check-in [b1e2929860] Fix an assert() in memdbTruncate() that could fail when processing a corrupt database. (check-in: [b1e2929860] user: dan branch: trunk, size: 6457)
2021-07-20
02:02
[1705e850e3] part of check-in [18068cc606] It does not work to deserialized into TEMP, so do not allow it. The sqlite3_deserialize() routine now returns SQLITE_ERROR if you try. (check-in: [18068cc606] user: drh branch: trunk, size: 5697)
2021-04-05
13:41
[7b76c3262d] part of check-in [d91450847a] Do not invoke the xDelete method when converting to PRAGMA journal_mode=OFF if the underlying VFS does not support that method. dbsqlfuzz 39d6af88ef5242f866c4f9b21ede330c5c1e36a8. (check-in: [d91450847a] user: drh branch: trunk, size: 5243)
2019-04-12
12:10
[58d92c2bf6] part of check-in [56b664185e] Fix minor problems in tcl test scripts. (check-in: [56b664185e] user: dan branch: trunk, size: 4930)
2019-03-13
11:40
[86fe8f259c] part of check-in [4e1b005e8b] When deserializing a database (sqlite3_deserialize()), do not attempt to parse the schema before the data is loaded. (check-in: [4e1b005e8b] user: dan branch: trunk, size: 4883)
2019-01-22
16:06
[0632e6ea56] part of check-in [30f08d5888] 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. (check-in: [30f08d5888] user: drh branch: trunk, size: 4519)
2018-03-29
11:02
[61aa1dbdee] part of check-in [d67f1c7d18] Update memdb1.test so that it works with SQLITE_DEFAULT_AUTOVACUUM builds. (check-in: [d67f1c7d18] user: dan branch: trunk, size: 3987)
2018-03-06
21:43
[fbe47f36c1] part of check-in [f07e97aed4] 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. (check-in: [f07e97aed4] user: drh branch: memdb, size: 3959)
2018-01-03
23:40
[526252d466] part of check-in [e0da2cc382] New test cases and fixes for minor problems. (check-in: [e0da2cc382] user: drh branch: memdb, size: 3953)
19:03
[6ae9f9fe51] part of check-in [2f6e9df9f0] Replace sqlite3_memdb_config() with sqlite3_deserialize(). Remove the "db memdb" command from the TCL interface, replacing it with "db serialize" and "db deserialize". (check-in: [2f6e9df9f0] user: drh branch: memdb, size: 1390)
16:49
[062cdf3b7d] part of check-in [8cf2ed4eff] Replace the sqlite3_memdb_ptr() interface with the more general sqlite3_serialize() interface. (check-in: [8cf2ed4eff] user: drh branch: memdb, size: 1382)
13:20
[1d94a4bf15] part of check-in [47398ae772] 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. (check-in: [47398ae772] user: drh branch: memdb, size: 1361)
01:28
Added: [3d8ebffdc6] part of check-in [fb2ac2d2fa] 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. (check-in: [fb2ac2d2fa] user: drh branch: memdb, size: 1386)