Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for src/test_quota.c
2025-03-06
| ||
13:38 | [180e874372] part of check-in [205979813c] Cygwin-centric fixes from Jan Nijtmans. (check-in: [205979813c] user: stephan branch: cygwin-fixes, size: 58129) | |
2024-12-02
| ||
20:48 | [744552848d] part of check-in [baf43e8c7d] Fix a problem with SQLITE_OS_WINRT builds. (check-in: [baf43e8c7d] user: dan branch: win32-enable-setlk, size: 58291) | |
2024-07-30
| ||
15:49 | [07369655d2] 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: 58234) | |
2020-07-29
| ||
16:18 | [ea44c05f29] part of check-in [a80ae2c98b] Dozens and dozens of typo fixes in comments. This change adds no value to the end product and is disruptive, so it is questionable whether or not it will ever land on trunk. (check-in: [a80ae2c98b] user: drh branch: typos, size: 58362) | |
2016-07-28
| ||
17:11 | [6cb9297115] 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: 58362) | |
14:37 | [7c2bb6d302] 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: 58043) | |
2015-01-12
| ||
19:59 | [180813f436] part of check-in [44375a34e5] Silence some harmless uninitialized local variable warnings. (check-in: [44375a34e5] user: mistachkin branch: msvcW4, size: 57968) | |
2013-11-26
| ||
01:00 | [65f6348fec] part of check-in [540f552516] Further work on Windows header file reform. (check-in: [540f552516] user: mistachkin branch: winHdr, size: 57964) | |
2013-04-29
| ||
03:09 | [30c64f0ef8] 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: 58941) | |
2013-03-01
| ||
01:07 | [1ec82e02fd] part of check-in [d73435587b] Always use strncmp() rather than memcmp() when comparing strings where one or other string might be less than the length parameter, since optimized versions of memcmp() might read past the first difference and in so doing generate an access violation. (check-in: [d73435587b] user: drh branch: trunk, size: 58971) | |
2012-11-06
| ||
18:41 | [0e0e2e3bf6] part of check-in [6b4979e86c] In test_quota.c, provide a work-around for the missing _chsize_s() function in mingw. (check-in: [6b4979e86c] user: drh branch: trunk, size: 58970) | |
2012-09-29
| ||
14:45 | [e5fdb7d28e] part of check-in [fd74d3d917] Fix compiler warnings found on Lion. (check-in: [fd74d3d917] user: drh branch: trunk, size: 58725) | |
2012-06-21
| ||
13:00 | [8ab295092c] part of check-in [ff828c67e5] Remove support for OS/2 from the source tree. (check-in: [ff828c67e5] user: drh branch: trunk, size: 58728) | |
2012-06-05
| ||
13:56 | [0af3e1e9a1] part of check-in [61669c9585] Add sqlite3_quota_ferror() and sqlite3_quota_file_available() interfaces to test_quota.c. Change sqlite3_quota_fwrite() to use a const input buffer. (check-in: [61669c9585] user: drh branch: trunk, size: 59091) | |
2012-05-21
| ||
12:25 | [47cb7b6061] part of check-in [fda1ea0bee] Move some #defines earlier in the file for test_quota.c in order to avoid a use before definition. (check-in: [fda1ea0bee] user: drh branch: trunk, size: 57389) | |
2012-04-19
| ||
18:04 | [9d6be9cd3b] part of check-in [3281972eaa] Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in tclsqlite.c and in the FTS4 module. (check-in: [3281972eaa] user: drh branch: trunk, size: 57389) | |
2012-04-10
| ||
17:53 | [2ab468f581] part of check-in [2fa9f54309] Add new interfaces to the test_quota.c module: sqlite3_quota_ftruncate(), sqlite3_quota_file_size(), sqlite3_quota_file_truesize(), and sqlite3_quota_file_mtime(). (check-in: [2fa9f54309] user: drh branch: trunk, size: 57339) | |
2012-03-30
| ||
14:59 | [a545115f83] part of check-in [cb7a850439] Fix MSVC compiler warnings in test code. (check-in: [cb7a850439] user: drh branch: trunk, size: 52647) | |
2012-01-11
| ||
11:20 | [b4a6519417] part of check-in [3013f9a67c] Fix the sqlite3_quota_file() function in test_quota.c so that it adds the second nul-terminator to all file names that will be passed to a VFS xOpen method. (check-in: [3013f9a67c] user: dan branch: trunk, size: 52637) | |
2011-12-15
| ||
17:42 | [1a5874e3ee] part of check-in [e85cfe9a17] Use _commit() rather than FlushFileBuffers() as a substitute for fsync() on windows. Also cast for C++ and add support for SQLITE_FCNTL_VFSNAME. (check-in: [e85cfe9a17] user: drh branch: quota-stdio, size: 52513) | |
2011-12-14
| ||
17:53 | [ec7d105693] part of check-in [cdbfb553af] Add a file-control that will discover the name of the bottom-level VFS and all the shims in between. (check-in: [cdbfb553af] user: drh branch: vfsname-filectrl, size: 35956) | |
00:04 | [2552dfd897] part of check-in [1cda511deb] Harden the utf8-to-mbcs converter in the quota module against failures. (check-in: [1cda511deb] user: drh branch: quota-stdio, size: 52323) | |
2011-12-13
| ||
23:26 | [fc7d4c4f85] part of check-in [92f4188f90] Enhancements to test_quota.c: Remove the external dependency on sqlite3_win32_utf8_to_msbc(). Add an extra parameter to quota_fflush() that will also do an fsync (or the equivalent). (check-in: [92f4188f90] user: drh branch: quota-stdio, size: 52280) | |
2011-12-12
| ||
19:47 | [5259eaa0c9] part of check-in [f4534bd302] Make sure the quota logic is usable as C++. (check-in: [f4534bd302] user: drh branch: quota-stdio, size: 51124) | |
2011-12-03
| ||
00:13 | [2e6191cbfc] part of check-in [abcb65af4c] Add the sqlite3_quota_fflush() interface. Enhance sqlite3_quota_remove() so that it can remove entire directories. (check-in: [abcb65af4c] user: drh branch: quota-stdio, size: 51038) | |
2011-12-01
| ||
22:07 | [38c23c0fcb] part of check-in [253dd7072e] Progress toward getting things to work better on windows. (check-in: [253dd7072e] user: drh branch: quota-stdio, size: 48703) | |
20:48 | [ed68398661] part of check-in [a4730586cc] Add test logic and some test cases. (check-in: [a4730586cc] user: drh branch: quota-stdio, size: 47709) | |
18:44 | [f3ed8e130f] part of check-in [bd3ce723f1] Add stdio-like I/O interfaces to the test_quota VFS. This is a prototype change for discussion and is mostly untested. This is an alternative to adding stdio-like I/O interfaces in the core. There is no guarantee that this code will make it into the trunk. If it does get to trunk, there could be many changes to the interface first. (check-in: [bd3ce723f1] user: drh branch: quota-stdio, size: 39964) | |
2011-08-25
| ||
03:38 | [a391c86621] part of check-in [ddb8d3e80d] Fix an file separator character issue with test_quota.c that was causing it to fail on windows. (check-in: [ddb8d3e80d] user: drh branch: trunk, size: 35822) | |
01:42 | [8cba4d8eb7] part of check-in [2b7fe8e5b7] Add the sqlite3_quota_file() interface to test_quota.c. (check-in: [2b7fe8e5b7] user: drh branch: trunk, size: 35802) | |
2011-08-24
| ||
01:25 | [e3a72c73ba] part of check-in [04111ce980] Changes to test_quota.c to make quota groups persistent even after files are closed. Files remain a part of the quota group until they are deleted. (check-in: [04111ce980] user: drh branch: trunk, size: 34056) | |
2011-06-15
| ||
17:04 | [cc4f67e125] part of check-in [0df061b055] Add a couple of pointer type casts to test file test_quota.c. (check-in: [0df061b055] user: dan branch: trunk, size: 31356) | |
2011-01-24
| ||
20:18 | [b5576f17d7] part of check-in [b70bcccaf5] Modify the test_quote.c demonstration shim so that it works when SQLITE_THREADSAFE=0 is defined. (check-in: [b70bcccaf5] user: drh branch: trunk, size: 31329) | |
2010-09-01
| ||
18:00 | [6d32dd5885] part of check-in [ec9af6ebd4] Add tests to quota.test. (check-in: [ec9af6ebd4] user: dan branch: trunk, size: 30890) | |
16:19 | [6afa78d864] part of check-in [fb80c6f3de] Call quota callback destructors from within sqlite3_quota_shutdown(). (check-in: [fb80c6f3de] user: dan branch: trunk, size: 30768) | |
15:26 | [4b0c51fc84] part of check-in [7f6072f082] Boundary value fix to the descriptive comment at the top of test_quota.c. (check-in: [7f6072f082] user: drh branch: trunk, size: 30556) | |
15:22 | [91cacc8c0d] part of check-in [2e1a02026a] Merge the test_quota.c module into the trunk. (check-in: [2e1a02026a] user: drh branch: trunk, size: 30568) | |
15:11 | [875292fc8a] part of check-in [19e95f6335] Fix the TCL interface to test_quota.c so that it works with empty callback scripts. (check-in: [19e95f6335] user: drh branch: experimental, size: 30553) | |
14:58 | [303e689718] part of check-in [38ed1992c8] Variable name and comment changes to test_quota.c for clearer presentation. (check-in: [38ed1992c8] user: drh branch: experimental, size: 30532) | |
14:45 | [8c28bb3f66] part of check-in [c0d0fc3a1c] Make all private routines in test_quota.c begin with "quota". Fix a test_quota.c segfault when setting a zero-quota. (check-in: [c0d0fc3a1c] user: drh branch: experimental, size: 30411) | |
14:35 | [92015bbb78] part of check-in [7a624b5ae2] Add the sqlite3_quota_dump test command. Add a destructor argument on the sqlite3_quota_set() interface. (check-in: [7a624b5ae2] user: drh branch: experimental, size: 30326) | |
13:09 | [e542d96d5e] part of check-in [c1eec7dba6] Clean up comments in the test_quota.c source file. (check-in: [c1eec7dba6] user: drh branch: experimental, size: 28558) | |
12:50 | [3bd9629e4b] part of check-in [f5d2638030] Update the quota shim so that when the same file is opened multiple times, its size only counts against the quota once. (check-in: [f5d2638030] user: drh branch: experimental, size: 27803) | |
11:50 | Added: [b5e4ca20c1] part of check-in [740adca34e] Add an assert() with an evidence mark to show that automatically generated rowids are positive. (check-in: [740adca34e] user: drh branch: trunk, size: 20504) | |
11:40 | Added: [43b7e1b2be] part of check-in [383eb87bbf] Add file test_quota.c, demonstrating how file-system quotas may be implemented as a VFS wrapper. (check-in: [383eb87bbf] user: dan branch: experimental, size: 26045) | |