danielk1977
ea142bb6e6
Modify the header comment in jrnlmode2.test. No code or test changes. (CVS 5100)
...
FossilOrigin-Name: ed728104c8e77a5526a2fcb62fea577940731d90
2008-05-07 15:44:25 +00:00
danielk1977
4acbba5bcc
Change the header comment in jrnlmode4.test. No changes to any code or tests. (CVS 5099)
...
FossilOrigin-Name: 0bf656a401b9fc16b33ecd49a6db9b769156494d
2008-05-07 15:42:24 +00:00
danielk1977
2a8ce735d1
If an error occurs within xAccess(), it should return -1. Remove an assert()
...
that was preventing it from doing so. (CVS 5098)
FossilOrigin-Name: 3fbcef46f7b6dcd20c1137692aa5bc0f64eaa3dd
2008-05-07 14:49:21 +00:00
drh
ef5a2e189f
Add a new I/O error test: ioerr4. (CVS 5097)
...
FossilOrigin-Name: c3ab1a7e2e40eb8f51f1b11bf0591e251d69882b
2008-05-07 13:28:38 +00:00
drh
6eac06e6e0
Fix a null-pointer dereference that can occur following a DISKFULL error
...
while running VACUUM. (CVS 5096)
FossilOrigin-Name: 438d77a762a6f3cc7438e4d688013cc26e3e9486
2008-05-07 12:45:41 +00:00
drh
64e2bb7610
Omit mutex variables in the pager when threadsafe is disabled. (CVS 5095)
...
FossilOrigin-Name: d15d0bbab043e4366f7988423115babb550198a1
2008-05-07 12:29:55 +00:00
danielk1977
0ba32df4f1
Fix a problem causing the database to be truncated to the wrong size after an incremental-vacuum is performed on a database in full auto-vacuum mode. (CVS 5094)
...
FossilOrigin-Name: ed98df24a3362c2d20f52bb1ce679787b3ee408b
2008-05-07 07:13:16 +00:00
mlcreech
1e12d43b48
Only look for config.h if the autoconf-based build is being used, and don't inline it into the amalgamation. (CVS 5093)
...
FossilOrigin-Name: 7df9ef2c8216133d50bf4737482f51193e8579b0
2008-05-07 02:42:01 +00:00
pweilbacher
ed66afb0f4
Fix most remaining testsuite failures on OS/2 by switching to exclusive locks that we meant to use from the start. (CVS 5092)
...
FossilOrigin-Name: 5f682c9a68853f33aac6a2ad3f91b1cdf17dcd73
2008-05-06 22:22:11 +00:00
pweilbacher
0e6cf0aa5d
The pathToDel element of the os2File structure should be in the local codepage instead of UTF-8 to make DosForceDelete() work. (CVS 5091)
...
FossilOrigin-Name: 76028b5e5d220e1d44667b2fef8bdfc580c913b0
2008-05-06 22:15:26 +00:00
pweilbacher
7c74f12615
Remove delOnClose flag from os2File structure, use pathToDel==NULL for the same check. (CVS 5090)
...
FossilOrigin-Name: 02e123bb9b3da81bc8ee8bab7a2c54bbaadc5123
2008-05-06 21:42:09 +00:00
danielk1977
06e11af9b7
Fix a bug whereby the database file was not always being extended to its original size when rolling back an incremental-vacuum operation. (CVS 5089)
...
FossilOrigin-Name: 4a1ae9d0320de1013a3b5f24ebdd25fe9fdab424
2008-05-06 18:13:26 +00:00
mlcreech
10b6c9ab37
Add defines for _FILE_OFFSET_BITS and _LARGE_FILES if needed for large file support.
...
Ticket #3094 . (CVS 5088)
FossilOrigin-Name: 729e2f06ba4030cc771fc876ddfd41866b8c0d93
2008-05-06 02:28:06 +00:00
mlcreech
636a995de9
Add AC_SYS_LARGEFILE to ensure large file support, update autotools-related files.
...
Ticket #3094 . (CVS 5087)
FossilOrigin-Name: 2b1e455c46a184311a3a2e83b4f9345d2e34f497
2008-05-05 22:52:56 +00:00
danielk1977
0259fbe881
Fix recently introduced test script error causing a failure in incrblob_err.test. (CVS 5086)
...
FossilOrigin-Name: 5e7c8ebd21915382280c146e7070481fa6a92eec
2008-05-05 17:14:53 +00:00
drh
65594045d0
Better error messages when trying to open a large file using a version
...
of SQLite that omits large file support. Tickets #3096 and #3094 . (CVS 5085)
FossilOrigin-Name: bdd89cd231745e6bd498b2751d7ff2cf6169b3eb
2008-05-05 16:56:34 +00:00
drh
4cea5baed6
Do not segfault in the CLI if sqlite3_open() fails to create a
...
database connection object. Ticket #3096 . (CVS 5084)
FossilOrigin-Name: 0bec7ebf41e9f52d3ef0449e27e3d631abfe948b
2008-05-05 16:27:24 +00:00
danielk1977
52b472aebf
If an IO error occurs while locking the database and checking the cache validity, unlock the database before returning. Ticket #3030 . (CVS 5083)
...
FossilOrigin-Name: 4ad1809192b616d1c12499825bcd0967dea76864
2008-05-05 16:23:55 +00:00
danielk1977
4abd5449e8
Avoid leaking page references after an IO error is encountered. (CVS 5082)
...
FossilOrigin-Name: 198c395b01140ef48b6913c00188ba7168bfb081
2008-05-05 15:26:50 +00:00
drh
344c38e340
Fix a couple of minor problems with transactions in virtual tables. (CVS 5081)
...
FossilOrigin-Name: 2275fc6ee06b17da5808cecfa5570ac6439eaf74
2008-05-05 13:23:04 +00:00
danielk1977
43e377af3f
Avoid leaking page references when database corruption is encountered. (CVS 5080)
...
FossilOrigin-Name: 270d47e8d0a20868879a95b66cb547e1e5b642d9
2008-05-05 12:09:32 +00:00
danielk1977
286d2f4a92
Fix to test code to build when ENABLE_IOTRACE is not defined. (CVS 5079)
...
FossilOrigin-Name: 8fa2bda4c594119cbbc489b9879c52b134a57711
2008-05-05 11:33:47 +00:00
drh
8a9c17f1d5
Make sure that when a connection is blocking on a RESERVED lock that it
...
continues after the lock is released. Ticket #3093 . (CVS 5078)
FossilOrigin-Name: 3dc334aa4a394e85858d2441225d64d73664b5b5
2008-05-02 14:23:54 +00:00
drh
8c23864c17
Add a test case for ticket #3093 . (CVS 5077)
...
FossilOrigin-Name: 288a7655c9a876abf53d92dc6599a9305399d562
2008-05-02 14:08:56 +00:00
drh
71c9cb74ae
Add another test case to verify that ticket #3092 has been fixed. (CVS 5076)
...
FossilOrigin-Name: 1906d2dadcd70053f55e2133af9f838e2d828fa7
2008-05-02 02:00:54 +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
26e4a8b11d
Fix more compiler warnings. (CVS 5074)
...
FossilOrigin-Name: 59568844e774dbe89fd20bbc8f49a3665cc54717
2008-05-01 17:16:52 +00:00
drh
e265b08458
Fix harmless compiler warnings. (CVS 5073)
...
FossilOrigin-Name: 227a6f67c21c87a7cf98f84b9d57a6dc9da93ebb
2008-05-01 17:03:49 +00:00
shane
356574e97a
Test versions of getVarint functions. The updates essentially utilize loop unrolling and some shifting/anding tricks to minimize the number of logical operations required. (CVS 5072)
...
FossilOrigin-Name: 682dc24dbe82d0326377e27c5ff97db3499873b0
2008-05-01 02:47:03 +00:00
drh
4697988687
Add comment to speculate when setting journal_mode=OFF on VACUUM does not
...
help performance. No changes to code. (CVS 5071)
FossilOrigin-Name: 9c8b4babb2222a5e0c2ecf7a116b7df90084c81d
2008-04-30 16:38:23 +00:00
shane
0068b225ff
Improved option handling in speedtest8.c. Added -quiet and -priority options. Added reporting of total user and system time. (CVS 5070)
...
FossilOrigin-Name: aa59974ec15508d69c5b65ab89ec7bc32690018c
2008-04-30 15:55:33 +00:00
danielk1977
f96d8aebf3
Fix test for buffer overrun in unixGettempname(). Fix for #3091 . (CVS 5069)
...
FossilOrigin-Name: fc0ca647bd1c7c953bb0f3eb7d3471572fd18c34
2008-04-30 08:56:10 +00:00
drh
bf8a4341f1
Zero the per-pager temporary space allocation to avoid warnings from
...
valgrind. (CVS 5068)
FossilOrigin-Name: f854ae576ee0b223b86a1169178fc4399e8d08ce
2008-04-29 15:38:58 +00:00
drh
e509094bee
Fix a potential buffer overrun in sqlite3_mprintf() when a non-terminated
...
string is passed to a "%s" format with a precision specifying the number
of bytes to copy. (CVS 5067)
FossilOrigin-Name: 1f5b18419bb4e2552ac26593381e2eb866bb67fd
2008-04-29 15:22:27 +00:00
drh
2eaf93d34f
Always convert IEEE NaN into NULL. Ticket #3060 . Add test cases to verify
...
that this is happening. (CVS 5066)
FossilOrigin-Name: 9b07e59e510e2de39c2081653662fbc654ca6fbb
2008-04-29 00:15:20 +00:00
drh
7d133d8889
Allow SQLITE_MAX_COLUMN to be set to zero at compile-time in order to
...
disable the checks. Also SQLITE_MAX_EXPR_DEPTH. Ticket #3069 . (CVS 5065)
FossilOrigin-Name: e6f71abb22fb74e5910d817caec98fa44070fc5f
2008-04-28 20:35:48 +00:00
drh
cd3dd9d343
Add test cases to verify that multiple virtual tables can be updated
...
within a trigger and that xSync, xCommit, and xRollback are never called
except following xBegin or xCreate. Ticket #3083 . (CVS 5064)
FossilOrigin-Name: 76175199ac2fda57e616eb386ba0bad6aa9f74b4
2008-04-28 20:27:53 +00:00
drh
4f3dd1502e
Make sure that transactions are started on all virtual tables that
...
changes in a single statement, not just the first. Ticket #3083 .
Need to add test cases. (CVS 5063)
FossilOrigin-Name: 133b7ee50ea6012739ebe0e334374c5d9b1fcc7f
2008-04-28 18:46:43 +00:00
shane
952856ad3a
Modified Varint32 functions to disable code for single-byte handling as it is already handled by their respective macro forms. (CVS 5062)
...
FossilOrigin-Name: be10f5dda6e9c245c05b51840c173e83ece6b245
2008-04-28 17:41:30 +00:00
drh
82286fd237
Add tests to create and drop a virtual table during a recursive call from
...
an application-defined function. Ticket #3080 . (CVS 5061)
FossilOrigin-Name: d4d6eff353edd5680776436ab3406227b8c830b3
2008-04-28 17:12:10 +00:00
drh
0de3ae95d5
Change the implementation of the NaN recognition to be more cross-platform.
...
Ticket #3089 . (CVS 5060)
FossilOrigin-Name: 07fd9a8c6ca0876f7ec447ce65173957005dc75c
2008-04-28 16:55:26 +00:00
danielk1977
f51bf48b32
Fix a shared-cache mode problem triggered when sqlite3_open16() was used to open the second or subsequent connections to a utf-8 database. (CVS 5059)
...
FossilOrigin-Name: 20946bf6dd704416c41edd863103e85fc7ab4ef2
2008-04-28 16:19:35 +00:00
drh
394f07ef8c
Work around a NaN bug in some versions of Tcl. (CVS 5058)
...
FossilOrigin-Name: 7bf8213ce9f591f4c2ef6c1e19a17712e3bae9e3
2008-04-28 15:23:02 +00:00
drh
d65e530b7c
Changes to test scripts to accommodate different architectures and different
...
versions of Tcl. (CVS 5057)
FossilOrigin-Name: 8eb2c07c520c12c2cd4610596dbec451c8275e95
2008-04-28 13:02:57 +00:00
drh
06af763e30
Restore the #include of stdint.h removed in (5051). (CVS 5056)
...
FossilOrigin-Name: e96e8b9b4137c3ea239674683cf9fd8682851908
2008-04-28 12:54:15 +00:00
drh
460e290006
Delete requirement F12764 as it has never been implemented and the
...
same effect can be easily achieved by other means. Ticket #3085 . (CVS 5055)
FossilOrigin-Name: fadeed998e63c2fd94811b911cf263713c5fcdca
2008-04-27 22:48:04 +00:00
drh
e1b3e8064e
Fix the documentation to agree with long-standing behavior for the
...
sqlite3_bind_parameter_name() interface on an ?NNN parameter.
Ticket #2975 . (CVS 5054)
FossilOrigin-Name: df9991d5bbc6d90087f022c55b070c11dc510077
2008-04-27 22:29:01 +00:00
drh
a5808f31f0
Allow multiple occurrances of %include in lemon input files.
...
Ticket #3001 . (CVS 5053)
FossilOrigin-Name: f22fa11bde0b77cfc5ff438f2ec6ab95dc87c291
2008-04-27 22:19:44 +00:00
drh
7f7c257b6b
Fix the lemon parser generator so that it works again with the "error"
...
symbol. Ticket #3079 (CVS 5052)
FossilOrigin-Name: 20ed749266d099eb35f40ca479db8baa75186b60
2008-04-27 18:45:10 +00:00
drh
7209c697a1
Remove all references to sqlite3_intptr_t. (CVS 5051)
...
FossilOrigin-Name: 6a94d19747a05df2694d3720f76de3dab3836578
2008-04-27 18:40:11 +00:00