SQLite

All files named ”src/test_syscall.c”
Login

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

History for src/test_syscall.c

2025-03-31
14:12
[39117e85ee] part of check-in [6552bfb70a] Feature-complete. Not all test-cases pass. Merge trunk. (check-in: [6552bfb70a] user: jan.nijtmans branch: cygwin-fixes, size: 21248)
2025-03-06
13:38
[c5bf039261] part of check-in [205979813c] Cygwin-centric fixes from Jan Nijtmans. (check-in: [205979813c] user: stephan branch: cygwin-fixes, size: 21224)
2024-07-30
15:49
[9ad7ab3991] part of check-in [6e5bb48a74] First attempt at getting the build to work with Tcl 9.0. (check-in: [6e5bb48a74] user: drh branch: tcl9, size: 21218)
2023-04-21
15:37
[9fdb13b1df] part of check-in [7809e7ce6a] Change the return type of the ts_read/write() family of functions from int to ssize_t, per report in forum post 947169d5e7. (check-in: [7809e7ce6a] user: stephan branch: trunk, size: 21269)
2016-07-28
17:11
[1073306ba2] part of check-in [f2f1323cc4] Make sure the SQLITE_TCLAPI macro is always defined and use it for all callback functions that must interface with the Tcl C API. (check-in: [f2f1323cc4] user: mistachkin branch: callbackConv, size: 21222)
14:37
[8313aa5d43] part of check-in [e8be3dfeab] Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. (check-in: [e8be3dfeab] user: mistachkin branch: callbackConv, size: 21082)
2016-04-27
18:54
[268c072541] part of check-in [2662d8fef7] Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script. (check-in: [2662d8fef7] user: dan branch: permutations-fix, size: 21007)
2016-04-18
13:09
[4889d374f5] part of check-in [3a7d72986f] The last parameter to pread64() and pwrite64() should be off64_t, not off_t. (check-in: [3a7d72986f] user: drh branch: trunk, size: 20800)
2014-03-20
09:42
[2e21ca7f7d] part of check-in [e3d2be3ba4] Add a test to ensure os_unix.c works with 64KiB OS pages. (check-in: [e3d2be3ba4] user: dan branch: shm-mapping-fix, size: 20522)
2013-05-17
16:41
[16dbe79fb3] part of check-in [0f355bb17f] In test file test_syscall.c, include sqliteInt.h before any tcl or system include files. This ensures that the magical defines in sqliteInt.h really do enable large file support (and set things up so that sizeof(off_t)==8). (check-in: [0f355bb17f] user: dan branch: trunk, size: 19259)
2013-04-29
03:09
[437abc86e3] part of check-in [05ba5e23fc] More refinements to Windows OSTRACE usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. (check-in: [05ba5e23fc] user: mistachkin branch: winOsTrace, size: 19259)
2013-04-02
12:04
[7e8293e4e6] part of check-in [3098a3c1e7] Add test cases for errors in mmap() or mremap() is os_unix.c. (check-in: [3098a3c1e7] user: dan branch: experimental-mmap, size: 19272)
2013-03-25
19:05
[fe018f9504] part of check-in [6ec7367d8e] Add a test that simulates an error in mmap(). (check-in: [6ec7367d8e] user: dan branch: experimental-mmap, size: 18817)
2011-08-19
14:54
[a992d8c80e] part of check-in [21452f3ae6] When retrying a write() after an EINTR error on unix, be sure to also rerun the previous lseek(). Ticket [e59bdf6116036a] (check-in: [21452f3ae6] user: drh branch: trunk, size: 18345)
2011-04-04
21:48
[162c4ec013] part of check-in [78b6eee200] Changes for consistent use of SQLITE_OS_UNIX and removal of legacy OS_UNIX from testfixture source; (check-in: [78b6eee200] user: shaneh branch: trunk, size: 18282)
14:03
[10ced09d6e] part of check-in [fda8fadd83] Have test_syscall.c include "sqliteInt.h". Otherwise the SQLITE_OS_UNIX symbol may not be defined correctly. (check-in: [fda8fadd83] user: dan branch: trunk, size: 18285)
2011-04-02
17:00
[34ce1be806] part of check-in [3b91eaaa0b] Avoid returning SQLITE_NOTFOUND when the unix xSetSystemCall interface is invoked with NULL passed as the second argument, even if all the default system calls are already installed. (check-in: [3b91eaaa0b] user: dan branch: trunk, size: 18262)
2011-04-01
16:50
[61bb146841] part of check-in [81ddbf4336] When simulating an error in the close() system call, close the file descriptor anyway. Otherwise long running tests leak too many file-descriptors and crash. (check-in: [81ddbf4336] user: dan branch: trunk, size: 17867)
2011-03-30
19:08
[349a2b913e] part of check-in [a84f771194] Further tests for os_unix.c. (check-in: [a84f771194] user: dan branch: trunk, size: 17511)
2011-03-29
18:28
[d12e8cd163] part of check-in [3d2de01181] Add tests to syscall.test and sysfault.test. (check-in: [3d2de01181] user: dan branch: trunk, size: 17225)
15:40
[bbdc88d0a5] part of check-in [dbe569a099] Fix a problem whereby following an IO error in CommitPhaseTwo() of a multi-file transaction the b-tree layer could be left in TRANS_WRITE state, causing problems later on. (check-in: [dbe569a099] user: dan branch: trunk, size: 17155)
10:04
[b2b3aef993] part of check-in [bc6cce8156] Fix a problem in the unix VFS implementation of xNextSystemCall(). Also some typos that prevent compilation when HAVE_POSIX_FALLOCATE is defined. (check-in: [bc6cce8156] user: dan branch: trunk, size: 17094)
2011-03-28
19:10
Added: [0f5131994a] part of check-in [0e1d20dfae] Add test infrastructure (and some tests) to inject faults into os_unix.c using the new xSetSystemCall interface. (check-in: [0e1d20dfae] user: dan branch: trunk, size: 14177)