/ File History
Login

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

History of src/test_multiplex.c

2016-10-27
14:51
Remove the mutex from test_multiplex.c. file: [e054459f] check-in: [6374978e] user: dan branch: trunk, size: 44603
2016-08-01
14:35
Avoid making unnecessary changes to the signatures of the sqlite3_auto_extension() and sqlite3_cancel_auto_extension() interfaces. file: [7c5b218d] check-in: [b6ea2f21] user: drh branch: trunk, size: 48412
2016-07-28
22:23
Make the extension auto-loading mechanism work with the __stdcall calling convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in. file: [371d3874] check-in: [3ea567c4] user: mistachkin branch: callbackConv, size: 48397
17:11
Make sure the SQLITE_TCLAPI macro is always defined and use it for all callback functions that must interface with the Tcl C API. file: [af2792ec] check-in: [f2f1323c] user: mistachkin branch: callbackConv, size: 48404
14:37
Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. file: [a0bcea72] check-in: [e8be3dfe] user: mistachkin branch: callbackConv, size: 48289
2016-04-12
20:05
More harmless compiler warning fixes. file: [eafc567e] check-in: [ab69527c] user: mistachkin branch: warnings, size: 48214
2016-03-28
11:01
Fix the multiplexor so that it does not assume that the xGetLastError method is non-NULL in the child VFS. file: [6a9de820] check-in: [f6a88ccc] user: drh branch: trunk, size: 48184
2015-12-03
11:51
Improve concurrency in test_multiplex.c. Add a switch to "threadtest3" allowing it to run using the multiplexor VFS. file: [6a088d8d] check-in: [9d2c62b0] user: dan branch: trunk, size: 48111
2015-04-29
16:50
Use sqlite3_malloc64() in place of sqlite3_malloc() internally. file: [9fefd23f] check-in: [48f553b0] user: drh branch: trunk, size: 48116
2015-04-19
21:43
Fix harmless compiler warnings seen with MSVC 2015. file: [4dfb159e] check-in: [d05becd8] user: mistachkin branch: vsix2015, size: 48106
2015-03-12
19:12
Disable multiplexing of master-journal files in the test_multiplex.c module. file: [97813565] check-in: [b8684df3] user: dan branch: trunk, size: 48089
2015-03-06
04:37
Clearification of some documentation text. Added requirements marks. file: [61edf025] check-in: [8c1e85aa] user: drh branch: trunk, size: 47993
2015-01-12
19:59
Silence some harmless uninitialized local variable warnings. file: [72c0ad1e] check-in: [44375a34] user: mistachkin branch: msvcW4, size: 47279
19:49
Harmless compiler warning fixes for 'testfixture' and the miscellaneous extensions when built with the MSVC makefile. file: [0ac6d919] check-in: [923fd660] user: mistachkin branch: msvcW4, size: 47275
2014-09-23
18:30
Add the "multiplex_truncate" PRAGMA to the multiplexor extension, for querying and setting the truncate flag on a database connection. file: [caadb62c] check-in: [d2962a5f] user: drh branch: trunk, size: 47260
2014-07-30
15:43
Add the "eForce" parameter to the sqlite3_multiplex_shutdown() entry point in test_multiplex.c. Shutdown is forced if true. Shutdown is not done if there are pending database connections and eForce is false, but an error log entry is made instead. file: [ca900574] check-in: [c7303d01] user: drh branch: trunk, size: 46530
2013-11-08
17:03
Merge the Cygwin directory separator fix. Also fix a C++-ism in the multiplexor code so that it will compile on MSVC. file: [9f304bf0] check-in: [830629d3] user: drh branch: trunk, size: 46221
2013-10-21
13:15
Drop the mutex on the multiplexor before entering the xRead VFS call. file: [6f63947c] check-in: [a00d2ed4] user: drh branch: multiplex-parallel-read, size: 46205
2013-04-29
03:09
More refinements to Windows OSTRACE usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. file: [5d691eeb] check-in: [05ba5e23] user: mistachkin branch: winOsTrace, size: 46009
2013-03-21
21:20
Many spelling fixes in comments. No changes to code. file: [0decc630] check-in: [6f6e2d50] user: mistachkin branch: trunk, size: 46033
2012-08-20
16:08
Silence harmless compiler warnings in the test code. file: [ac0fbc17] check-in: [7653973a] user: drh branch: trunk, size: 46033
2012-04-19
18:04
Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in tclsqlite.c and in the FTS4 module. file: [66dcfca0] check-in: [3281972e] user: drh branch: trunk, size: 46025
2012-04-04
13:58
Fix the multiplexor logging so that it works with SQLITE_ENABLE_8_3_NAMES. file: [3dffd0fe] check-in: [9e1e2fe2] user: drh branch: trunk, size: 46020
13:51
Fix the multiplexor logging so that it works with SQLITE_ENABLE_8_3_NAMES. file: [42967fea] check-in: [627eff32] user: drh branch: nx-devkit, size: 44649
13:47
In the multiplexor extension, improve the error logging when a chunk fails to open. file: [7fce6176] check-in: [e6806f0d] user: drh branch: nx-devkit, size: 44641
13:43
In the multiplexor extension, improve the error logging when a chunk fails to open. file: [151f66e7] check-in: [781453c6] user: drh branch: trunk, size: 46012
2012-03-30
14:59
Fix MSVC compiler warnings in test code. file: [30ca0348] check-in: [cb7a8504] user: drh branch: trunk, size: 45682
2012-02-28
11:52
Fix a case where an error code was being overwritten in multiplexDelete(). file: [0404a61d] check-in: [c267893a] user: dan branch: trunk, size: 45672
2012-02-27
14:28
Fix the xDelete implementation of the multiplexor VFS so that it correctly deletes overflow WAL files. file: [0b3111a8] check-in: [e44e2677] user: drh branch: trunk, size: 45619
2012-02-24
16:13
Separate multiplexor overflow pages for -wal and -journal files into separate namespaces when in 8+3 filename mode. file: [87fcd0b6] check-in: [d6850667] user: drh branch: trunk, size: 45226
15:57
Fix the multiplexor so that it works with WAL mode and 8+3 filenames. file: [31fb992a] check-in: [a9fcb46b] user: drh branch: trunk, size: 44947
2012-01-14
00:42
In the multiplexor routine that determines the size of an overflow file, return 0 and leave the error code unchanges if there were prior errors. This prevents some I/O errors from going unreported in nx-devkit tests. file: [afab2c9d] check-in: [6da0821a] user: drh branch: trunk, size: 44929
2012-01-10
23:18
Only require double-zero terminators on database filenames, not any every files supplied to the xOpen method. This backs out [2544f233f1]. Also refactor the fillInUnixFile() routine in os_unix.c to reduce the number of parameters. file: [67c210e2] check-in: [cb774b26] user: drh branch: trunk, size: 44907
2012-01-09
14:57
Cherry-pick the fix to surplus overflow files in the multiplexor, check-in [1238619756c0c] in the trunk. file: [8e8a4211] check-in: [2f8c62c3] user: drh branch: nx-devkit, size: 44311
13:41
Make sure the multiplexor does not create unnecessary overflow files. file: [6415713a] check-in: [12386197] user: drh branch: trunk, size: 44845
11:37
Have test_multiplex.c add a second nul-terminator byte to the strings that it passes to the xOpen method of the underlying VFS, in case that VFS passes the string to sqlite3_uri_parameter() or similar. file: [5dc22dbe] check-in: [12f5b8c9] user: dan branch: trunk, size: 44903
2011-12-30
10:54
Minor changes to fix compilation with SQLITE_OMIT_WAL and SQLITE_OMIT_WSD defined. file: [2bf2eb36] check-in: [26a513a8] user: dan branch: trunk, size: 44031
2011-12-23
00:07
Add interfaces sqlite3_uri_boolean() and sqlite3_uri_int64() which are wrappers around sqlite3_uri_parameter() combined with internal routines for converting strings to booleans and 64-bit integers. file: [7a41891c] check-in: [83d26b9a] user: drh branch: trunk, size: 43951
2011-12-16
05:50
Tweaks to the way multiplexSubOpen() works, for backwards compatibility. file: [6e07b94e] check-in: [bb403388] user: drh branch: nx-devkit, size: 44369
05:09
Fix a potential infinite loop (inserted by the previous check-in) on the multiplexWrite() method of the multiplexor. file: [ccc5f2fe] check-in: [022bf427] user: drh branch: nx-devkit, size: 44327
04:57
The xTruncate method for the multiplexor now changes surplus overflow files to zero-length by default. Or if the "truncate" query parameter is used, it actually deletes the surplus overflow files. This allows VACUUM to shrink the database again. file: [993f930c] check-in: [5aefef04] user: drh branch: nx-devkit, size: 44330
2011-12-15
17:00
When deleting a file with the multiplexor VFS, also delete any overflow files that exist. file: [c87d2728] check-in: [3af1feaa] user: dan branch: nx-devkit, size: 43135
13:29
Make sure the chunksize in test_multiplex does not cause the pending byte to fall near the end of a chunk. Adjust the chunksize upward as necessary to prevent this. file: [7b65eea8] check-in: [e05f8a29] user: drh branch: nx-devkit, size: 40737
11:45
Fix some problems with dropped error codes in multiplexOpen(). file: [7e8d8303] check-in: [2d50f781] user: dan branch: nx-devkit, size: 40260
02:22
In the multiplexor, do not try to delete overflow files that do not exist. And assume all but the last overflow file is the size of the chunk size. file: [cee2474e] check-in: [a822a80d] user: drh branch: nx-devkit, size: 40193
2011-12-14
17:53
Add a file-control that will discover the name of the bottom-level VFS and all the shims in between. file: [80677a47] check-in: [cdbfb553] user: drh branch: vfsname-filectrl, size: 40119
01:38
Improvements to comments. No code changes. file: [a61af1bd] check-in: [08bbbd8e] user: drh branch: nx-devkit, size: 39979
2011-12-13
19:03
Add a hard limit to the number of chunks a multiplexed database may consist of if ENABLE_8_3_NAMES is defined. file: [10f881e4] check-in: [43a12640] user: dan branch: nx-devkit, size: 39934
18:22
Change the SQLITE_EXTRA_INIT routine to take a single argument which is a pointer to a string. Call SQLITE_EXTRA_INIT with a NULL argument. Fixes to multiplexor to treat the VFS properly in corner cases. Fix the initialization of multiplex3.test. file: [c8cfaa7f] check-in: [8e65b913] user: drh branch: nx-devkit, size: 39519
12:10
This branch merged with nx-devkit and from there into trunk. Was: In the multiplexor, instead of generating a unique file-name when SQLite opens a temp file, allow the underlying VFS to generate a different temp file for each chunk. Given the changes to the xFileSize method, it is no longer necessary for the different chunks of a temp file to use the same base name. file: [10aaf8b7] check-in: [199f52bc] user: dan branch: experimental, size: 39475
11:15
Change the way IO errors are handled in the xFileSize method of the multiplexor VFS. Add test file multiplex3.test. file: [ce0148e7] check-in: [255d2149] user: dan branch: experimental, size: 41804
02:41
When the multiplexor FileSize procedure fails to open the file, assume that the file is zero bytes in size. file: [56f837b9] check-in: [dc8118cd] user: drh branch: nx-devkit, size: 41992
2011-12-12
18:55
Change the multiplexor VFS so that xTruncate is a no-op on database files. file: [7dcf429b] check-in: [ee1e0122] user: dan branch: trunk, size: 41894
18:21
Fix for the xFileSize method of test_multiplex.c when used on a file opened with the DELETEONCLOSE flag set. file: [affbe08d] check-in: [713071c4] user: dan branch: trunk, size: 41847
2011-12-11
22:44
In the multiplexor shim, when using 8+3 filenames, begin numbering journal overflow files with 101 instead of 001 to avoid name collisions with the main database file. file: [1bd9d080] check-in: [05bf8a0b] user: drh branch: trunk, size: 41682
2011-11-18
13:10
Change the multiplexor to use a 3-digit suffix. file: [185378ca] check-in: [0b7edc44] user: drh branch: trunk, size: 41334
2011-11-16
17:32
Change the multiplexor suffix from 2 to 3 digits. file: [6a65dd50] check-in: [06e0cdaf] user: drh branch: 3-digit-multiplex-suffix, size: 41224
2011-08-15
19:44
Updated comments on the multiplexor extension. No changes to code. file: [3fc36802] check-in: [0f42ef69] user: drh branch: trunk, size: 41774
2011-07-23
13:11
In the multiplexor, close auxiliary files before deleting them when doing a truncate. file: [731fb740] check-in: [6fb7cfc2] user: drh branch: trunk, size: 41442
2011-07-21
20:59
All multiplexor chunk sizes up to 4GiB. Disable the multiplexor if the chunk size is set to 0. file: [991a6073] check-in: [83191ad6] user: drh branch: trunk, size: 41442
2011-07-20
17:59
For an existing multiplexed database, try to set the chunk size automatically based on the sizes of the preexisting pieces. file: [7f5b2ec6] check-in: [427a9a51] user: drh branch: trunk, size: 41294
16:35
When the multiplexor opens an auxiliary file, it now persists the name of that file until it is closed, as it should. Remove the limit on the number of auxiliary files used by the multiplexor. file: [282f315f] check-in: [1ffa542b] user: drh branch: trunk, size: 40494
2011-07-19
18:29
Formatting changes on the multiplexor code - make sure no lines exceed 80 characters. No logical changes. file: [d1b43de1] check-in: [ed5f0aad] user: drh branch: trunk, size: 42887
2011-07-08
17:02
Change the default chunk size on test_multiplex.c to 2147418112 bytes (formerly 1073741824 bytes) and make the default configurable at compile-time using SQLITE_MULTIPLEX_CHUNK_SIZE and at run-time using the "chunksize" URI query parameter. Add support fo test_multiplex to the shell. file: [0585bb12] check-in: [e305b5a9] user: drh branch: trunk, size: 42464
2011-05-23
18:37
Minor cleanups to the header comments on various test_*.c file, to make the suitable for programmer-level documentation. file: [a7457a1a] check-in: [a65d043a] user: drh branch: trunk, size: 42108
2011-05-18
03:02
Make sure the multiplexor shim uses a full pathname for temp file that it creates. file: [8e67617b] check-in: [186d7ff1] user: drh branch: trunk, size: 40936
02:22
Update multiplex VFS to handle empty filenames which can occur for during vacuuming (temp file names.) file: [c71f0a0c] check-in: [a0749860] user: shaneh branch: trunk, size: 40732
2011-04-01
14:22
Removed dependency on sqliteInt.h so that multiplex VFS shim can be compiled as loadable module. file: [fdabd793] check-in: [718f1ad7] user: shaneh branch: multiplex-enhancements, size: 38388
2011-03-31
15:11
Enable/disable support. file: [c0d9450b] check-in: [b3c6d9aa] user: shaneh branch: multiplex-enhancements, size: 37496
13:14
Add tests and fixes for SELECT multiplex_control(op, val); file: [07dff880] check-in: [fee9734c] user: shaneh branch: multiplex-enhancements, size: 36217
05:31
Additional test cases; Round chunk size up to a multiple of max page size; file: [6edf785c] check-in: [36e364a3] user: shaneh branch: multiplex-enhancements, size: 36091
2011-03-30
21:03
Updates to multiplex.test script; misc. bug fixes; file: [aa5da1f2] check-in: [c41ff235] user: shaneh branch: multiplex-enhancements, size: 35286
2011-03-29
05:06
In-progress changes - do not use; Removed prefix support; Added file control interface to enable/disable and adjust chunk size; added app-def function for same; file: [234f4b37] check-in: [bc02d0c1] user: shaneh branch: multiplex-enhancements, size: 35237
2011-03-15
04:45
Allow multiplex file names to be preceeded by prefix of the form ":multiplex:chunksize:maxchunks:" Still work to be done, though it compiles and prefixes are ignored. file: [cf011418] check-in: [cfa4a2f7] user: shaneh branch: multiplex-enhancements, size: 34776
2011-02-09
19:55
Make sure code *compiles* with each OMIT and ENABLE option. Mostly changes to test modules. file: [655cb3b6] check-in: [7cc515ed] user: shaneh branch: trunk, size: 32700
2010-12-01
23:42
Changed multiplex shim's xFilesize to return an error on mismatched chunk size. Added test of same. file: [5990431a] check-in: [6818c6e4] user: shaneh branch: trunk, size: 32245
2010-11-12
15:49
Change the test_multiplex.c code to use wrapper functions for all sqlite3_vfs methods (instead of copying function pointers from the underlying vfs into the multiplex vfs). This is required to work with test_osinst.c. file: [a324e1fb] check-in: [1244ef9f] user: dan branch: trunk, size: 32203
2010-11-08
19:16
Changes to the multiplex VFS to optionally (compiler define) allow the "chunk extension" to overwrite the right-most chars of the filename instead of simply being appended. file: [5c2b53d6] check-in: [07da0a0b] user: shaneh branch: trunk, size: 30122
2010-11-05
20:50
Fix to xTruncate and more journal mode tests for the multiplex VFS. file: [479a51f7] check-in: [65fa1164] user: shaneh branch: trunk, size: 27966
17:51
More tests and added support for xDelete in multiplex VFS. file: [83eb652f] check-in: [f2004b44] user: shaneh branch: trunk, size: 27826
03:58
Additional error checking and tests for multiplex VFS. file: [197ff9d3] check-in: [1ab9a592] user: shaneh branch: trunk, size: 26572
03:43
Additional tests and commenting for the multiplex VFS. file: [8103a0ae] check-in: [8ed944ba] user: shaneh branch: trunk, size: 26651
2010-11-04
20:50
First attempt at a sharding VFS to split large DBs. file: [be9c1445] check-in: [dd4dc8a4] user: shaneh branch: experimental, size: 27184 Added