aboutsummaryrefslogtreecommitdiff
path: root/src/test_multiplex.c
Commit message (Collapse)AuthorAge
* Cygwin-centric fixes from Jan Nijtmans.stephan2025-03-06
| | | FossilOrigin-Name: 205979813c7300debb5f1ba270583ef2f08e069d6d01865b5910702889a5c1ed
* First attempt at getting the build to work with Tcl 9.0.drh2024-07-30
| | | FossilOrigin-Name: 6e5bb48a74d63fb8c30528f0005d1763cd2dbb882abf86baf1565721e6bfcf84
* Add a C-source spell-checking facility. make misspell (on Nix)larrybr2023-06-07
| | | FossilOrigin-Name: 26c1bb4bd9e9f56613c3aa87407a7f562fd4ebde5bfd6dece02078001d9a45f8
* Fix harmless compiler warnings.drh2022-11-01
| | | FossilOrigin-Name: de829770aa0f59b4cd3ab1dc5eec90be82663dca3199c2cf6d97f4c41ce9f799
* Add pragmas "multiplex_enabled", "multiplex_chunksize", and ↵drh2021-10-29
| | | | | "multiplex_filecount" to the multiplexer implementation. FossilOrigin-Name: 39c5e80dbf94ac3079b3e0c2c3e6608ac366e3f3de3cea4f4947addc3f52bc36
* Fix other potentiall pointer aliasing problems associated with subclassingdrh2020-07-24
| | | | | of the sqlite3_file object for various VFS implementations. FossilOrigin-Name: 270ac1a0f232d75537be40abae559004e950b992cb2c7e94cd6de66e96ae17bd
* Refactoring various names. No changes in the resulting machine code.drh2020-06-19
| | | FossilOrigin-Name: 7bb08b1bfcf184e4b59c8c9028926a0052612ff6a6731914ccdb8dee07ea4a98
* Add the new sqlite3_create_filename() and sqlite3_free_filename() interfacesdrh2020-02-18
| | | | | for use by Shims. Use these interfaces inside the multiplexor. FossilOrigin-Name: 9469f36ac89e4b75d0ab25fefbeff25201992c53141da915dcaa017083cab6db
* Fix a 4 byte OOB read in test_multiplex.c.dan2020-01-28
| | | FossilOrigin-Name: 912148913c11d98e48119a2c1fa7a0e52f318af36e7e2491d968ffde286c949f
* Remove the mutex from test_multiplex.c.dan2016-10-27
| | | FossilOrigin-Name: 6374978e8f1ac091394a9f5a1896be92af658bcd
* Avoid making unnecessary changes to the signatures of thedrh2016-08-01
| | | | | sqlite3_auto_extension() and sqlite3_cancel_auto_extension() interfaces. FossilOrigin-Name: b6ea2f21f602031ef4dbd47462ac11b0bb0d5de6
* Make the extension auto-loading mechanism work with the __stdcall calling ↵mistachkin2016-07-28
| | | | | convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in. FossilOrigin-Name: 3ea567c4b07b2a7a027b9b5cb8250ab687803698
* Make sure the SQLITE_TCLAPI macro is always defined.mistachkin2016-07-28
| | | FossilOrigin-Name: f2f1323cc4d2ad2d6794dbfae8d50b747213e85d
* Allow the 'testfixture.exe' target to be compiled with the __stdcall calling ↵mistachkin2016-07-28
| | | | | convention. FossilOrigin-Name: e8be3dfeabaa31b3490793cf8230faae1204be15
* More harmless compiler warning fixes.mistachkin2016-04-12
| | | FossilOrigin-Name: ab69527c1608da0b668f3b49e967661dd99cc3d4
* Fix the multiplexor so that it does not assume that the xGetLastError methoddrh2016-03-28
| | | | | is non-NULL in the child VFS. FossilOrigin-Name: f6a88cccbc0c62a0b453f4711298c9d5e1882b18
* Improve concurrency in test_multiplex.c. Add a switch to "threadtest3" ↵dan2015-12-03
| | | | | allowing it to run using the multiplexor VFS. FossilOrigin-Name: 9d2c62b04e3a9ac5d9adea2aac7ec3f3bc3e88bd
* Use sqlite3_malloc64() in place of sqlite3_malloc() internally.drh2015-04-29
| | | FossilOrigin-Name: 48f553b05c05373c0af4b9c3a542979db3a2ee19
* Fix harmless compiler warnings seen with MSVC 2015.mistachkin2015-04-19
| | | FossilOrigin-Name: d05becd873a03a366843a34e7f4c732dd8f88c86
* Disable multiplexing of master-journal files in the test_multiplex.c module.dan2015-03-12
| | | FossilOrigin-Name: b8684df395b5585a9428417c2bfd076515560f19
* Clearification of some documentation text. Added requirements marks.drh2015-03-06
| | | FossilOrigin-Name: 8c1e85aab9e0d90726057e25e2ea0663341c070f
* Silence some harmless uninitialized local variable warnings.mistachkin2015-01-12
| | | FossilOrigin-Name: 44375a34e59d1b0f0d765a99dcc7e6f30a4be7f7
* Harmless compiler warning fixes for 'testfixture' and the miscellaneous ↵mistachkin2015-01-12
| | | | | extensions when built with the MSVC makefile. FossilOrigin-Name: 923fd66031ed1876bc63c3a038f0b8e33678184e
* Add the "multiplex_truncate" PRAGMA to the multiplexor extension, fordrh2014-09-23
| | | | | querying and setting the truncate flag on a database connection. FossilOrigin-Name: d2962a5f388f30a02429e0c8b87399f482b5604c
* Add the "eForce" parameter to the sqlite3_multiplex_shutdown() entry pointdrh2014-07-30
| | | | | | | 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. FossilOrigin-Name: c7303d0139f7e7f4fa7060b52942e6c6c6d4b622
* Merge the Cygwin directory separator fix. Also fix a C++-ism in thedrh2013-11-08
|\ | | | | | | | | multiplexor code so that it will compile on MSVC. FossilOrigin-Name: 830629d31d171155d90ff87ae8e70094d17bb2d3
* | Drop the mutex on the multiplexor before entering the xRead VFS call.drh2013-10-21
|/ | | FossilOrigin-Name: a00d2ed49c9f53263cd76ad41dad9e35e646ebb5
* More refinements to Windows OSTRACE usage. Replace all usage of ↵mistachkin2013-04-29
| | | | | sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. FossilOrigin-Name: 05ba5e23fcc5da416d47a8ad5e667ed6a0c7a34a
* Many spelling fixes in comments. No changes to code.mistachkin2013-03-21
| | | FossilOrigin-Name: 6f6e2d50941e444ebc83604daddcc034137a05b7
* Silence harmless compiler warnings in the test code.drh2012-08-20
| | | FossilOrigin-Name: 7653973a525638b5e5e70ea8459f64e1a88befca
* Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also indrh2012-04-19
| | | | | tclsqlite.c and in the FTS4 module. FossilOrigin-Name: 3281972eaa46cb57fd9f0387063f47430dc0a3b4
* Fix the multiplexor logging so that it works with SQLITE_ENABLE_8_3_NAMES.drh2012-04-04
| | | FossilOrigin-Name: 9e1e2fe2950bb96784413eae934314d95bce08e7
* In the multiplexor extension, improve the error logging when a chunk failsdrh2012-04-04
| | | | | to open. FossilOrigin-Name: 781453c686656a7bd4a274a3b3204ceb6ecae8df
* Fix MSVC compiler warnings in test code.drh2012-03-30
| | | FossilOrigin-Name: cb7a850439c9a4a7887650d6b81d95ab8025de5b
* Fix a case where an error code was being overwritten in multiplexDelete().dan2012-02-28
| | | FossilOrigin-Name: c267893a0813beb1764071409025e178318e1ca3
* Fix the xDelete implementation of the multiplexor VFS so that it correctlydrh2012-02-27
| | | | | deletes overflow WAL files. FossilOrigin-Name: e44e26771e5aa48f3bfa14d6db3e669b5b2a1e73
* Separate multiplexor overflow pages for -wal and -journal files intodrh2012-02-24
| | | | | separate namespaces when in 8+3 filename mode. FossilOrigin-Name: d6850667ea61172ea0ebea4a22b6b306f74775fa
* Fix the multiplexor so that it works with WAL mode and 8+3 filenames.drh2012-02-24
| | | FossilOrigin-Name: a9fcb46bc08c29aebaf3bc999f45846c3c320f68
* In the multiplexor routine that determines the size of an overflow file,drh2012-01-14
| | | | | | 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. FossilOrigin-Name: 6da0821a4717253221b25fb22e05cd9c13492f3d
* Only require double-zero terminators on database filenames, not any everydrh2012-01-10
| | | | | | | 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. FossilOrigin-Name: cb774b26e13745cfad0d76a71e47466d703e0007
* Make sure the multiplexor does not create unnecessary overflow files.drh2012-01-09
| | | FossilOrigin-Name: 1238619756c0c26e43d3c1c873cbdeca22ce9d61
* Have test_multiplex.c add a second nul-terminator byte to the strings that ↵dan2012-01-09
| | | | | it passes to the xOpen method of the underlying VFS, in case that VFS passes the string to sqlite3_uri_parameter() or similar. FossilOrigin-Name: 12f5b8c9c9a15bd9e6aabdc708d4e869ff918e76
* Minor changes to fix compilation with SQLITE_OMIT_WAL and SQLITE_OMIT_WSD ↵dan2011-12-30
| | | | | defined. FossilOrigin-Name: 26a513a8d2dddfde82f5fd0a0e1cc186c9b0df94
* Add interfaces sqlite3_uri_boolean() and sqlite3_uri_int64() which aredrh2011-12-23
| | | | | | wrappers around sqlite3_uri_parameter() combined with internal routines for converting strings to booleans and 64-bit integers. FossilOrigin-Name: 83d26b9a9115eadac9e59a33d608bca0ab2519e3
* Tweaks to the way multiplexSubOpen() works, for backwards compatibility.drh2011-12-16
| | | FossilOrigin-Name: bb40338887c912be70cb6fe3b760d87c14bb88a5
* Fix a potential infinite loop (inserted by the previous check-in)drh2011-12-16
| | | | | on the multiplexWrite() method of the multiplexor. FossilOrigin-Name: 022bf427c2edfe494ec7c222f436953ff56574a6
* The xTruncate method for the multiplexor now changes surplus overflowdrh2011-12-16
| | | | | | | 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. FossilOrigin-Name: 5aefef04d6cc3b734c3f05e036b3869a52248f4d
* When deleting a file with the multiplexor VFS, also delete any overflow ↵dan2011-12-15
| | | | | files that exist. FossilOrigin-Name: 3af1feaa35d3fb2e7be550cd32a727001b874938
* Make sure the chunksize in test_multiplex does not cause the pending bytedrh2011-12-15
| | | | | | to fall near the end of a chunk. Adjust the chunksize upward as necessary to prevent this. FossilOrigin-Name: e05f8a2998f4f4cbdb65702baa65893c538b3d38
* Fix some problems with dropped error codes in multiplexOpen().dan2011-12-15
| | | FossilOrigin-Name: 2d50f78188e3297e8cefdf73cff51fa0a3b36e65