Commit Graph

25 Commits

Author SHA1 Message Date
dan
7a9fc59efa Update a test in io.test to account for [05f98d4eec].
FossilOrigin-Name: bfa61e781cb442be641486e7e55a1518e888d830
2012-05-01 14:21:57 +00:00
mistachkin
fda06befd5 Add retry logic for AV defense to winOpen. Also, refactor test suite to allow the key Tcl file operations (e.g. copy and delete) to be retried.
FossilOrigin-Name: 9007586fdabed8dbcc78581ea9821cfd1f9a4c8c
2011-08-02 00:57:34 +00:00
drh
5e0ccc216d Fix issues with the io.test script. There is still a problem with a
ROLLBACK TO not working on an initially empty database files.  And much
more testing is needed.

FossilOrigin-Name: 09786e2a51817d572a01ae7f3621f03fd27fc363
2010-03-29 19:36:52 +00:00
shane
6c53320320 Adjust sync count for SQLITE_DISABLE_DIRSYNC compiler option.
FossilOrigin-Name: 709e16145e37940cb243eede75071fb15095d960
2009-08-19 04:24:48 +00:00
danielk1977
8594373a25 Fix a couple of test script bugs. No changes to SQLite code. (CVS 6396)
FossilOrigin-Name: c9fa329f54736de517cddaf747595c9eca931f32
2009-03-28 07:03:41 +00:00
drh
8a5268739e In io.test, reset the connection after manually deleting the journal file,
so that the connection does not continue to use the old deleted journal file. (CVS 6164)

FossilOrigin-Name: 1e79f4f9e59469fb9e3e0007163de3e604dcf00f
2009-01-11 00:42:02 +00:00
danielk1977
3e37f5df5b Changes to test script io.test to work on symbian. (CVS 5717)
FossilOrigin-Name: 2b41c4959da2ef5a882a658e85ee34d07d31f379
2008-09-18 11:18:41 +00:00
danielk1977
8c0a791a58 Add the pcache module from the experimental branch. Also change things so that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566)
FossilOrigin-Name: cb494e10d71852024647aaa254203579ad438ea9
2008-08-20 14:49:23 +00:00
drh
5462624dc4 When opening a zero-size database on unix, write one byte into the file before
interrogating the inode number.  This works around issues with msdos
filesystems mounted on OS-X.  Ticket #3260. (CVS 5504)

FossilOrigin-Name: a480a8845fb3b49967de0790b30e6250c824b9be
2008-07-30 17:28:04 +00:00
drh
b7d636205b Fix a problem with journal files being created unnecessarily when doing
an atomic write in exclusive access locking mode.  Fix a test script problem. (CVS 5075)

FossilOrigin-Name: 70e708660fec0b6f6c41efc2e29f1d7ae6785b7e
2008-05-01 18:01:46 +00:00
drh
334c80d615 Change the pager's sector size algorithm to the maximum of the size
reported by xSectorSize() from the VFS and 512.  It was using the
maximum of xSectorSize() and the current page size, but that was adding
an extra 512 bytes to the size of the journal file in the common case. (CVS 4929)

FossilOrigin-Name: 17ea0c97a8bac1b34af1f9183d93a2f2a6af9690
2008-03-28 17:41:13 +00:00
danielk1977
bf2609781b Move the test (sqlite3_simulate_device) functionality out of the main code and into a test vfs. (CVS 4737)
FossilOrigin-Name: 17e7bd6c3f507ffc6b56f54ae8c70730e8246f39
2008-01-22 11:50:13 +00:00
drh
039edbb479 Use the hexio test utility rather than TCL's binary I/O to avoid
32/64-bit problems in io.test.  Ticket #2803.  (This is a change
to the test harness only - not to SQLite.) (CVS 4571)

FossilOrigin-Name: 07f7dde8a636aa05b917daa6b248c6f98654aab8
2007-11-27 23:11:45 +00:00
danielk1977
5a8f9374ab Fixes to the test suite (no code changes) so that quick.test runs with OMIT_ATTACH builds. #2706. (CVS 4480)
FossilOrigin-Name: 07c00fffe50e8380748f7ae02328531a75d64610
2007-10-09 08:29:32 +00:00
drh
c2ded2afe0 Get io.test to work even if auto_vacuum is on by default and we are
running with a reduced maximum page size. (CVS 4463)

FossilOrigin-Name: 0d05f3fbaad44a0d3723cd543b865326acddf883
2007-10-03 21:18:19 +00:00
danielk1977
4152e677b8 Fixes for compilation/testing when the various OMIT macros are defined. (CVS 4423)
FossilOrigin-Name: c8405b15c074c94dab5e33272cf1471f458d11df
2007-09-12 17:01:45 +00:00
drh
dec6fae9d9 Get the io.test tests working on windows. (CVS 4381)
FossilOrigin-Name: 1be70015e24f715a4276f253d2e0c0eec44650ee
2007-09-03 17:02:50 +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
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
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
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
27641703cc A complete run of quick.test with mutex debugging enabled. (CVS 4266)
FossilOrigin-Name: 783e07d561d1f5509de9475f3b9f38315f247002
2007-08-22 02:56:42 +00:00
danielk1977
46abae817e Add the tests that go with the previous commit. (CVS 4258)
FossilOrigin-Name: a87f32e13e91250ab4d9366d2e9a3a7024a12fb9
2007-08-21 13:30:07 +00:00