aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Fix warning under MSVC.shaneh2010-07-09
| | | FossilOrigin-Name: 0c32c4bbdd74297767dcf4ec4295f9cc72875af0
* Reformat WAL code for clearer presentation. Update comments for correctness.drh2010-07-09
| | | | | | Add checks to ensure that corruption in shared-memory does not result in an infinite loop. FossilOrigin-Name: 40eaada7ec45e70bdf64d060051f24c5c5e3faf3
* Add a test case to cover code that was left untested by the journal_modedrh2010-07-08
| | | | | simplification. FossilOrigin-Name: bcdddba4f011cf008d29918bcac59131007a8138
* Change the journal_mode pragma to remove the "default journal mode" concept.drh2010-07-08
| | | | | | The journal_mode pragma only effects currently attached databases and does not change the behavior of future attachments. FossilOrigin-Name: e396184cd3bdb96e29ac33af5d1f631cac553341
* Fix warning in test fixture code.shaneh2010-07-08
| | | FossilOrigin-Name: 0bfcf3bcd77acab48344dde87cecb01e877f1a19
* Changes to os_win.c to have it simulate IO errors like os_unix.c.shaneh2010-07-08
| | | FossilOrigin-Name: 0d53da9451fe016adc57c7c077fdbbbdb1c8d6ee
* Make the initial salt values in the WAL header random values, not zero.drh2010-07-07
| | | FossilOrigin-Name: baa5eddd0539342945c14a2793c2579efb7e3b26
* When rolling back a savepoint, reset the changeCountDone flag.dan2010-07-07
| | | FossilOrigin-Name: fb62f4e3a7ceaa60ff6af2196ccf35b48759307e
* When using MSVC to build test code, suppress the popup dialog when abort is ↵shaneh2010-07-07
| | | | | called from the sqlite_abort() test function. FossilOrigin-Name: 55d3d39f1c653627fc4c048e12fdd8c4444b6de7
* Do not make the SQLITE_FCNTL_SIZE_HINT call if an error has already occurred ↵dan2010-07-07
| | | | | during transaction commit. FossilOrigin-Name: e92de834a39be07da5f0848d7ec5f1f6dff902a5
* Fixed a new error introduced by last check-in of os_win.c. Updated ↵shaneh2010-07-07
| | | | | xAccess() to support SimulateIOError(). FossilOrigin-Name: 8eefc287265443ec043bdab629597e79c9d22006
* Remove two more testcase() macros that require 4GiB WAL files to hit.drh2010-07-07
| | | FossilOrigin-Name: 16e18f2706e67210eae62edfb748758fd27f23d7
* Remove a testcase() macro that would require a 4GiB WAL to reach.drh2010-07-07
| | | FossilOrigin-Name: 15f9c2713bdfd3d6c8d8d4298f101d128e39b99a
* Fix a compiler warning in PRAGMA journal_mode.drh2010-07-07
| | | FossilOrigin-Name: d94269e60dbcb50b8a35f142c64ed013cc0045ac
* Avoid the need for a NEVER() from pager_write_pagelist() by passing indrh2010-07-07
| | | | | pPager as an extra parameter. FossilOrigin-Name: b3179379437dbcb1d8e7f1f8f631a3e7df1a5c9a
* Merge together the accident fork.drh2010-07-07
|\ | | | | FossilOrigin-Name: cdcf08cb18b1e290a4093454bebbd3e7094d6804
| * Fix minor issue in xAccess() method for Windows.shaneh2010-07-07
| | | | | | FossilOrigin-Name: 4bfd46f1db41009a1b925d61c6f074b933caa4ec
* | Make sure the schema is loaded before preparing a "PRAGMA journal_mode" ↵dan2010-07-07
|/ | | | | command. This helps it return meaningful results when it is the first command executed by a new database connection. FossilOrigin-Name: ef126e775a02d69a9cab53028513e8799e1b6044
* Add testcase macros to ensure that large-file cases are tested in WAL.drh2010-07-07
| | | FossilOrigin-Name: 8156b57ac33161ae6dd8a9413127ecce3c9eae83
* Fix a problem with writing to databases larger than 2^32 bytes with WAL mode.dan2010-07-07
| | | FossilOrigin-Name: b956ddca75d64ba662fa0b03b643822d836b6501
* Remote the SQLITE_OMIT_GLOBALRECOVER macro - it is subsumed by drh2010-07-07
| | | | | | SQLITE_OMIT_DEPRECATED. Add support to sqlite3_compileoption_used() for SQLITE_OMIT_WAL. FossilOrigin-Name: 21a2db908b9eeb7477fc9d8b2b54482db93cd76f
* Modified the xWrite() method on Windows to differentiate between IO and disk ↵shaneh2010-07-06
| | | | | full error returns. FossilOrigin-Name: ca4b7ffbd44937a02ae62d606f9e1eb767075c22
* Before calling Tcl_ExitThread() in a multi-threaded test, call ↵dan2010-07-06
| | | | | Tcl_DoOneEvent() as many times as necessary to handle any queued events. FossilOrigin-Name: b3399b40785d13754979203f15d71c95fec50282
* Reorder variable declarations in the previous check-in to avoid putting codedrh2010-07-06
| | | | | before declarations when not testing. FossilOrigin-Name: d1fe8ab4a176180053d35300ad0540a27c6cd76d
* Ensure the correct error code is returned if an attempt to parse a database ↵dan2010-07-06
| | | | | schema made by an ATTACH statement fails. FossilOrigin-Name: c272196115ab3926e56b6f4183ec127e3f98ef9c
* Modify the VFS xAccess() method on winNT so that it returns false fordrh2010-07-05
| | | | | | an exists test of a zero-length file. This makes the windows VFS work the same as the unix VFS. FossilOrigin-Name: ec35f25403744f7441ac5ae1486b84d8ebc13e98
* Simplify the previous commit by removing the pagerCheckForOrDeleteWAL() wrapper.dan2010-07-05
| | | FossilOrigin-Name: a1324d125e2dd7004eaf8680f5f832ef17285087
* Allocate a buffer containing the full path-name to the associated WAL file ↵dan2010-07-05
| | | | | when a pager is created. This saves having to construct a new buffer each time a new read-transaction is opened and SQLite checks for the existance of a WAL file. FossilOrigin-Name: 3053a4ad15343a56efa430503797b77bb6d1e770
* When rolling back page 1 from a journal, restore the "nReserve" settingdrh2010-07-05
| | | | | in case it has been corrupted by a prior crash. FossilOrigin-Name: c0d124da88e84e68679c2f3f4b2b35c03aecc916
* Call Tcl_ExitThread() from within threads created using Tcl_CreateThread(). ↵dan2010-07-05
| | | | | Not doing so causes notifier related errors on OSX. FossilOrigin-Name: 684eae6623ef1d0336b7a734b17ed307c720b6f4
* Remove the unused xRename() method from the sqlite3_vfs object.drh2010-07-03
| | | | | Add better documentation on the xCurrentTimeInt64() method. FossilOrigin-Name: 51ec0e5432dd6849b83a3d969a018482eb3bb083
* Fix an assert in pager.c. And various test cases that fail with the ↵dan2010-07-03
| | | | | in-memory journal permutation. FossilOrigin-Name: 78fc35ff4b01d4a583009ec8b8bf876738ca7b92
* Remove code accidently appended to pager.c.drh2010-07-03
| | | FossilOrigin-Name: 7cbe175a69738499f9218ec56f1a39f040aea9dc
* Change code in OP_Rewind to avoid a valgrind warning following an error in ↵dan2010-07-03
| | | | | the btree layer. This change does not fix any bug, just a warning. FossilOrigin-Name: 4f62dbcfc96855f69e71d163bfc051d9db08cca9
* Fix a buffer overrun in the where.c. Problem detected by valgrind.drh2010-07-03
| | | FossilOrigin-Name: 15bb62330681a5b2aad95a1d1fc9ab8f6f1bd6b9
* Changes to os_win.c to have it return same error code as os_unix.c.shaneh2010-07-02
| | | FossilOrigin-Name: 33b6f069d8059903312282962181839ff983e5c4
* Omit the OP_JournalMode opcode from the VDBE when SQLITE_OMIT_PRAGMA isdrh2010-07-02
| | | | | defined. FossilOrigin-Name: 565ff65c61c85c9b2122b31bd9792692aa1e9cda
* Fix a bug in test_vfs.c causing an assert to fail. Changes to test code only.dan2010-07-02
| | | FossilOrigin-Name: 336ce7d29767f76c4a92aa4bbc46d21e19871667
* Take out the incomplete initializer on the constant "dummy" indrh2010-07-02
| | | | | | sqlite3VdbeGetOp(). Add a comment that the MSVC warning there should be ignored. FossilOrigin-Name: 452ccaa9080e42657b5f0908bf40dbd834cd39f6
* Fix a couple more compiler warnings under MSVC.shaneh2010-07-02
| | | FossilOrigin-Name: 26bc27e3f4c8a666f3358f73fc21eccdec3508f6
* Fix compiler warnings in the proxy locking code.drh2010-07-02
| | | FossilOrigin-Name: 26c7689cfedf03e65bcd51df68d128101ed2c1ec
* Fix some warnings when compiling under MSVC.shaneh2010-07-02
| | | FossilOrigin-Name: 708338773919fa024abbba55180654beb60e6d84
* Add initializers for the xShmXXX() members to an sqlite3_io_methods ↵dan2010-07-02
| | | | | structure in journal.c. This doesn't fix any real problem, just prevents a compiler warning. FossilOrigin-Name: dafb3577a2d5fbeebb17c8176af837f0aebf6ee5
* Remove an unused call to sqlite3PageBegin() from pager_write(). Replace itdrh2010-07-02
| | | | | with an assert(). FossilOrigin-Name: 01c1278263fdd8454763be15bddd2558e720e6e0
* Additional test cases to cover branches in pager.c.dan2010-07-02
| | | FossilOrigin-Name: eddfb2b4062f8a8b907f0c7bc08a05c16692e900
* Add a NEVER to sqlite3PagerCommitPhaseTwo() because it is now no longerdrh2010-07-02
| | | | | possible to invoke that function without holding a RESERVED lock. FossilOrigin-Name: 6ae7617298c70f8e03dd0ed73b8153d4871fb023
* If you delete a database file but not its *-wal file, then open the databasedrh2010-07-01
| | | | | | (thus creating a new empty database file) the *-wal file is automatically deleted. FossilOrigin-Name: 95c69dfbddaf4367cd699dfe8fcf8e06030c1f53
* Add pager test cases. Change a condition in pager.c to NEVER().dan2010-07-01
| | | FossilOrigin-Name: a8f6341d3b12d64ef56ed05226e3b4f183b8957d
* Add further test cases. Fix an assert() in pager.c.dan2010-06-30
| | | FossilOrigin-Name: 8e65c0e3dac400f6a0ec3b7494fba62c14ed6182
* Do not call pager_open_journal() from within PagerBegin() if the connection ↵dan2010-06-30
| | | | | is in exclusive-access mode. It will be called from within PagerWrite() just as it is for non-exclusive mode anyway. FossilOrigin-Name: cdf2c5c2dd2e4404ffb85a680d31307afea266eb