/ History for src/test_quota.c
Login

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

History for src/test_quota.c

2020-07-29
16:18
[ea44c05f] part of check-in [a80ae2c9] 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: [a80ae2c9] user: drh branch: typos, size: 58362)
2016-07-28
17:11
[6cb92971] part of check-in [f2f1323c] 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: [f2f1323c] user: mistachkin branch: callbackConv, size: 58362)
14:37
[7c2bb6d3] part of check-in [e8be3dfe] Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention. (check-in: [e8be3dfe] user: mistachkin branch: callbackConv, size: 58043)
2015-01-12
19:59
[180813f4] part of check-in [44375a34] Silence some harmless uninitialized local variable warnings. (check-in: [44375a34] user: mistachkin branch: msvcW4, size: 57968)
2013-11-26
01:00
[65f6348f] part of check-in [540f5525] Further work on Windows header file reform. (check-in: [540f5525] user: mistachkin branch: winHdr, size: 57964)
2013-04-29
03:09
[30c64f0e] part of check-in [05ba5e23] More refinements to Windows OSTRACE usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes. (check-in: [05ba5e23] user: mistachkin branch: winOsTrace, size: 58941)
2013-03-01
01:07
[1ec82e02] part of check-in [d7343558] 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: [d7343558] user: drh branch: trunk, size: 58971)
2012-11-06
18:41
[0e0e2e3b] part of check-in [6b4979e8] In test_quota.c, provide a work-around for the missing _chsize_s() function in mingw. (check-in: [6b4979e8] user: drh branch: trunk, size: 58970)
2012-09-29
14:45
[e5fdb7d2] part of check-in [fd74d3d9] Fix compiler warnings found on Lion. (check-in: [fd74d3d9] user: drh branch: trunk, size: 58725)
2012-06-21
13:00
[8ab29509] part of check-in [ff828c67] Remove support for OS/2 from the source tree. (check-in: [ff828c67] user: drh branch: trunk, size: 58728)
2012-06-05
13:56
[0af3e1e9] part of check-in [61669c95] 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: [61669c95] user: drh branch: trunk, size: 59091)
2012-05-21
12:25
[47cb7b60] part of check-in [fda1ea0b] Move some #defines earlier in the file for test_quota.c in order to avoid a use before definition. (check-in: [fda1ea0b] user: drh branch: trunk, size: 57389)
2012-04-19
18:04
[9d6be9cd] part of check-in [3281972e] Fix harmless compiler warnings on x64 MSVC, mostly in test code, but also in tclsqlite.c and in the FTS4 module. (check-in: [3281972e] user: drh branch: trunk, size: 57389)
2012-04-10
17:53
[2ab468f5] part of check-in [2fa9f543] 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: [2fa9f543] user: drh branch: trunk, size: 57339)
2012-03-30
14:59
[a545115f] part of check-in [cb7a8504] Fix MSVC compiler warnings in test code. (check-in: [cb7a8504] user: drh branch: trunk, size: 52647)
2012-01-11
11:20
[b4a65194] part of check-in [3013f9a6] 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: [3013f9a6] user: dan branch: trunk, size: 52637)
2011-12-15
17:42
[1a5874e3] part of check-in [e85cfe9a] 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: [e85cfe9a] user: drh branch: quota-stdio, size: 52513)
2011-12-14
17:53
[ec7d1056] part of check-in [cdbfb553] Add a file-control that will discover the name of the bottom-level VFS and all the shims in between. (check-in: [cdbfb553] user: drh branch: vfsname-filectrl, size: 35956)
00:04
[2552dfd8] part of check-in [1cda511d] Harden the utf8-to-mbcs converter in the quota module against failures. (check-in: [1cda511d] user: drh branch: quota-stdio, size: 52323)
2011-12-13
23:26
[fc7d4c4f] part of check-in [92f4188f] 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: [92f4188f] user: drh branch: quota-stdio, size: 52280)
2011-12-12
19:47
[5259eaa0] part of check-in [f4534bd3] Make sure the quota logic is usable as C++. (check-in: [f4534bd3] user: drh branch: quota-stdio, size: 51124)
2011-12-03
00:13
[2e6191cb] part of check-in [abcb65af] Add the sqlite3_quota_fflush() interface. Enhance sqlite3_quota_remove() so that it can remove entire directories. (check-in: [abcb65af] user: drh branch: quota-stdio, size: 51038)
2011-12-01
22:07
[38c23c0f] part of check-in [253dd707] Progress toward getting things to work better on windows. (check-in: [253dd707] user: drh branch: quota-stdio, size: 48703)
20:48
[ed683986] part of check-in [a4730586] Add test logic and some test cases. (check-in: [a4730586] user: drh branch: quota-stdio, size: 47709)
18:44
[f3ed8e13] part of check-in [bd3ce723] 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: [bd3ce723] user: drh branch: quota-stdio, size: 39964)
2011-08-25
03:38
[a391c866] part of check-in [ddb8d3e8] Fix an file separator character issue with test_quota.c that was causing it to fail on windows. (check-in: [ddb8d3e8] user: drh branch: trunk, size: 35822)
01:42
[8cba4d8e] part of check-in [2b7fe8e5] Add the sqlite3_quota_file() interface to test_quota.c. (check-in: [2b7fe8e5] user: drh branch: trunk, size: 35802)
2011-08-24
01:25
[e3a72c73] part of check-in [04111ce9] 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: [04111ce9] user: drh branch: trunk, size: 34056)
2011-06-15
17:04
[cc4f67e1] part of check-in [0df061b0] Add a couple of pointer type casts to test file test_quota.c. (check-in: [0df061b0] user: dan branch: trunk, size: 31356)
2011-01-24
20:18
[b5576f17] part of check-in [b70bccca] Modify the test_quote.c demonstration shim so that it works when SQLITE_THREADSAFE=0 is defined. (check-in: [b70bccca] user: drh branch: trunk, size: 31329)
2010-09-01
18:00
[6d32dd58] part of check-in [ec9af6eb] Add tests to quota.test. (check-in: [ec9af6eb] user: dan branch: trunk, size: 30890)
16:19
[6afa78d8] part of check-in [fb80c6f3] Call quota callback destructors from within sqlite3_quota_shutdown(). (check-in: [fb80c6f3] user: dan branch: trunk, size: 30768)
15:26
[4b0c51fc] part of check-in [7f6072f0] Boundary value fix to the descriptive comment at the top of test_quota.c. (check-in: [7f6072f0] user: drh branch: trunk, size: 30556)
15:22
[91cacc8c] part of check-in [2e1a0202] Merge the test_quota.c module into the trunk. (check-in: [2e1a0202] user: drh branch: trunk, size: 30568)
15:11
[875292fc] part of check-in [19e95f63] Fix the TCL interface to test_quota.c so that it works with empty callback scripts. (check-in: [19e95f63] user: drh branch: experimental, size: 30553)
14:58
[303e6897] part of check-in [38ed1992] Variable name and comment changes to test_quota.c for clearer presentation. (check-in: [38ed1992] user: drh branch: experimental, size: 30532)
14:45
[8c28bb3f] part of check-in [c0d0fc3a] Make all private routines in test_quota.c begin with "quota". Fix a test_quota.c segfault when setting a zero-quota. (check-in: [c0d0fc3a] user: drh branch: experimental, size: 30411)
14:35
[92015bbb] part of check-in [7a624b5a] Add the sqlite3_quota_dump test command. Add a destructor argument on the sqlite3_quota_set() interface. (check-in: [7a624b5a] user: drh branch: experimental, size: 30326)
13:09
[e542d96d] part of check-in [c1eec7db] Clean up comments in the test_quota.c source file. (check-in: [c1eec7db] user: drh branch: experimental, size: 28558)
12:50
[3bd9629e] part of check-in [f5d26380] Update the quota shim so that when the same file is opened multiple times, its size only counts against the quota once. (check-in: [f5d26380] user: drh branch: experimental, size: 27803)
11:50
[b5e4ca20] part of check-in [740adca3] Add an assert() with an evidence mark to show that automatically generated rowids are positive. (check-in: [740adca3] user: drh branch: trunk, size: 20504) Added
11:40
[43b7e1b2] part of check-in [383eb87b] Add file test_quota.c, demonstrating how file-system quotas may be implemented as a VFS wrapper. (check-in: [383eb87b] user: dan branch: experimental, size: 26045) Added