/ File History
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

History of src/test_quota.c

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