aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* 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
* Add coverage test cases. Have sqlite3_backup_step() transform ↵dan2010-06-30
| | | | | SQLITE_IOERR_NOMEM to SQLITE_NOMEM before returning. FossilOrigin-Name: 5e19bc360e098ec06a72f4a86254d8e62e93ea57
* Add tests to pager1.test and pagerfault.test.dan2010-06-29
| | | FossilOrigin-Name: 008513ee6115f8d6f4b4e1428c1c638282b971a3
* Fix some errors when compiling with SQLITE_OMIT_WAL.dan2010-06-28
| | | FossilOrigin-Name: 3b68cb9c656db8c5c481199919a98f5764f7ebfa
* Currently, if SQLite cannot find a table or index referred to by a query, it ↵dan2010-06-28
| | | | | reloads the database schema from disk to see if the table or index has been added since the schema was cached in memory. Extend this behaviour to columns (which may have been added using ALTER TABLE) and fix some obscure cases related to tables and indexes (INDEXED BY, DROP TABLE etc.). FossilOrigin-Name: 4932f22848b3d15a2b6dc5fa2cd69ce19182e2a4
* Make walIndexTryHdr() a private function. Fix an issue with SQLITE_MUTEX_NOOP.drh2010-06-26
| | | FossilOrigin-Name: ec65bbd06bdd3bf16a742c5bb1fab0dce756c01a
* Suppress various compiler warnings.drh2010-06-26
| | | FossilOrigin-Name: e82d008eaffb5522080cad6c69c1b194b78eadbd
* Fix two asserts on the scratch allocator to allow for up to two outstandingdrh2010-06-26
| | | | | scratch allocations per thread. FossilOrigin-Name: f149b498b6ada3fc9f71ee104c351554c80c7f8a
* Suppress a couple uninitialized variable warnings.drh2010-06-26
| | | FossilOrigin-Name: 29571e228cc85f7768c3ad57d0c7af96b5a54983
* Remove a NEVER() in pager that can in fact be reached in obscure failuredrh2010-06-26
| | | | | cases. FossilOrigin-Name: 42b8bd1c70d8dbbc4a59e2fdee8654c4fe84f979
* Fix a case where the doNotSyncSpill flag may remain permanently set ↵dan2010-06-26
| | | | | following aIO error. FossilOrigin-Name: 56c7d111bf7013be95a4c2a657a4861eee91db91
* When synchronous=NORMAL, use the same journal file format as with ↵dan2010-06-26
| | | | | synchronous=FULL (i.e. multiple journal headers within the one journal). Fix for [d11f09d36e]. FossilOrigin-Name: 2eaf5ee0d9338de8a77fb3e06ad2f2b0daa6fcbe