Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
test6.c
065c0a6
Test app/script patches from Jan Nijtmans for cygwin. Add/replace many more 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.
by stephan
· 4 months ago
b6503f1
Cygwin-centric fixes from Jan Nijtmans.
by stephan
· 5 months ago
064b681
First attempt at getting the build to work with Tcl 9.0.
by drh
· 12 months ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
7093a3b
Fix some test code so that testfixture can build with SQLITE_OMIT_WAL defined.
by dan
· 4 years, 10 months ago
33447e7
Add a test for the outcome of a process crash within an xWrite VFS method call.
by dan
· 8 years ago
cb1b0a6
When saving the state of an RBU update in the incremental-checkpoint phase,
by dan
· 8 years ago
d742367
Further reforms to Tcl_*Alloc() usage.
by mistachkin
· 8 years ago
7617e4a
Make sure the SQLITE_TCLAPI macro is always defined.
by mistachkin
· 9 years ago
52b1dbb
Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention.
by mistachkin
· 9 years ago
fe91251
Fix an obscure problem with transactions written in "PRAGMA 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.
by dan
· 9 years ago
05accd2
Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script.
by dan
· 9 years ago
a5f4059
Add the SQLITE_FCNTL_SYNC and SQLITE_FCNTL_COMMIT_PHASETWO file-controls
by drh
· 12 years ago
1d8b85b
Have the crash-test infrastructure code in test6.c read and write the 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.
by dan
· 12 years ago
999cd08
Modify the way some internal file-controls are invoked. In order to support multi-file transactions in the zipvfs extension.
by dan
· 12 years ago
2744938
Fix harmless compiler warnings.
by mistachkin
· 12 years ago
a703f50
Fix an 8-byte alignment problem on the "crash test" harness (test code,
by drh
· 12 years ago
48864df
Many spelling fixes in comments. No changes to code.
by mistachkin
· 12 years ago
5f070c7
More warning fixes.
by mistachkin
· 13 years ago
e1b461b
Fix harmless compiler warnings.
by mistachkin
· 13 years ago
1e3e418
Add a test for the problem fixed by [bf44d73d3e].
by dan
· 13 years ago
ce5c42b
Change the way the tcl crash-test code works to avoid triggering an assert() in os_unix.c.
by dan
· 13 years ago
83cc139
Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in
by drh
· 13 years ago
7da5fcb
Fix MSVC compiler warnings in test code.
by drh
· 13 years ago
f8a7846
On Windows, make sure the current directory value used by the test suite is 'normalized' to what the parent command shell sees. Also, clean the test directories used by the quota2.test file.
by mistachkin
· 13 years ago
cb15f35
Change the name ZERO_DAMAGE to the more descriptive POWERSAFE_OVERWRITE.
by drh
· 14 years ago
statvfs
8bbaa89
Add SQLITE_IOCAP_ZERO_DAMAGE and enable it for both unix and windows. Use
by drh
· 14 years ago
422faae
Change the way the "crash" VFS (test6.c) handles SQLITE_FCNTL_SIZE_HINT.
by dan
· 14 years ago
67e10d1
Have the "crash" VFS used by the tcl tests (test6.c) handle 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.
by dan
· 14 years ago
e11fedc
Change the name of the xShmClose VFS method to xShmUnmap, everywhere.
by drh
· 15 years ago
da9fe0c
Changes so that the xShmOpen VFS method is no longer required. Its job can be done by the first call to xShmMap. Rename xShmClose to xShmUnmap.
by dan
· 15 years ago
ebffe41
Fix warning in test fixture code.
by shaneh
· 15 years ago
2667be5
Remove the unused xRename() method from the sqlite3_vfs object.
by drh
· 15 years ago
6b017cc
Move the xShmMap method to in between xShmLock and xShmBarrier, since it seems
by drh
· 15 years ago
1880191
Remove xShmGet/Size/Release from the sqlite3_vfs structure. Change the name of xShmPage to xShmMap. Remove some code that is now unused from os_unix.c and some of the test VFS implementations.
by dan
· 15 years ago
067f316
Add the xShmPage method to the "crash" vfs in test6.c.
by dan
· 15 years ago
73b64e4
Initial code for incremental checkpoint in WAL mode. This check-in compiles
by drh
· 15 years ago
286a288
Add a new xShmBarrier method to the VFS - a shared-memory fence operation.
by drh
· 15 years ago
5939f44
Mark the shared-memory in the WAL implementation as volatile.
by drh
· 15 years ago
d9e5c4f
Refactoring the VFS-SHM methods used by WAL. This version compiles and
by drh
· 15 years ago
4c846bb
Update the crash-test VFS in test6.c to pass-through the shared-memory
by drh
· 15 years ago
af75c86
Add the xShmRelease() method to the VFS. The os_unix.c implementation of
by drh
· 15 years ago
f2424c5
Begin moving WAL-specific I/O into the VFS. This checkin contains VFS
by drh
· 15 years ago
c81c11f
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
by drh
· 16 years ago
d6846d7
Fix the crashtest infrastructure so that it doesn't trigger the "don't write to the locking region" assert in os_unix.c. (CVS 6281)
by danielk1977
· 16 years ago
2d42c2b
Prevent code in test6.c from reading the 512 byte locking region (the PENDING_BYTE page) of a database file. Doing so triggers an assert failure in os_unix.c. (CVS 6276)
by danielk1977
· 16 years ago
a0fc729
Add a vfs backend that detects problems like the one addressed by (6043) and (6047). (CVS 6049)
by danielk1977
· 17 years ago
ec1724e
Fix compiler warnings in where.c and in the TCL test harness. (CVS 5994)
by drh
· 17 years ago
17b90b5
Remove the xGetTempname() method from the vfs structure. Temp files are now opened by passing a NULL pointer as the filename to xOpen(). (CVS 5190)
by danielk1977
· 17 years ago
861f745
Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188)
by danielk1977
· 17 years ago
822a516
Add more version tags to files that lack them. Ticket #3120. (CVS 5137)
by danielk1977
· 17 years ago
2fa1868
Add a new api sqlite3_randomness() for providing access to SQLite's
by drh
· 17 years ago
bf26097
Move the test (sqlite3_simulate_device) functionality out of the main code and into a test vfs. (CVS 4737)
by danielk1977
· 18 years ago
a98d7b4
Add a test (and fix) for possible corruption if malloc() fails during a CREATE INDEX statement, the application continues with the transaction, then crashes. (CVS 4725)
by danielk1977
· 18 years ago
a018dc7
Change to the crash simulator to give better diagnostics in case it
by drh
· 18 years ago
adfb9b0
Add a parameter to specify the size of the output buffer passed to xGetTempname() and xFullPathname(). This, and the previous commit, are changes to the public vfs API introduced in 3.5.0. (CVS 4433)
by danielk1977
· 18 years ago
76ee37f
Change the names of xGetTempName and sqlite3OsGetTempName to xGetTempname. To be consistent with xFullPathname and sqlite3OsFullPathname. (CVS 4432)
by danielk1977
· 18 years ago
ca0c897
Fix a problem handling a malloc() failure in printf.c. Also some other things to improve test coverage. (CVS 4361)
by danielk1977
· 18 years ago
95c8a54
Fix for registration of non-default vfs objects. (CVS 4360)
by danielk1977
· 18 years ago
9e33c2c
Remove the xLockState method for sqlite3_io_methods. Replace it with
by drh
· 18 years ago
cc6bb3e
Initial implementation of the sqlite3_file_control() interface.
by drh
· 18 years ago
0e87b70
Make the test_async backend work again. (CVS 4293)
by danielk1977
· 18 years ago
1cc8c44
Remove nRef and vfsMutex from the sqlite3_vfs structure. Omit the
by drh
· 18 years ago
f55b899
Add tests to simulate power-failure on devices that support IOCAP_SEQUENTIAL or IOCAP_SAFE_APPEND. (CVS 4284)
by danielk1977
· 18 years ago
153c62c
The win32 driver compiles but does not yet work well. Many bugs
by drh
· 18 years ago
f8940ae
Add some further tests and a bugfix for the atomic-write optimization. (CVS 4276)
by danielk1977
· 18 years ago
2ca0f86
Add some tests for the atomic-write optimization. (CVS 4275)
by danielk1977
· 18 years ago
4a50aac
Improvements to memory leak detection. The --backtrace=NNN option is now
by drh
· 18 years ago
f1da17a
Fix some problems in the crash-test backend. (CVS 4256)
by danielk1977
· 18 years ago
29278e3
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255)
by drh
· 18 years ago
d677b3d
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253)
by drh
· 18 years ago
967a4a1
Changes to crash-test io backend (test6.c) so that it works with the sqlite3_vfs interface. (CVS 4247)
by danielk1977
· 18 years ago
b4b4741
Begin migration to using sqlite3_vfs interface. (CVS 4240)
by danielk1977
· 18 years ago
1e53695
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233)
by danielk1977
· 18 years ago
1743575
Half-way through a major refactoring of the memory allocation.
by drh
· 18 years ago
6207906
Modify the crash-recovery test code in test6.c for 3.5. Also change some other code to use the new sqlite3_io_methods interface. Lots of things are broken now. (CVS 4228)
by danielk1977
· 18 years ago
0d24e6b
Add comments describing upcoming changes to crash-test module (test6.c). No code
by danielk1977
· 18 years ago
b472117
Add new OS file method to return the sector-size of the underlying storage: sqlite3OsSectorSize() (CVS 3700)
by danielk1977
· 18 years ago
59a33f9
Modifications to crash-test infrastructure. (CVS 3695)
by danielk1977
· 18 years ago
161fb79
General test coverage improvements. (CVS 3022)
by danielk1977
· 19 years ago
198bf39
Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878)
by drh
· 20 years ago
66560ad
Change the OS interface layer to use traditional direct function call
by drh
· 20 years ago
054889e
Restructure the OS interface yet again. This time make the OsFile object
by drh
· 20 years ago
1a23593
The crash tests now compile, at least. But they get wrong results. The
by drh
· 20 years ago
9cbe635
Make the OsFile structure opaque with its internal structure known only to
by drh
· 20 years ago
1883921
Add an OS method for making copies of file descriptors. This fixes the
by drh
· 20 years ago
9c06c95
Modify the OS layer so that I/O routines are called through a virtual function
by drh
· 20 years ago