drh
33f4e02af6
Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some
...
test cases added but more are needed. Ticket #2616 . (CVS 4376)
FossilOrigin-Name: 020a2b10d408f51d4ef3211c5f701f5378fd4625
2007-09-03 15:19:34 +00:00
danielk1977
cd2543b6ae
Fix a problem in hash.c when replacing entries in tables configured with copyKey==0. (CVS 4375)
...
FossilOrigin-Name: a19d3a73a91f2040ec35d913f11743ff4913ffb7
2007-09-03 15:03:20 +00:00
danielk1977
fa18bece7a
Handle transient malloc() failures in sqlite3CreateFunc(). (CVS 4371)
...
FossilOrigin-Name: c0ce63196458c81e0859fc8a38f2dd2145a580bc
2007-09-03 11:04:22 +00:00
danielk1977
369ff42e77
Fixes to test code so that the test suite passes without SQLITE_MEMDEBUG defined. (CVS 4370)
...
FossilOrigin-Name: ed2a2e0102c4fd2221096028d55a6f1d54f97274
2007-09-03 07:31:09 +00:00
danielk1977
880c15beb9
Fix a bug in jrnlTruncate(). And other coverage improvements. (CVS 4367)
...
FossilOrigin-Name: 02b751fb9dbc683b1b77a2ed3cdeb4190f7339e0
2007-09-01 18:24:55 +00:00
danielk1977
d7d2f93cbb
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)
...
FossilOrigin-Name: 5842f68c1ba838f24e9ba02c818d308540d591a4
2007-09-01 17:00:12 +00:00
danielk1977
843e65f2fc
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)
...
FossilOrigin-Name: fb27692ab10b22851b265348bb6b3e1dececd60f
2007-09-01 16:16:15 +00:00
danielk1977
28c66307d7
Test sqlite3_bind_zeroblob(). Only include sqlite3Utf8To8 in builds if SQLITE_DEBUG is defined. (CVS 4363)
...
FossilOrigin-Name: fde6142b7bb33198b3d6b65cfbddfad61694b1fb
2007-09-01 11:04:26 +00:00
danielk1977
b8cdbec246
Allow sqlite3GetInt32 to recognize 10-digit decimal numbers as 32-bit. (CVS 4362)
...
FossilOrigin-Name: 7571345d2078fb52029f9b9924d833ec36d443e6
2007-09-01 10:01:12 +00:00
danielk1977
ca0c89715e
Fix a problem handling a malloc() failure in printf.c. Also some other things to improve test coverage. (CVS 4361)
...
FossilOrigin-Name: 595bfe72f053bc6ecb58bb9044a4cdc53d30b404
2007-09-01 09:02:53 +00:00
danielk1977
95c8a54c7d
Fix for registration of non-default vfs objects. (CVS 4360)
...
FossilOrigin-Name: 5f48fb95c26a713b3259ee49fd444108030376dc
2007-09-01 06:51:27 +00:00
danielk1977
c3f759bd33
Fix a bug in loadext.test. (CVS 4359)
...
FossilOrigin-Name: 2be8af9d402a5cd8da8c348883188eb38900f6dc
2007-09-01 06:19:05 +00:00
danielk1977
98cab2c038
Call sqlite3OsDlError to obtain error information after DlOpen or DlSym fail. (CVS 4358)
...
FossilOrigin-Name: 3d74256c9123e8434c68e6a0c5b61686b34a4328
2007-09-01 05:57:49 +00:00
danielk1977
e6a58a4e2a
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)
...
FossilOrigin-Name: d119427314d27f291b605073d34826cdb89746c1
2007-08-31 17:42:48 +00:00
drh
3570ad93d8
Convert the TCL interface to use sqlite3_open_v2 (CVS 4352)
...
FossilOrigin-Name: 3434b7a9213f210498f43cb5094a0f3f5c25b957
2007-08-31 14:31:44 +00:00
danielk1977
85378228b6
Fix a problem in malloc3.test preventing all.test from completing. No code changes. (CVS 4351)
...
FossilOrigin-Name: ee9b3e5e38c52f5669009a08aec58678ccad0d87
2007-08-31 05:00:48 +00:00
shess
ae00b4e64b
Fix discrepency in the test pointed out by a user. Was testing fts2 :-). (CVS 4348)
...
FossilOrigin-Name: 65c62ed85edd2cb3cf26f01fadf3b342c1e8a20f
2007-08-30 20:01:32 +00:00
danielk1977
744f574889
Fixes for malloc4.test. (CVS 4340)
...
FossilOrigin-Name: 23746924db3c005d1f75572c6cbb91db6fc41eb4
2007-08-30 15:16:04 +00:00
danielk1977
37f0d22199
Fixes to malloc3.test so that it can run in transient or persistent failure mode. (CVS 4336)
...
FossilOrigin-Name: e14e3688eb64577a2a7070e4e47e715a5d7d5089
2007-08-30 14:41:34 +00:00
danielk1977
7751940d6e
Fixes for failures in fuzz_malloc.test. (CVS 4334)
...
FossilOrigin-Name: d3e502263808c1fe0487fda02f16adcbb1279183
2007-08-30 11:48:31 +00:00
danielk1977
eacb6c59bc
Fix some problems in async2.test. No code changes. (CVS 4333)
...
FossilOrigin-Name: d80d87c239df06ef2182bc2b78e6d4c1852d28c9
2007-08-30 10:49:54 +00:00
danielk1977
992772c867
Better handle a malloc() failure in sqlite3PagerSetPagesize(). (CVS 4332)
...
FossilOrigin-Name: 41550d87c9395ab2fec5993655865e29235130a3
2007-08-30 10:07:38 +00:00
danielk1977
65839c6afd
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)
...
FossilOrigin-Name: 481fd3a89e50e329596d96565170e3d9977aae29
2007-08-30 08:08:17 +00:00
drh
c1a7f94098
Test case fixes for fulltest. (CVS 4329)
...
FossilOrigin-Name: cddce4950569ac49c1a5224b200b00dcd83a2ba4
2007-08-30 02:26:53 +00:00
drh
107b25f1bd
Fix minor problems on various tests. This is a snapshot prior to possible
...
major changes in order to fix the sqlite3AbortOtherActiveVdbes problem. (CVS 4327)
FossilOrigin-Name: 35cb63ecfd9d8ca7304aae1b150ee5d1c3498bde
2007-08-29 19:15:08 +00:00
drh
df12a9bca4
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)
FossilOrigin-Name: 5201fa4f8310ffc8b6881d96b152581d74e2df6b
2007-08-29 18:20:16 +00:00
drh
d6b9386c50
Disable tests that require SQLITE_ENABLE_ATOMIC_WRITE if that feature is
...
not enabled. (CVS 4325)
FossilOrigin-Name: 4874499377e8f89a25d8cc2cf7982e6811d53f1b
2007-08-29 17:59:42 +00:00
drh
ff0587c632
Improvements to mutex asserts. The quick test runs to completion without
...
assertion faults. (CVS 4324)
FossilOrigin-Name: 2732af0ec77dbc90c0439b6a61d893d9ea3b5697
2007-08-29 17:43:19 +00:00
danielk1977
a1644fd863
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321)
...
FossilOrigin-Name: e38ef81b85feb5bff2ad8448f3438ff0ab36571e
2007-08-29 12:31:25 +00:00
drh
4cf7c7f7e7
The shared_err test runs with no errors. But a potential deadlock has been
...
discovered and is still unfixed. (CVS 4317)
FossilOrigin-Name: f84550be0a0c9e5859b852863b9a8f8ed3fd6919
2007-08-28 23:28:07 +00:00
drh
d0679edc7a
Clean up the locking in the btree logic. (CVS 4316)
...
FossilOrigin-Name: 967ab229af462a8ae663090ea36b4cc10e351653
2007-08-28 22:24:34 +00:00
danielk1977
84f786fcdd
Add some comments and test-cases for the global lru page list (used by sqlite3_release_memory()). (CVS 4308)
...
FossilOrigin-Name: 0b80168895993af5774369f839f284712d006f0a
2007-08-28 08:00:17 +00:00
drh
da57895fec
Disable tests that debug on SQLITE_MEMDEBUG when that macro is not defined. (CVS 4306)
...
FossilOrigin-Name: 741d6fb096dcb232871d3a8468c386022afcf554
2007-08-27 23:48:23 +00:00
danielk1977
222a757dba
Update the rest of the malloc failure test scripts to use the new interface. (CVS 4296)
...
FossilOrigin-Name: b076e1655d6bae5ae10e6ceee646f502435da66a
2007-08-25 13:37:48 +00:00
danielk1977
cdc3a6bcbc
Fix bugs in the altermalloc.test and incrblob_err.test scripts. (CVS 4295)
...
FossilOrigin-Name: e5ec17071720a973bbd213a8b23038d3aff25315
2007-08-25 13:09:26 +00:00
danielk1977
df7ca22abb
Update the async2.test test script to use the new malloc() failure simulation interface. (CVS 4294)
...
FossilOrigin-Name: 686fcfeda407c29cdb51fe814da616f1ccac5414
2007-08-25 12:39:28 +00:00
danielk1977
0e87b70100
Make the test_async backend work again. (CVS 4293)
...
FossilOrigin-Name: 04167483aad42d319393e8caf470d8de11e468d8
2007-08-25 12:29:30 +00:00
drh
ae28c01aa8
Fix bugs in temp database handling introduced by the prevous check-in. (CVS 4288)
...
FossilOrigin-Name: 300038be9368556a29efce7cf3657fabfe54d8f9
2007-08-24 16:29:23 +00:00
drh
1cc8c448b5
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)
FossilOrigin-Name: b8451da378179d43f25d9a014480c0f13dd1dc37
2007-08-24 16:08:29 +00:00
danielk1977
9663b8f92d
Select the default page size for new databases based on the sector-size and IOCAP flags. (CVS 4286)
...
FossilOrigin-Name: 13dda2e8e879835c21e539ba3ff8f96face1af4c
2007-08-24 11:52:28 +00:00
danielk1977
f55b899824
Add tests to simulate power-failure on devices that support IOCAP_SEQUENTIAL or IOCAP_SAFE_APPEND. (CVS 4284)
...
FossilOrigin-Name: bdf5cb8d25d93d48220ce46acad2ccf967a87843
2007-08-24 08:15:53 +00:00
drh
153c62c461
The win32 driver compiles but does not yet work well. Many bugs
...
fixed. (CVS 4282)
FossilOrigin-Name: 3a68fcddfa9184e4b310ce0a21312c54b9462ec8
2007-08-24 03:51:33 +00:00
shess
6beeb0329a
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)
FossilOrigin-Name: 6eb2d74a8cfce322930f05c97d4ec255f3711efb
2007-08-23 20:23:37 +00:00
danielk1977
6897ca30b5
Add some warm-body tests for rollback journal i/o enhancements. (CVS 4279)
...
FossilOrigin-Name: ff3770f855c1dd75025b1f2496f8c75e9f17ee44
2007-08-23 16:27:21 +00:00
danielk1977
f8940aefb6
Add some further tests and a bugfix for the atomic-write optimization. (CVS 4276)
...
FossilOrigin-Name: 5f0fb894f44069c4aa9b8dba62b4d8a262c991de
2007-08-23 11:07:10 +00:00
danielk1977
2ca0f86354
Add some tests for the atomic-write optimization. (CVS 4275)
...
FossilOrigin-Name: e2cc7b4a3476a733b2701546f6b4ec9abc18152b
2007-08-23 08:06:44 +00:00
drh
4a50aac564
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)
FossilOrigin-Name: 21f6b31097692171c6493e6ca6de6acbd62dc595
2007-08-23 02:47:53 +00:00
drh
ed138fb3bc
All of the malloc test cases run. Still seeing failures in malloc4.test. (CVS 4272)
...
FossilOrigin-Name: 205d0b881d541db65837ce6cf44d58d607635bc2
2007-08-22 22:04:37 +00:00
drh
f3a65f7e44
The malloc.test script now passes all tests with no errors. (CVS 4271)
...
FossilOrigin-Name: db818430e9ea4ef4a4af575784009d5acae785a3
2007-08-22 20:18:21 +00:00
drh
1f12f9aa30
Remove a debugging btree_breakpoint from vtab1.test. (CVS 4267)
...
FossilOrigin-Name: 6cc8641ed2fbfc32d418ce153f2819052f230be2
2007-08-22 02:57:16 +00:00