vapier
d3dd12b202
run autoconf so the updated version is in the configure script (CVS 6301)
...
FossilOrigin-Name: edbb3586e92d675d621e23126581e9c3072e32b9
2009-02-18 04:35:12 +00:00
vapier
afea974870
break libsqlite3.la install step out so the tcl install step can depend on it as well (CVS 6300)
...
FossilOrigin-Name: 0998c55467a777783e4d451b3c82d769bef84d0b
2009-02-18 04:33:59 +00:00
drh
446126ab07
Version 3.6.11 (CVS 6299)
...
FossilOrigin-Name: 6abd630c8703ed09af27776096677c2f35da6b85
2009-02-18 00:00:04 +00:00
drh
50b6568454
Add tests to double-check that nothing within SQLite ever tries to allocate
...
amounts of memory that are close to the maximum signed integer, leading to
an integer overflow within malloc(). This is not currently a problem.
The extra tests just insure it never becomes a problem. (CVS 6298)
FossilOrigin-Name: f6ba7bb9152cffc9f67dfa7de12e36a3244b7e03
2009-02-17 18:37:28 +00:00
danielk1977
f37adcb40f
Initialize an uninitialized buffer to silence a valgrind warning during a VACUUM operation. (CVS 6297)
...
FossilOrigin-Name: 8c61968b33dd753618589cb3f859984223161d64
2009-02-17 17:56:30 +00:00
danielk1977
0a54907159
Allow sqlite3_shutdown() to be called by a process before sqlite3_initialize() is. Prior to this commit such a call could segfault. (CVS 6296)
...
FossilOrigin-Name: 79431c58d964d6057c7f42f7c1df74f3df4493eb
2009-02-17 16:29:10 +00:00
drh
e8df800d4c
Make sure result variables are initialized or unused following a failure
...
of the xFullPathname VFS interface. Problem detected by valgrind. (CVS 6295)
FossilOrigin-Name: 59a4755185f0e51699cd020ae67d279bee45de1c
2009-02-17 16:17:01 +00:00
shane
65ad7d225f
Changes to remove some compiler warnings from MSVC. (CVS 6294)
...
FossilOrigin-Name: 68f15442e8db364952d30daf4ce60c6b938f5906
2009-02-16 17:55:47 +00:00
drh
38aec8dc09
Fix a compiler warning in backup.c. (CVS 6293)
...
FossilOrigin-Name: 82222fbf5d5a085ce3e2c172c648a4c6d9750626
2009-02-16 16:23:09 +00:00
drh
f16ce3bc2a
Make sure OOM errors in the ANALYSIS loader get reported back out to
...
high-level layers. Strange behavior can result otherwise. (CVS 6292)
FossilOrigin-Name: 88a6355cd65ddb319dbc27b5248c664dbf599778
2009-02-13 16:59:53 +00:00
drh
0388123f07
Correctly handle attempts to add a UNIQUE or PRIMARY KEY column using
...
the ALTER TABLE statement. Ticket #3651 . (CVS 6291)
FossilOrigin-Name: dd179ff2986bc2a86d70bbe927fd0e123e17d398
2009-02-13 03:43:31 +00:00
drh
aff46970a7
Add additional cross-references from API documentation to other documents.
...
Comment changes only; no changes to code. (CVS 6290)
FossilOrigin-Name: 97203a0ad7a7ddfae04daf99558389b0589fc170
2009-02-12 17:07:34 +00:00
drh
a32e0d05ff
Update thread tests to clear the sqlite_open_file_count counter at the
...
end. This counter is not threadsafe and can end up with an invalid value
at the end of the thread tests. (CVS 6289)
FossilOrigin-Name: 8c4d71a169e529964d2d0cfba82bbad66a0bcd12
2009-02-12 17:06:41 +00:00
danielk1977
f2a79f2248
Fix some edge cases with backing up databases that are exactly PENDING_BYTE bytes in size, or just slightly larger. (CVS 6288)
...
FossilOrigin-Name: 2fc450e8e60248d6111d0b0d2b8f2344f5b89bca
2009-02-12 17:01:49 +00:00
danielk1977
1435ccd52b
Modify lock.test to account for "PRAGMA lock_status" returning "unknown" for in-memory databases. (CVS 6287)
...
FossilOrigin-Name: 9a6e558ba6fe0b38376a85a6c1e2cea5570ea283
2009-02-12 09:36:15 +00:00
danielk1977
f7f33fb08a
Fix a case where during a rollback triggered by an IO or malloc error an unjournalled region of the database could be written to (with it's original data). This was causing an assert in test_journal.c to fail. Add a test case in ioerr2.test to trigger this case. (CVS 6286)
...
FossilOrigin-Name: 315a6692f9a03a470871cce4f74567683546f343
2009-02-12 09:11:56 +00:00
shane
ce14f6245e
Updated for Windows compatibility. Test scripts only. (CVS 6285)
...
FossilOrigin-Name: 2522ad1df3599fa71cd1d929142adaefaf3a4d67
2009-02-11 16:06:18 +00:00
drh
46f33ef93c
Continuing documentation refinements. Comment changes only. (CVS 6284)
...
FossilOrigin-Name: 83e8308435be8c954fe7a347a64f28abcb81437b
2009-02-11 15:23:35 +00:00
danielk1977
3d781c2176
Fix the backup.test script so that it works regardless of the value of SQLITE_TEMP_STORE and the initial contents of the file-system. (CVS 6283)
...
FossilOrigin-Name: da660ea73ac6627b4e71706b8cd464646ea66550
2009-02-11 15:11:00 +00:00
drh
ae1a880719
Add hyperlinks from sqlite3_limit() documention to the limits.html page.
...
Comment changes only - no changes to code. (CVS 6282)
FossilOrigin-Name: f0189ec8c9b5d1dfe1f5d93746cc7b5703a80de5
2009-02-11 15:04:40 +00:00
danielk1977
d6846d75ca
Fix the crashtest infrastructure so that it doesn't trigger the "don't write to the locking region" assert in os_unix.c. (CVS 6281)
...
FossilOrigin-Name: b7fd4615cd41179484bd44d2f4bd7aef04977911
2009-02-11 14:27:04 +00:00
danielk1977
4faa5f41b8
Modify the test_journal.c code to (1) account for the backup code writing to parts of the pending-byte page when changing a databases page-size, and (2) to avoid reading from the pending-byte page and triggering the assert in os_unix.c. Changes to test code only. (CVS 6280)
...
FossilOrigin-Name: 4879621658c2c785ab7b12dbae780901496d3a78
2009-02-11 07:38:11 +00:00
danielk1977
9ec30744bf
In test_mutex.c, zero the global structure staticly instead of in Sqlitetest_mutex_Init(). This is because Sqlitetest_mutex_Init() is now called by each thread during thread tests ((6193)). Test code changes only. (CVS 6279)
...
FossilOrigin-Name: 8b318b9385d0542ca56750b901c0c6b7d05ca634
2009-02-11 05:18:06 +00:00
danielk1977
2b754b4820
For the "onefile" demo, pass SQLITE_OPEN_TEMP_DB instead of MAIN_DB to the OS layer when opening the single file. This is to work around the assert() in os_unix.c that tests that the locking region is not written to. (CVS 6278)
...
FossilOrigin-Name: 2da076a2c1663e916dc50e5e1679be216922dfc5
2009-02-10 18:54:02 +00:00
danielk1977
b8f12c1201
Reduce the number of iterations in one of the savepoint4.test crash tests. (CVS 6277)
...
FossilOrigin-Name: fafb07b83721d67f6c6f3126c8de94b9b7efa519
2009-02-10 14:45:12 +00:00
danielk1977
2d42c2b247
Prevent code in test6.c from reading the 512 byte locking region (the PENDING_BYTE page) of a database file. Doing so triggers an assert failure in os_unix.c. (CVS 6276)
...
FossilOrigin-Name: 2a6a43169220fab5a15a786e2a464b90cb893179
2009-02-10 14:28:57 +00:00
drh
52224a73f1
Create links from backup API documentation to the backup application note.
...
Comment changes only - no changes to code. (CVS 6275)
FossilOrigin-Name: 85de23fb4e63e5c71480c4c34efec331e774d7fb
2009-02-10 13:41:42 +00:00
danielk1977
cd503d6a3b
Reenable triggering vdbe tracing by creating file-system entries. Add a (redundant) test that modifying the temp schema expires all prepared statements. (CVS 6274)
...
FossilOrigin-Name: f6590dac4612d0d05105fa820e8fcb80b5907a40
2009-02-10 11:17:43 +00:00
danielk1977
b632201d81
Do not always open a transaction on the temp database when writing to the main or another attached database. (CVS 6273)
...
FossilOrigin-Name: f76b0b8129657eace0a933ac1988b472d5e79c98
2009-02-10 10:44:42 +00:00
danielk1977
8e3e881a24
Fix a bug in test file misc7.test. No code changes. (CVS 6272)
...
FossilOrigin-Name: d919d2a14c8cbbda3fbd6fb2ddae174fa709177b
2009-02-10 05:45:41 +00:00
danielk1977
3d0cbc3362
Fix a problem in backup.c causing OsTruncate() to be called with an argument larger than the current file-size. (CVS 6271)
...
FossilOrigin-Name: b34bde80c7e2028baf7ba2ff26e587a63a170f3d
2009-02-09 18:55:45 +00:00
drh
08c6d4468c
Add assert() statements to os_unix.c which fire if there is a read or
...
write for the locking region of a database file. (CVS 6270)
FossilOrigin-Name: 93e792ffa88ba2e8422d041f36b70d9b2e220da2
2009-02-09 17:34:07 +00:00
drh
0daa002c7c
Better error message when DISTINCT is used on an aggregate function that
...
takes two or more arguments. Ticket #3641 . (CVS 6269)
FossilOrigin-Name: e20bf384668bcde7c2f2152ca88e28cf65a02679
2009-02-09 13:19:28 +00:00
danielk1977
09480a9dc2
Ignore the return structure of and F_GETLK fcntl() call on djgpp. Fix for #3642 . (CVS 6268)
...
FossilOrigin-Name: 8227af3463ded1c52d0a16c63b8dbc516eab57f0
2009-02-09 05:32:32 +00:00
danielk1977
53b6028b9c
Attempt to reproduce ticket #3643 . No luck yet. (CVS 6267)
...
FossilOrigin-Name: 8f2f98d247b04ae6bda34621e9ccdba904f34ad7
2009-02-09 05:18:33 +00:00
danielk1977
03ab035796
Changes to the backup API: (1) if a negative number is passed as the second argument to backup_step(), this is interpreted as "copy all remaining pages" and (2) if backup_finish() is called after backup_step() fails with a BUSY or LOCKED error, then this error is also returned by backup_finish() (same handling as for other errors encountered by backup_step()). (CVS 6266)
...
FossilOrigin-Name: 9b8c8b18cf6b7d44d5fd64760537bc030097756b
2009-02-06 05:59:44 +00:00
drh
f4883888ca
Fix a test case that was still using the old pending_byte mechanism. (CVS 6265)
...
FossilOrigin-Name: 08ec4f2c394ec834c20bfce0d98bbe6b4ce2be65
2009-02-05 17:00:54 +00:00
drh
ddb68e17fa
Fix the declaration of sqlite3PendingByte so that it works with the
...
amalgamation. (CVS 6264)
FossilOrigin-Name: 193c871f3d16ce982040334c543610d330117bd5
2009-02-05 16:53:43 +00:00
drh
c7a3bb94c2
Make the pending byte adjustable via sqlite3_test_control() on all builds,
...
not just on test builds. (CVS 6263)
FossilOrigin-Name: e8f192e2a93350a136d86bd9caceff65f52f3513
2009-02-05 16:31:45 +00:00
shane
f5d335f851
Fixed error detection in winTrucate() in os_win.c. Windows version only. Ticket #3640 . (CVS 6262)
...
FossilOrigin-Name: 82e03f1b5481c6fe5e94976f086e8fe8c99881af
2009-02-05 03:16:20 +00:00
shane
d20010c70e
Improved overrun detection in mem2.c (SQLITE_MEMDEBUG). Previously was only checking up to 3 extra bytes allocated due to rounding. (CVS 6261)
...
FossilOrigin-Name: a6fe3d6b02734b23fe067a373c0232024a782a6c
2009-02-05 03:00:06 +00:00
drh
dc2c491525
Add "backup" and "restore" methods to the TCL interfaces and test cases
...
to exercise those methods. (CVS 6260)
FossilOrigin-Name: e420a3cedc7ee086a77cd719f6b9fb85415eb5f3
2009-02-04 22:46:47 +00:00
drh
9ff849fc87
Add ".backup" and ".restore" commands to the CLI - implemented using the
...
new backup API. (CVS 6259)
FossilOrigin-Name: 003e1d62189e9e37f901d86a696cfccd22bd3b38
2009-02-04 20:55:57 +00:00
drh
bd4c35b999
Increase the version number to 3.6.11. (CVS 6258)
...
FossilOrigin-Name: 0882a028c8cee868bb79728499fb1fa7c0630fa6
2009-02-04 20:08:26 +00:00
drh
9e7ba7c69a
If the truncate operation fails in journalmode=TRUNCATE, do not fall back
...
to overwriting the journal header with zeros. Simply fail the operation. (CVS 6257)
FossilOrigin-Name: d4af60e52a12262ad0194908e68a386c719fe177
2009-02-04 19:16:23 +00:00
drh
b309becded
Simplify wording of backup API error message. Decapitalize some other
...
error messages. (CVS 6256)
FossilOrigin-Name: f92405afb649b698b735b423cd9195d4f8f137c9
2009-02-04 17:40:57 +00:00
drh
eef1eb0ff4
The sqlite3_backup_init() interface must lock the destination in case it
...
needs to change the error message. (CVS 6255)
FossilOrigin-Name: 572378d3a29c7d55fa4a15df14800c26d6c563a1
2009-02-04 16:56:19 +00:00
danielk1977
b48c1f192e
Fix a bug in test_malloc.c whereby running multi-threaded test cases could cause subsequent OOM tests to fail. (CVS 6254)
...
FossilOrigin-Name: 03ea9e591337a3c442080ee7cd01cc4ee85c1357
2009-02-04 15:27:40 +00:00
danielk1977
8a569e2936
Ensure that thread001.test and thread002.test reset the global shared-cache-enabled setting before they finish. (CVS 6253)
...
FossilOrigin-Name: 416288a9fa39c7c4d9d414de18edc0423ed83794
2009-02-04 11:57:46 +00:00
danielk1977
651a52fac2
Do not attempt to use the sub-journal file descriptor if it is not opened (as in journal_mode=off mode). Ticket #3636 . (CVS 6252)
...
FossilOrigin-Name: 20bd76055463c85f62a450e368f4bcf7d2215f94
2009-02-04 10:09:04 +00:00