aboutsummaryrefslogtreecommitdiff
path: root/src/test6.c
Commit message (Collapse)AuthorAge
* Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more ↵stephan2025-03-08
| | | | | sentinel arguments for TCL variadic functions which specifically need a NULL trailing argument. With this, 'make test' on cygwin runs to completion for me, with 134 of 329227 tests failing. MSC build fails the same 13 tests which fail for me in trunk. FossilOrigin-Name: 84d8fcfca19cd183d05a702d0eb1742bfae462d3383a3db72741a48cefac1058
* 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 some test code so that testfixture can build with SQLITE_OMIT_WAL defined.dan2020-10-02
| | | FossilOrigin-Name: dd009cd7aec3598e930806907601f4f0f9b0021ea99fa6c5e29e88f1246066ed
* Add a test for the outcome of a process crash within an xWrite VFS methoddan2017-07-22
| | | | | call. FossilOrigin-Name: eb8718006cb23ba9304da5c30d19863d688495f0eaae3794c5ad870e481866f8
* When saving the state of an RBU update in the incremental-checkpoint phase,dan2017-03-02
| | | | | | sync the database file. Otherwise, if a power failure occurs and the RBU update resumed following system recovery, the database may become corrupt. FossilOrigin-Name: edee6a80e1cc7e6a2b8c3c7f76dd794fc8ab9a72
* Further reforms to Tcl_*Alloc() usage.mistachkin2017-02-15
| | | FossilOrigin-Name: ee1e689633e517ce46307b9afbf1eda03482c928
* 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
* Fix an obscure problem with transactions written in "PRAGMA ↵dan2016-05-24
| | | | | synchronous=full" mode on systems that do not support POWERSAFE_OVERWRITE causing an xSync() call to be omitted if the last frame written by a transaction is aligned to a sector boundary. This means that if a power failure or OS crash occurs very soon after such a transaction is committed, it may be lost following system recovery. FossilOrigin-Name: 37de3eab67f12ae1ce5bc8d5e541c64fc6b1fd80
* Modify the permutations.test script so as to set any permutation specific ↵dan2016-04-27
| | | | | configuration values before running each individual test script. FossilOrigin-Name: 2662d8fef791f7b8b3b14f9c27dfedec84620dee
* Add the SQLITE_FCNTL_SYNC and SQLITE_FCNTL_COMMIT_PHASETWO file-controlsdrh2013-12-11
|\ | | | | | | | | | | and have the pager call them at appropriate times. This is needed in order to enable ZIPVFS to do multi-file atomic commits. FossilOrigin-Name: 552f94d50f08cf11f33205730fde52bc2f06cff6
| * Have the crash-test infrastructure code in test6.c read and write the ↵dan2013-12-11
| | | | | | | | | | 512-byte block containing the pending-byte lock as normal. Earlier versions did not access this part of the file in order to avoid triggering an assert in os_unix.c. But the assert() has since been removed. And not reading/writing this part of the file causes problems for multiplexor tests. FossilOrigin-Name: fdc3f3fa3de1481860e1e2a819db2d6c4eb05658
| * Modify the way some internal file-controls are invoked. In order to support ↵dan2013-12-09
|/ | | | | multi-file transactions in the zipvfs extension. FossilOrigin-Name: 32fb1784af4594161d954343e3787db702000a4d
* Fix harmless compiler warnings.mistachkin2013-10-31
| | | FossilOrigin-Name: 1a0a88657f54874703fc05f828ce29ad115d9f28
* Fix an 8-byte alignment problem on the "crash test" harness (test code,drh2013-10-15
| | | | | not in the core) that causes problems on Sparc. FossilOrigin-Name: bcbc65030fa7c61f94100142e94ba2a5774f85b0
* Many spelling fixes in comments. No changes to code.mistachkin2013-03-21
| | | FossilOrigin-Name: 6f6e2d50941e444ebc83604daddcc034137a05b7
* More warning fixes.mistachkin2012-10-18
| | | FossilOrigin-Name: 51a6a797e1d61c4361b87cdf3467bfd3ce161cc3
* Fix harmless compiler warnings.mistachkin2012-10-18
| | | FossilOrigin-Name: 018e09c70347b9e0c76246ae65d57ef5d29a965a
* Add a test for the problem fixed by [bf44d73d3e].dan2012-10-17
| | | FossilOrigin-Name: db9b1fa5973d79e29885817d5aedc3a886c2589a
* Change the way the tcl crash-test code works to avoid triggering an assert() ↵dan2012-10-17
| | | | | in os_unix.c. FossilOrigin-Name: b8b7b8f9e97a5c34f0f199b46347e0bf85005a4d
* 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 MSVC compiler warnings in test code.drh2012-03-30
| | | FossilOrigin-Name: cb7a850439c9a4a7887650d6b81d95ab8025de5b
* On Windows, make sure the current directory value used by the test suite is ↵mistachkin2012-03-08
| | | | | 'normalized' to what the parent command shell sees. Also, clean the test directories used by the quota2.test file. FossilOrigin-Name: 82bcd7ec1531f6d71c079578434c58d3ce46a1de
* Change the name ZERO_DAMAGE to the more descriptive POWERSAFE_OVERWRITE.drh2011-12-23
| | | | | The query parameter used to control this device characteristic is now "psow". FossilOrigin-Name: 6191c5e45175f5c6040e891843b0725a929d6dd7
* Add SQLITE_IOCAP_ZERO_DAMAGE and enable it for both unix and windows. Usedrh2011-12-17
| | | | | | | this device characteristic to reduce the required work in journaling. A side effect is that this changes the default page exists back to 1024 even with the use of statvfs(). FossilOrigin-Name: a0be6ea464695fdf1eaf2b7cf0652778617814f2
* Change the way the "crash" VFS (test6.c) handles SQLITE_FCNTL_SIZE_HINT.dan2011-08-23
| | | FossilOrigin-Name: 40dd8a60be0ca79e0d0bf3a2b5a43f13c02b4971
* Have the "crash" VFS used by the tcl tests (test6.c) handle ↵dan2011-08-23
| | | | | SQLITE_FCNTL_SIZE_HINT internally, instead of passing it directly through to the underlying VFS. This is important if the crash VFS is simulating non-default device characteristics such as SQLITE_DEVCAP_SEQUENTIAL or ATOMIC. FossilOrigin-Name: fac8bc8f3450a6ce74c9250acb0608e940ffb54d
* Change the name of the xShmClose VFS method to xShmUnmap, everywhere.drh2010-07-14
| | | FossilOrigin-Name: c2d27cf51d33e6f38bab37008d39074051f75274
* Changes so that the xShmOpen VFS method is no longer required. Its job can ↵dan2010-07-13
| | | | | be done by the first call to xShmMap. Rename xShmClose to xShmUnmap. FossilOrigin-Name: f4780bde62c6c19146d2723c101540b8db898d38
* Fix warning in test fixture code.shaneh2010-07-08
| | | FossilOrigin-Name: 0bfcf3bcd77acab48344dde87cecb01e877f1a19
* Remove the unused xRename() method from the sqlite3_vfs object.drh2010-07-03
| | | | | Add better documentation on the xCurrentTimeInt64() method. FossilOrigin-Name: 51ec0e5432dd6849b83a3d969a018482eb3bb083
* Move the xShmMap method to in between xShmLock and xShmBarrier, since it seemsdrh2010-06-14
| | | | | to fit in there logically. FossilOrigin-Name: 58dfd83d8b7905391e2a06bb918ffa209c6de6b5
* Remove xShmGet/Size/Release from the sqlite3_vfs structure. Change the name ↵dan2010-06-14
| | | | | of xShmPage to xShmMap. Remove some code that is now unused from os_unix.c and some of the test VFS implementations. FossilOrigin-Name: fc0cabc15c97dde6a852b4f07df6d30f1d2c04bc
* Add the xShmPage method to the "crash" vfs in test6.c.dan2010-06-14
| | | FossilOrigin-Name: 1008f536440840da7d56c01ec147a25295fd1fd4
* Initial code for incremental checkpoint in WAL mode. This check-in compilesdrh2010-05-30
| | | | | | | on unix and runs as long as you do not engage WAL mode. WAL mode crashes and burns. Consider this check-in a baseline implementation for getting the new capability up and running. FossilOrigin-Name: ef3ba7a17ff90674d702e5694b9e792851ab6998
* Add a new xShmBarrier method to the VFS - a shared-memory fence operation.drh2010-05-20
| | | | | | Implement the same in both unix and win32. Use it to make the WAL subsystem more robust. FossilOrigin-Name: 1bd011c9fed5ef29fb616b4d0a52df3b82221b1f
* Mark the shared-memory in the WAL implementation as volatile.drh2010-05-18
| | | FossilOrigin-Name: 0a6787908e989bd5e6af25acbdc59ebc8fa61d6d
* Refactoring the VFS-SHM methods used by WAL. This version compiles anddrh2010-05-12
| | | | | runs non-WAL test cases but crashes and burns on wal.test. FossilOrigin-Name: 2b00152c1ac0b3735aa6cfab61259ff04d81c701
* Update the crash-test VFS in test6.c to pass-through the shared-memorydrh2010-05-03
| | | | | methods to the real underlying VFS. This fixes the walcrash.test script. FossilOrigin-Name: ea09ff37911376505e8262ee9841224995b696f2
* Add the xShmRelease() method to the VFS. The os_unix.c implementation ofdrh2010-04-27
| | | | | the shared memory logic is still non-functional. FossilOrigin-Name: ed715b47c5f7657fbf901805981867898054b14d
* Begin moving WAL-specific I/O into the VFS. This checkin contains VFSdrh2010-04-26
| | | | | | infrastructure but it is untested and is not yet hooked up to the WAL. The version number is bumped to 3.7.0 because of the VFS extension. FossilOrigin-Name: f5e615c28c7035a7e6d896790b51cf9bc7371d5f
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* Fix the crashtest infrastructure so that it doesn't trigger the "don't write ↵danielk19772009-02-11
| | | | | to the locking region" assert in os_unix.c. (CVS 6281) FossilOrigin-Name: b7fd4615cd41179484bd44d2f4bd7aef04977911
* Prevent code in test6.c from reading the 512 byte locking region (the ↵danielk19772009-02-10
| | | | | PENDING_BYTE page) of a database file. Doing so triggers an assert failure in os_unix.c. (CVS 6276) FossilOrigin-Name: 2a6a43169220fab5a15a786e2a464b90cb893179
* Add a vfs backend that detects problems like the one addressed by (6043) and ↵danielk19772008-12-20
| | | | | (6047). (CVS 6049) FossilOrigin-Name: 49172e487610268662c39fc4038032779a41c47f
* Fix compiler warnings in where.c and in the TCL test harness. (CVS 5994)drh2008-12-09
| | | FossilOrigin-Name: 680755dbf01e20569b87068b1515b144903c566e
* Remove the xGetTempname() method from the vfs structure. Temp files are now ↵danielk19772008-06-06
| | | | | opened by passing a NULL pointer as the filename to xOpen(). (CVS 5190) FossilOrigin-Name: 5173b3e816c7eb711cd21a9068bbafb9ebb7cff1
* Modify the signatures of the sqlite3_vfs.xAccess and ↵danielk19772008-06-05
| | | | | sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) FossilOrigin-Name: 4226ac54beea1b58de8ab7b9d768d999f50438a6