drh
bfccdaf16e
Identify additional requirements in the sqlite3_vfs object documentation.
...
FossilOrigin-Name: 47064453c396d5204a851b8ec08d665e2b12228a
2010-09-01 19:29:57 +00:00
dan
06bfd36a2d
Add tests to quota.test.
...
FossilOrigin-Name: ec9af6ebd49505c4e5f90fb6450c71946cdc7291
2010-09-01 18:00:09 +00:00
dan
9fc7702c4f
Call quota callback destructors from within sqlite3_quota_shutdown().
...
FossilOrigin-Name: fb80c6f3de73ed832faaeb8c4d83e1354f132b39
2010-09-01 16:19:57 +00:00
drh
9237a258d0
Boundary value fix to the descriptive comment at the top of test_quota.c.
...
FossilOrigin-Name: 7f6072f0827e3aafd17f5f2bac9e3a3f8482e5f6
2010-09-01 15:26:18 +00:00
drh
6e19e91e84
Merge the test_quota.c module into the trunk.
...
FossilOrigin-Name: 2e1a02026a0635fe05ba55a6d4d36dd7fd0ae8e9
2010-09-01 15:22:56 +00:00
drh
3d3e60e481
Fix the TCL interface to test_quota.c so that it works with empty callback
...
scripts.
FossilOrigin-Name: 19e95f63359589766da673aac99d19a355a92678
2010-09-01 15:11:38 +00:00
drh
75c1917423
Variable name and comment changes to test_quota.c for clearer presentation.
...
FossilOrigin-Name: 38ed1992c800cb1d1ca67977d704df73d97c78d7
2010-09-01 14:58:10 +00:00
drh
61cc423aa3
Make all private routines in test_quota.c begin with "quota".
...
Fix a test_quota.c segfault when setting a zero-quota.
FossilOrigin-Name: c0d0fc3a1cca7ee28db8add745c71baf0545776c
2010-09-01 14:45:16 +00:00
drh
ef9659babd
Add the sqlite3_quota_dump test command. Add a destructor argument on
...
the sqlite3_quota_set() interface.
FossilOrigin-Name: 7a624b5ae2abff21bcbbb34af88d1c7656f3b729
2010-09-01 14:35:48 +00:00
drh
549dc1ba61
Clean up comments in the test_quota.c source file.
...
FossilOrigin-Name: c1eec7dba698e5bad0870cb80079203f0fb89514
2010-09-01 13:09:57 +00:00
drh
745de2e4aa
Update the quota shim so that when the same file is opened multiple times,
...
its size only counts against the quota once.
FossilOrigin-Name: f5d263803084107389c5541face8d536b62fffe3
2010-09-01 12:50:54 +00:00
drh
748a52cdcb
Add an assert() with an evidence mark to show that automatically
...
generated rowids are positive.
FossilOrigin-Name: 740adca34e7fd309f0f761b8cc8581a9b7890793
2010-09-01 11:50:08 +00:00
dan
8cf35eb449
Add file test_quota.c, demonstrating how file-system quotas may be implemented as a VFS wrapper.
...
FossilOrigin-Name: 383eb87bbf560b20682dd5be0e18ddadf762f415
2010-09-01 11:40:05 +00:00
shaneh
bd2aaf9ab1
Fix some compiler warnings under MSVC.
...
FossilOrigin-Name: afdc82a99eba260aed8ae2cca4bcec629f384098
2010-09-01 02:38:21 +00:00
shaneh
c4d340a096
Ensure randomly generated rowids never go negative.
...
FossilOrigin-Name: 631423677bd7043e99987edc633005443125181c
2010-09-01 02:37:56 +00:00
dan
c311feec55
Do not clear the internal "schema has changed" flag when performing a savepoint rollback. The schema changes may not have taken place within the savepoint being rolled back.
...
FossilOrigin-Name: c2a84430d3b6bb53b19af9294973575178290f93
2010-08-31 16:25:19 +00:00
dan
9977edc7c6
Changes to comments and type names in rtree.c.
...
FossilOrigin-Name: 7c4f80ad272138cd4ab30455fae6a36498362933
2010-08-31 15:54:21 +00:00
drh
3d3517ad3b
Fix a documentation typo reported on the mailing list.
...
FossilOrigin-Name: c9fe0a2392ba4ae53d1dfcb986a67beeeb33519f
2010-08-31 15:38:51 +00:00
drh
9f129f467e
Add evidence mark comments to source code. Add additional information to the
...
documentation of sqlite3_release_memory(). Fix a minor inefficiency in mem1.c
that was discovered while writing requirements tests.
FossilOrigin-Name: 53b0c03fd33d2d8141fd386de5493fec64456042
2010-08-31 15:27:32 +00:00
dan
18ec96b3a3
Add the "circle" test geometry callback to test_rtree.c. And tests for the same.
...
FossilOrigin-Name: 169b8ba4be9c3941c742eded80dbacdcd2465bc4
2010-08-31 15:02:00 +00:00
drh
8c96a6eac0
Remove unreachable branches to facilitate test coverage.
...
FossilOrigin-Name: 86bcb9aab901713684f978479d29304cc9699e84
2010-08-31 01:09:15 +00:00
drh
d4187c716c
Provide hints to the btree layer during the creation of transient tables
...
when it is possible for those tables to use a hash rather than a binary tree.
No use is current made of those hints, though assert() statement verify
their accuracy.
FossilOrigin-Name: 4fead8e714c7e50a9d246467e62bc846ef6180a0
2010-08-30 22:15:45 +00:00
dan
c223b8f1a8
When generating sqlite3.h, append the contents of sqlite3rtree.h.
...
FossilOrigin-Name: fc4d75370bad9021d01b76dbb1b8dde9ff223d2c
2010-08-30 18:39:49 +00:00
dan
ab4f076e7a
Fix a problem in pagerfault.test uncovered by the previous change.
...
FossilOrigin-Name: b6719ce32892a38b9b3dff07decdd6e94c01b3e2
2010-08-30 16:15:54 +00:00
dan
7bddb7550b
Add tests (and associated fixes) to restore coverage of rtree.c.
...
FossilOrigin-Name: b06f4695bdab244d9c764c082cd434a764dc5c29
2010-08-30 15:43:45 +00:00
drh
75c014c321
Remove the sqlite3BtreeFactor() wrapper routine. All modules now call
...
sqlite3BtreeOpen() directly.
FossilOrigin-Name: 0900e35348f4b9bf327d6ae2884c4ddbb6345d8d
2010-08-30 15:02:28 +00:00
dan
3b5a7a377c
Add file sqlite3rtree.h.
...
FossilOrigin-Name: e1d9ffce0f84469eeb926f50030cb772de98a652
2010-08-30 11:34:39 +00:00
drh
710c4841b0
Updates to comments on the VDBE opcodes.
...
FossilOrigin-Name: 49c05b4e08920797f3a5dd14c292e2275db61acb
2010-08-30 01:17:20 +00:00
dan
635a606160
Fix problem with func3.test.
...
FossilOrigin-Name: aec52959d047d7c7b280319a8c84dc009d2cbf91
2010-08-28 19:09:29 +00:00
dan
9508daa929
Add code to allow user-defined searches of r-tree tables. Still largely untested.
...
FossilOrigin-Name: 782ca3b716ee1ecb0dfb5ab6f21dfd73d41758e4
2010-08-28 18:58:00 +00:00
drh
7b19facf56
Make sqlite3_create_function() a special case of sqlite3_create_function_v2()
...
in order reduce the number of code paths and simplify testing.
FossilOrigin-Name: 4758d86d57aaafc058c98c8b485eae24e6547588
2010-08-27 18:44:54 +00:00
dan
d2199f0f8d
Add the sqlite3_create_function_v2() API, a version of create_function that allows a destructor to be specified.
...
FossilOrigin-Name: 9a724dfbe822c77e76721abe3443c9cb018bb2e2
2010-08-27 17:48:52 +00:00
drh
badc980afa
Refactor the implementation of the scratch memory allocator. Add the
...
SQLITE_TESTCTRL_SCRATCHMALLOC interface to facilitate testing.
FossilOrigin-Name: a3475ddfbe4526e6e0b334fd1376ee7c31508b80
2010-08-27 17:16:44 +00:00
drh
50d1b5f363
Remove unnecessary code from malloc.c. Enhance pcache1.c so that is tries
...
to reuse existing pages, rather than create new pages, when SQLite is under
memory pressure. "Memory pressure" means that SQLITE_CONFIG_PAGECACHE memory
is nearly exhausted or sqlite3_soft_heap_limit() has been reached.
FossilOrigin-Name: 51049479a8577e03cc353f71f6e13a10c8323d91
2010-08-27 12:21:06 +00:00
dan
48d9e01e36
Further tests for CAST in e_expr.test.
...
FossilOrigin-Name: 9616df8c47ababc2d148f0ab6286efa84bd990fb
2010-08-27 11:19:55 +00:00
dan
51f3a50556
Add tests for CAST expressions to e_expr.test. More to come.
...
FossilOrigin-Name: ba6119d1e9300de9ce7448cfa0acd579e8e69e41
2010-08-26 19:05:23 +00:00
drh
b652f43205
Add EXTERN macros before entry points in tclsqlite.c. This undoes the
...
change [b4d3e0d528c7d17fa3d05] on [2006-03-06 23:30:52].
FossilOrigin-Name: 8b2cf9d492901a65942d0e0b87c568d1539deece
2010-08-26 16:46:57 +00:00
dan
897230eb7a
Fix a couple of memory leaks in r-tree that can occur following an OOM condition.
...
FossilOrigin-Name: 1975a27cdec09e1dad4ca8281a87dd7754c02c3e
2010-08-26 14:15:37 +00:00
dan
c23454023e
Remove unreachable condition from rtree.c.
...
FossilOrigin-Name: 90f40cd36860d3af13ec24575dff7cc1f57ac493
2010-08-26 11:27:22 +00:00
dan
2bf19178f7
Improve coverage of rtree.c some more.
...
FossilOrigin-Name: bee1959dde19ebec20a7ffcb732aee0c8bb2e67d
2010-08-26 07:59:10 +00:00
shaneh
71fe25428e
Simplification of changes for SQLITE_OMIT_WAL support in pager.c.
...
FossilOrigin-Name: afb2484c64bf0cdec8240b9ecd0a794c44a63066
2010-08-26 05:23:37 +00:00
drh
1cca0d221d
Reinstate the "sqlite" alias for backwards compatibility (but leave
...
it undocumented) but remove the PackageProvide for "sqlite".
FossilOrigin-Name: 699cc6b48774be111f2e076cc1920ae79497dcea
2010-08-25 20:35:51 +00:00
drh
4c0f1649ac
Disable the legacy "sqlite" command in the TCL interface. Provide only
...
the "sqlite3" command.
FossilOrigin-Name: 909b3d8862aeae04611969f5fc27d32a82026767
2010-08-25 19:39:19 +00:00
dan
f836afd44a
Further test coverage improvements for rtree.c.
...
FossilOrigin-Name: 05f6c1aebbe757dd3b54fd027057b9db7ae3a990
2010-08-25 19:04:38 +00:00
dan
92e01aafe1
Test cases to improve coverage of rtree module. Fixes associated with the same.
...
FossilOrigin-Name: 865cec04e4d814f63fb71feb67de7f06f8d54035
2010-08-25 17:53:17 +00:00
shaneh
f7b5f855d7
Replicate asserts on unixOpen() to winOpen() in os_win.c.
...
FossilOrigin-Name: 40526d8390896ccb883c45afa70e7adb568d174f
2010-08-24 20:46:53 +00:00
shaneh
9091f775a8
Changes to support building with SQLITE_OMIT_WAL.
...
FossilOrigin-Name: d1ed743b6ed07ad0ee7d466932c5a83caa9489ee
2010-08-24 18:35:12 +00:00
drh
357b5f97be
Change sqlite3_open_v2() to return SQLITE_MISUSE if the combination of bits
...
in the flags parameter is invalid. The documentation says the behavior in
this situation is undefined - the documentation is unaltered by this code
change.
FossilOrigin-Name: 5e8101c5122336844ea920e6fbdace23e35b931f
2010-08-24 18:07:57 +00:00
drh
9d13f116af
Comment enhancements and typo fixes in pcache1.c.
...
FossilOrigin-Name: c2dc39c0c4673a39f5fe6e643acb3bcf4ca22265
2010-08-24 18:06:35 +00:00
dan
a235d0ca63
Fixes to allow fts3 tables to be renamed mid-transaction.
...
FossilOrigin-Name: d1c875320a045c3938c765ceb543dfba1a0ecf0b
2010-08-24 16:59:47 +00:00