SQLite

Timeline
Login

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

107 check-ins using file test/mallocB.test version 56fd615f

2007-09-03
15:42
Test script fixes to get things running under varying configurations. No changes to code. (CVS 4378) (check-in: 340a6d09 user: drh tags: trunk)
15:26
Remove the last traces of SQLITE_ENABLE_REDEF_IO. (CVS 4377) (check-in: 38dff76d user: drh tags: trunk)
15:19
Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some test cases added but more are needed. Ticket #2616. (CVS 4376) (check-in: 020a2b10 user: drh tags: trunk)
15:03
Fix a problem in hash.c when replacing entries in tables configured with copyKey==0. (CVS 4375) (check-in: a19d3a73 user: danielk1977 tags: trunk)
13:06
Improvements to the xRandomness() method on the default windows VFS. Ticket #2615. (CVS 4374) (check-in: 91b50f31 user: drh tags: trunk)
12:34
Document the fact that xRandomness is only called once from the default VFS. Ticket #2614. (CVS 4373) (check-in: e89d4131 user: drh tags: trunk)
11:51
Add a module-destructor to the echo module (test8.c) to improve code coverage. (CVS 4372) (check-in: e3dd3651 user: danielk1977 tags: trunk)
11:04
Handle transient malloc() failures in sqlite3CreateFunc(). (CVS 4371) (check-in: c0ce6319 user: danielk1977 tags: trunk)
07:31
Fixes to test code so that the test suite passes without SQLITE_MEMDEBUG defined. (CVS 4370) (check-in: ed2a2e01 user: danielk1977 tags: trunk)
2007-09-02
17:52
The sqlite3_vfs_register() interface now calls sqlite3_vfs_find(0) to make sure the VFS subsystem is initialized. Ticket #2611. (CVS 4369) (check-in: 4a9999a3 user: drh tags: trunk)
17:50
Fix function name typo in mem1.c. This bug managed to make it into the tree because the code in mem1.c is only compiled when the -DSQLITE_MEMDEBUG compile-time option is omitted. But pre-checkin tests usually include this option. Ticket #2612. (CVS 4368) (check-in: 59e02db2 user: drh tags: trunk)
2007-09-01
18:24
Fix a bug in jrnlTruncate(). And other coverage improvements. (CVS 4367) (check-in: 02b751fb user: danielk1977 tags: trunk)
18:17
Comment changes in sqlite.h.in in order to generate better capi3ref.html documentation. (CVS 4366) (check-in: 28047459 user: drh tags: trunk)
17:00
Remove code for calling the SQL function randstr() with 0 or 1 argument, as it is registered with sqlite as requiring exactly 2. Also test io errors in sqlite3_release_memory(). (CVS 4365) (check-in: 5842f68c user: danielk1977 tags: trunk)
16:16
Remove the syncOk argument to pager_recycle. Now that sqlite3_memory_release uses a global lru list of page, it is no longer required. (CVS 4364) (check-in: fb27692a user: danielk1977 tags: trunk)
11:04
Test sqlite3_bind_zeroblob(). Only include sqlite3Utf8To8 in builds if SQLITE_DEBUG is defined. (CVS 4363) (check-in: fde6142b user: danielk1977 tags: trunk)
10:01
Allow sqlite3GetInt32 to recognize 10-digit decimal numbers as 32-bit. (CVS 4362) (check-in: 7571345d user: danielk1977 tags: trunk)
09:02
Fix a problem handling a malloc() failure in printf.c. Also some other things to improve test coverage. (CVS 4361) (check-in: 595bfe72 user: danielk1977 tags: trunk)
06:51
Fix for registration of non-default vfs objects. (CVS 4360) (check-in: 5f48fb95 user: danielk1977 tags: trunk)
06:19
Fix a bug in loadext.test. (CVS 4359) (check-in: 2be8af9d user: danielk1977 tags: trunk)
05:57
Call sqlite3OsDlError to obtain error information after DlOpen or DlSym fail. (CVS 4358) (check-in: 3d74256c user: danielk1977 tags: trunk)
02:13
Change the windows tempfile name generator so that it uses 119 bits of randomness and does not bother to check to see if the file already exists. Ticket #2608. (Unable to test from this machine, but the changes are simple and isolated. Hope it works.) (CVS 4357) (check-in: ca6c1e3f user: drh tags: trunk)
2007-08-31
18:50
Get make doc working again. (CVS 4356) (check-in: 8f73ebc6 user: drh tags: trunk)
18:34
Remove the xLockState method for sqlite3_io_methods. Replace it with a defined call to xFileControl(). This simplifies the interface and also gives us coverage testing of sqlite3_file_control(). (CVS 4355) (check-in: 306586c4 user: drh tags: trunk)
17:42
Allow sqllimits1.test to be run from a regular build of testfixture. Add the 'amalgamation-testfixture' target to main.mk - to build testfixture via sqlite3.c. (CVS 4354) (check-in: d1194273 user: danielk1977 tags: trunk)
16:11
Initial implementation of the sqlite3_file_control() interface. Compiles and passes all historical tests but the new method is itself untested. (CVS 4353) (check-in: d3ab3e39 user: drh tags: trunk)
14:31
Convert the TCL interface to use sqlite3_open_v2 (CVS 4352) (check-in: 3434b7a9 user: drh tags: trunk)
05:00
Fix a problem in malloc3.test preventing all.test from completing. No code changes. (CVS 4351) (check-in: ee9b3e5e user: danielk1977 tags: trunk)
2007-08-30
20:09
Add the experimental sqlite3_threadsafe() API. (CVS 4350) (check-in: 1b39a714 user: drh tags: trunk)
20:09
Fix the loadable extension module so that it will compile with SQLITE_THREADSAFE=0. (CVS 4349) (check-in: a73a8b50 user: drh tags: trunk)
20:01
Fix discrepency in the test pointed out by a user. Was testing fts2 :-). (CVS 4348) (check-in: 65c62ed8 user: shess tags: trunk)
19:56
Fix memory leak reported by an fts1 user. Was losing a doclist on a query error. (CVS 4347) (check-in: eee02502 user: shess tags: trunk)
17:15
Make mutex functions available to loadable extensions. Fix the amalgamation generator to include the latest source files. (CVS 4346) (check-in: 293a3f83 user: drh tags: trunk)
16:46
Fix a memory leak in the win32 OS driver. Ticket #2602. (CVS 4345) (check-in: 1f80cf5e user: drh tags: trunk)
16:30
Fix the "test_destructor" test function in utf-16 mode. Fix for test failure in utf16 version of func.test. (CVS 4344) (check-in: c073b780 user: danielk1977 tags: trunk)
16:23
Make the latest interfaces usable by loadable extensions. (CVS 4343) (check-in: e9b2700b user: drh tags: trunk)
16:13
Prevent sqlite from opening directories as databases under unix. Fix for test cae in misc7.test. (CVS 4342) (check-in: e3054650 user: danielk1977 tags: trunk)
15:46
Check in extra fixes for malloc4.test. (CVS 4341) (check-in: 49ce3a83 user: danielk1977 tags: trunk)
15:16
Fixes for malloc4.test. (CVS 4340) (check-in: 23746924 user: danielk1977 tags: trunk)
15:05
Fix the SQLITE_MIXED_ENDIAN_64BIT_FLOAT option so that it works on goofy linux kernels that employ CONFIG_FPE_FASTFPE. Patch from Frank van Vugt. (CVS 4339) (check-in: 71ab92e9 user: drh tags: trunk)
14:58
Fix a ref-count problem in the TCL bindings. Ticket #2597. (CVS 4338) (check-in: 18a5babb user: drh tags: trunk)
14:49
Remove the SYNC_BARRIER flag. (CVS 4337) (check-in: 5a22d869 user: danielk1977 tags: trunk)
14:41
Fixes to malloc3.test so that it can run in transient or persistent failure mode. (CVS 4336) (check-in: e14e3688 user: danielk1977 tags: trunk)
14:10
Bug fixes in the mutex header file. Tickets #2599 and #2600. (CVS 4335) (check-in: 4bdfe141 user: drh tags: trunk)
11:48
Fixes for failures in fuzz_malloc.test. (CVS 4334) (check-in: d3e50226 user: danielk1977 tags: trunk)
10:49
Fix some problems in async2.test. No code changes. (CVS 4333) (check-in: d80d87c2 user: danielk1977 tags: trunk)
10:07
Better handle a malloc() failure in sqlite3PagerSetPagesize(). (CVS 4332) (check-in: 41550d87 user: danielk1977 tags: trunk)
08:27
Fix a bug in a test file causing malloc5.test to crash. (CVS 4331) (check-in: ab09967b user: danielk1977 tags: trunk)
08:08
Add tests for malloc() failure when the atomic-write optimization is being used. Also fix things so that rollback can occur without a malloc(), even if there is a master journal file. (CVS 4330) (check-in: 481fd3a8 user: danielk1977 tags: trunk)
02:26
Test case fixes for fulltest. (CVS 4329) (check-in: cddce495 user: drh tags: trunk)
01:19
Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328) (check-in: e40d40a5 user: drh tags: trunk)
2007-08-29
19:15
Fix minor problems on various tests. This is a snapshot prior to possible major changes in order to fix the sqlite3AbortOtherActiveVdbes problem. (CVS 4327) (check-in: 35cb63ec user: drh tags: trunk)
18:20
Fix a bug in test_server.c that resulted from the change in semantics of sqlite3_enable_shared_cache(). All quick tests now pass. (CVS 4326) (check-in: 5201fa4f user: drh tags: trunk)
17:59
Disable tests that require SQLITE_ENABLE_ATOMIC_WRITE if that feature is not enabled. (CVS 4325) (check-in: 48744993 user: drh tags: trunk)
17:43
Improvements to mutex asserts. The quick test runs to completion without assertion faults. (CVS 4324) (check-in: 2732af0e user: drh tags: trunk)
14:06
Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323) (check-in: c790c234 user: danielk1977 tags: trunk)
13:45
Be careful to verify the schema cookie when running the xfer optimization on INSERT statements. (CVS 4322) (check-in: d8ef7024 user: drh tags: trunk)
12:31
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321) (check-in: e38ef81b user: danielk1977 tags: trunk)
04:00
Better asserts(). But now some of the tests are busted again. (CVS 4320) (check-in: e8060f85 user: drh tags: trunk)
00:33
More locking fixes. Now makes it all the way through quick.test. There are errors but no assertion faults. Progress. (CVS 4319) (check-in: 844d40b8 user: drh tags: trunk)
2007-08-28
23:28
The shared_err test runs with no errors. But a potential deadlock has been discovered and is still unfixed. (CVS 4318) (check-in: f093a0d7 user: drh tags: trunk)
23:28
The shared_err test runs with no errors. But a potential deadlock has been discovered and is still unfixed. (CVS 4317) (check-in: f84550be user: drh tags: trunk)
22:24
Clean up the locking in the btree logic. (CVS 4316) (check-in: 967ab229 user: drh tags: trunk)
20:36
Fix memory leak of InteriorReader.term. Comes up when doing queries against large segments. (CVS 4315) (check-in: 6c617bd8 user: shess tags: trunk)
19:21
remove unused os_os2.h (CVS 4314) (check-in: dd43a2de user: pweilbacher tags: trunk)
16:44
Fix locking bug in btshared.c. (CVS 4313) (check-in: af24e7d0 user: drh tags: trunk)
16:34
Break up the mutex implementation into separate source files, one each for unix, w32, and os2. (CVS 4312) (check-in: fc5cd71a user: drh tags: trunk)
15:47
Updates to the sqlite3_open() documentation. Method the magic :memory: filename. Ticket #2591. (CVS 4311) (check-in: 5f55b2fc user: drh tags: trunk)
15:21
Update the sqlite3_vfs_register() documentation to make the behavior undefined for VFSes with a NULL or empty string as the name or with duplicate names. (CVS 4310) (check-in: e7a98b48 user: drh tags: trunk)
08:19
Use "affected" instead of "effected". Ticket #2589. No code changes. (CVS 4309) (check-in: 4c5631ce user: danielk1977 tags: trunk)
08:00
Add some comments and test-cases for the global lru page list (used by sqlite3_release_memory()). (CVS 4308) (check-in: 0b801688 user: danielk1977 tags: trunk)
02:27
Work toward correct btree locking in a multithreaded environment. (CVS 4307) (check-in: b8cc493b user: drh tags: trunk)
2007-08-27
23:48
Disable tests that debug on SQLITE_MEMDEBUG when that macro is not defined. (CVS 4306) (check-in: 741d6fb0 user: drh tags: trunk)
23:38
Fix the autoconf makefile with all the latest changes. (CVS 4305) (check-in: bc6d73d0 user: drh tags: trunk)
23:26
Work around problem with forward declarations of constants in MSVC in the amalgamation. Ticket #2574. (CVS 4304) (check-in: dc80b2e1 user: drh tags: trunk)
21:49
Bring the amalgamation builder up to date with the latest changes. Remove some vestigial code. (CVS 4303) (check-in: 0ae30e5c user: drh tags: trunk)
21:10
Added the 34to35.html document describing the changes between 3.4.2 and 3.5.0. Minor interface cleanups. (CVS 4302) (check-in: 0791f917 user: drh tags: trunk)
17:27
Modify sqlite3_release_memory() to use a global LRU list of pages. Untested. (CVS 4301) (check-in: 5626ce0b user: danielk1977 tags: trunk)
2007-08-25
16:31
Create a fresh pthread_mutexattr_t every time a recursive mutex is allocated. Ticket #2588. (CVS 4300) (check-in: 3d746343 user: drh tags: trunk)
16:21
Documentation and comment updates in sqlite.h.in and mutex.c. (CVS 4299) (check-in: 7289079d user: drh tags: trunk)
14:49
Clarification in the documentation of the sqlite3_mutex_held() and sqlite3_mutex_notheld() interfaces. Make it clear that these routines are only for use inside assert(). (CVS 4298) (check-in: a6bbf6ea user: drh tags: trunk)
14:39
Use recursive mutexes in pthreads. If the pthreads implementation does not support recursive mutexes, then you cannot compile SQLite with SQLITE_THREADSAFE=1. Ticket #2588. (CVS 4297) (check-in: 1668284d user: drh tags: trunk)
13:37
Update the rest of the malloc failure test scripts to use the new interface. (CVS 4296) (check-in: b076e165 user: danielk1977 tags: trunk)
13:09
Fix bugs in the altermalloc.test and incrblob_err.test scripts. (CVS 4295) (check-in: e5ec1707 user: danielk1977 tags: trunk)
12:39
Update the async2.test test script to use the new malloc() failure simulation interface. (CVS 4294) (check-in: 686fcfed user: danielk1977 tags: trunk)
12:29
Make the test_async backend work again. (CVS 4293) (check-in: 04167483 user: danielk1977 tags: trunk)
03:59
Bug fix in the implementation of recursive mutexes using non-recursive pthreads mutexes. Ticket #2588. (CVS 4292) (check-in: 7d24c3a5 user: drh tags: trunk)
2007-08-24
20:46
New mutex implementation for both Unix and windows. (CVS 4291) (check-in: e144b81f user: drh tags: trunk)
18:32
fix cleanup by removing sqlite3.pc (generated by 'configure') on 'make distclean', too (CVS 4290) (check-in: 3c908648 user: rse tags: trunk)
17:52
Rework the win32 OS driver to use malloc()/free() directly rather than going through the SQLite memory allocation layer. With this change, the complete quick.test script now runs on windows. There are a few errors, but no segfaults. Progress. (CVS 4289) (check-in: 75aad316 user: drh tags: trunk)
16:29
Fix bugs in temp database handling introduced by the prevous check-in. (CVS 4288) (check-in: 300038be user: drh tags: trunk)
16:08
Remove nRef and vfsMutex from the sqlite3_vfs structure. Omit the sqlite3_vfs_release() interface. Less memory allocated for a pager in the common case where the size of the pathname is less than MAX_PATH. (CVS 4287) (check-in: b8451da3 user: drh tags: trunk)
11:52
Select the default page size for new databases based on the sector-size and IOCAP flags. (CVS 4286) (check-in: 13dda2e8 user: danielk1977 tags: trunk)
11:43
Remove unnecessary sqlite3MallocDisallow() that was preventing win32 from running. (CVS 4285) (check-in: eb6c98fc user: drh tags: trunk)
08:15
Add tests to simulate power-failure on devices that support IOCAP_SEQUENTIAL or IOCAP_SAFE_APPEND. (CVS 4284) (check-in: bdf5cb8d user: danielk1977 tags: trunk)
04:15
Bug fix in the memory leak trace output. (CVS 4283) (check-in: a1b495c2 user: drh tags: trunk)
03:51
The win32 driver compiles but does not yet work well. Many bugs fixed. (CVS 4282) (check-in: 3a68fcdd user: drh tags: trunk)
2007-08-23
20:28
Make comments and variable naming more consistent WRT rowid versus docid/blockid. This should have no code impact. (CVS 4281) (check-in: 76f1e18e user: shess tags: trunk)
20:23
Fix fts3 to not have the VACUUM bug from fts2. %_content.docid is an alias to fix the rowid for documents, %_segments.blockid is an alias to fix the rowid for segment blocks. Unit test for the problem. (CVS 4280) (check-in: 6eb2d74a user: shess tags: trunk)
16:27
Add some warm-body tests for rollback journal i/o enhancements. (CVS 4279) (check-in: ff3770f8 user: danielk1977 tags: trunk)
14:48
Add code to reduce rollback journal i/o based on IOCAP flags. As yet untested. (CVS 4278) (check-in: 59556849 user: danielk1977 tags: trunk)
11:47
Ensure temporary files are deleted when they are closed. (CVS 4277) (check-in: cf4e3c15 user: danielk1977 tags: trunk)
11:07
Add some further tests and a bugfix for the atomic-write optimization. (CVS 4276) (check-in: 5f0fb894 user: danielk1977 tags: trunk)
08:06
Add some tests for the atomic-write optimization. (CVS 4275) (check-in: e2cc7b4a user: danielk1977 tags: trunk)
02:50
Change names of constants in lemon.c to work around name conflicts on Solaris. Ticket #2583. (CVS 4274) (check-in: e4e74cd0 user: drh tags: trunk)
02:47
Improvements to memory leak detection. The --backtrace=NNN option is now recognized by tester.tcl. Memory leak summaries are automatically written to the file ./memleak.txt and each leak is tagged with the test in which it occurred. The quick.test script runs on Linux with no errors and no leaks. (CVS 4273) (check-in: 21f6b310 user: drh tags: trunk)
2007-08-22
22:04
All of the malloc test cases run. Still seeing failures in malloc4.test. (CVS 4272) (check-in: 205d0b88 user: drh tags: trunk)