]>
git.ipfire.org Git - thirdparty/sqlite.git/log
danielk1977 [Thu, 5 Apr 2007 11:54:42 +0000 (11:54 +0000)]
Add some assert() statements to pager.c. (CVS 3811)
FossilOrigin-Name:
973b2a5fb56a1ed1fd10d062edcb6e6dad13f001
drh [Thu, 5 Apr 2007 11:25:58 +0000 (11:25 +0000)]
Improvements to coverage testing. (CVS 3810)
FossilOrigin-Name:
38af156da83a8469080ddb75a9a286be33ff6bef
danielk1977 [Thu, 5 Apr 2007 08:40:32 +0000 (08:40 +0000)]
Catch an IO error case introduced by (3808). (CVS 3809)
FossilOrigin-Name:
383a08e26083964e79bfe22156f5f554522fa1fb
danielk1977 [Thu, 5 Apr 2007 05:46:14 +0000 (05:46 +0000)]
Zero cached pages located beyond the end of the file before returning them. Ticket #2285. (CVS 3808)
FossilOrigin-Name:
5180810eeaa3dfe3d934af0732a920ae117ec69f
drh [Wed, 4 Apr 2007 01:27:44 +0000 (01:27 +0000)]
Test coverage improvements. (CVS 3807)
FossilOrigin-Name:
25f49acc5662ed8dd321b83a60aeeab93a37e129
danielk1977 [Tue, 3 Apr 2007 16:13:51 +0000 (16:13 +0000)]
Add Tcl (flush) commands to exclusive2.test, which is failing on some systems but not others. (CVS 3806)
FossilOrigin-Name:
9e004c519a30257fe3230ac7af630d296e139c9e
drh [Mon, 2 Apr 2007 22:19:38 +0000 (22:19 +0000)]
Fix to Makefile.in so that "make test" works. (CVS 3805)
FossilOrigin-Name:
f592dd2d997064cda57b549901a2bcc14498b650
drh [Mon, 2 Apr 2007 18:06:57 +0000 (18:06 +0000)]
Do not use the second parameter to gettimeofday() on unix. Pass it a NULL. (CVS 3804)
FossilOrigin-Name:
96b678818c9a536b77f10b25256facf4bff1ff65
drh [Mon, 2 Apr 2007 17:54:56 +0000 (17:54 +0000)]
Fix a union initializer so that it works with the Borland compiler. (CVS 3803)
FossilOrigin-Name:
a067f78bf6a45d68ee1337115704cda2041919f4
danielk1977 [Mon, 2 Apr 2007 16:46:23 +0000 (16:46 +0000)]
Add a different form of I/O tests. So far has failed to expose new bugs. (CVS 3802)
FossilOrigin-Name:
9e1295428f476dba21c28149c7983f66a9134559
drh [Mon, 2 Apr 2007 16:45:12 +0000 (16:45 +0000)]
If preprocessor macro OS_OTHER is defined, then ignore OS_UNIX, OS_WIN, and
OS_OS2. This makes it easier to add proprietary backends.. (CVS 3801)
FossilOrigin-Name:
4fdafd3f583b1ec4aa7fb6a9b5de2f52a375832b
drh [Mon, 2 Apr 2007 16:40:37 +0000 (16:40 +0000)]
Provide a compile-time option to enable exclusive access mode by default. (CVS 3800)
FossilOrigin-Name:
93a41510f02dc5649dbbc22c4e4fbee545bd76d8
drh [Mon, 2 Apr 2007 15:31:48 +0000 (15:31 +0000)]
Version 3.3.14 (CVS 3799)
FossilOrigin-Name:
3dbf4f98accf3f4fd78e39448e68dd3bd85bdf10
drh [Mon, 2 Apr 2007 15:29:32 +0000 (15:29 +0000)]
Changes to the download page. (CVS 3798)
FossilOrigin-Name:
de8055bcd678034b1ba1fe40d46a7fb60ee598f8
drh [Mon, 2 Apr 2007 15:04:34 +0000 (15:04 +0000)]
Update the build scripts and the homepage in preparation for version 3.3.14. (CVS 3797)
FossilOrigin-Name:
a154224b329423aef622be539f6e7dfb76dc4c21
danielk1977 [Mon, 2 Apr 2007 14:19:16 +0000 (14:19 +0000)]
Cover an extra case in sqlite3PagerMovepage(). (CVS 3796)
FossilOrigin-Name:
7313688bd03141381067c36800edf1621a2ea05e
danielk1977 [Mon, 2 Apr 2007 12:29:01 +0000 (12:29 +0000)]
Fix for #2281. This was a problem with the test-case only. (CVS 3795)
FossilOrigin-Name:
c036db6251ca4671fc3388a4f37955c18adeca1d
danielk1977 [Mon, 2 Apr 2007 12:28:27 +0000 (12:28 +0000)]
Cover a corrupt-db case in pager.c. (CVS 3794)
FossilOrigin-Name:
84077fa1602756339a262bc4ab51b6b487edc637
drh [Mon, 2 Apr 2007 12:22:44 +0000 (12:22 +0000)]
In the amalgamation, put date.c before os.c so that the time_t typedef
can be correctly resolved by windows compilers. (CVS 3793)
FossilOrigin-Name:
9c5697c70fa850ea700e8cc0c918791a1628ab10
drh [Mon, 2 Apr 2007 11:22:22 +0000 (11:22 +0000)]
If an IO error is encountered on a commit, close the journal so that it
persists and can (hopefully) rollback the failed transaction later. (CVS 3792)
FossilOrigin-Name:
22e10cc24e4407feb276abfa8cc9964f20c6e54a
danielk1977 [Mon, 2 Apr 2007 11:08:58 +0000 (11:08 +0000)]
Correctly handle the obscure case of a read-only hot-journal file. (CVS 3791)
FossilOrigin-Name:
4d8c6bf44ec00ec04e615983cb33425ca2c3998a
danielk1977 [Mon, 2 Apr 2007 05:07:47 +0000 (05:07 +0000)]
Fix a resource leak introduced by the change-counter optimisation. Also add some test coverage. (CVS 3790)
FossilOrigin-Name:
ba0538a4977aefd6645554f1989f0a98b540b9cd
drh [Mon, 2 Apr 2007 00:53:18 +0000 (00:53 +0000)]
Update the version number and change comments in preparation for the
release of 3.3.14. (CVS 3789)
FossilOrigin-Name:
d9f6fdb72b29354921e6de40df5ed4f86b158a01
drh [Sun, 1 Apr 2007 23:49:51 +0000 (23:49 +0000)]
Fix some warnings about unused and uninitialized variables. (CVS 3788)
FossilOrigin-Name:
18aec1ddfb08b74f0ef9cf1215eac7af71449db3
drh [Sun, 1 Apr 2007 18:46:19 +0000 (18:46 +0000)]
Make unix builds threadsafe by default. (CVS 3787)
FossilOrigin-Name:
ddfc3b2df0b37be66fc55bb216cdcb6ba67aa7fd
drh [Sun, 1 Apr 2007 01:57:41 +0000 (01:57 +0000)]
Fix typos in the amalgamation builder script. (CVS 3786)
FossilOrigin-Name:
a5070a2d11b4dad550a889d5fc005302208b6d75
drh [Sat, 31 Mar 2007 22:34:16 +0000 (22:34 +0000)]
Improvements to the output of the speed tests. (CVS 3785)
FossilOrigin-Name:
1a4d8024b06488f17831b5d3d47e41c5f1134800
drh [Sat, 31 Mar 2007 22:33:48 +0000 (22:33 +0000)]
Remove unreachable code from util.c. (CVS 3784)
FossilOrigin-Name:
82b7a6f05c737f6ad4a21f354e55ec268fa1b032
drh [Sat, 31 Mar 2007 22:29:05 +0000 (22:29 +0000)]
Add the amalgamation generator to the makefile. (CVS 3783)
FossilOrigin-Name:
a0f3c960fa3e958e12bc488451ee2d637562909b
drh [Sat, 31 Mar 2007 16:29:06 +0000 (16:29 +0000)]
Fix the amalgamation so that it can be compiled with REDEF_IO enabled. (CVS 3782)
FossilOrigin-Name:
6a3d6142d8be18bf2a9913f0329bcce48867304b
drh [Sat, 31 Mar 2007 15:27:59 +0000 (15:27 +0000)]
Increase test coverage by statically defining SQLITE_BIGENDIAN and related
macros for ix86 platforms. Still a run-time test for other architectures.
Need to add additional cases to cover other popular processors. (CVS 3781)
FossilOrigin-Name:
476e7c3fcc69d8b21d161c758aaa5ef7163abb15
drh [Sat, 31 Mar 2007 15:02:49 +0000 (15:02 +0000)]
Improved test coverage for printf.c. (CVS 3780)
FossilOrigin-Name:
c2badb208ff1207a1471410965947893b070ea50
drh [Sat, 31 Mar 2007 13:00:26 +0000 (13:00 +0000)]
The XFER optimization works if the target table lacks an integer primary
key and is not empty as long as it has no indices. It always has and
continues to work if the target table was empty. (CVS 3779)
FossilOrigin-Name:
2c62ffcb865655e8b91aaf81601548ea540c6088
danielk1977 [Sat, 31 Mar 2007 10:00:48 +0000 (10:00 +0000)]
More coverage for pager.c. (CVS 3778)
FossilOrigin-Name:
665b119a241a5a95f236b3ace1b25fc18ae6f0a3
drh [Sat, 31 Mar 2007 03:59:23 +0000 (03:59 +0000)]
Fix a long-standing memory leak in the hash table. The leak only appears
following a malloc failure of a hash that copies its keys, which rarely
happens and so we have not previously noticed it. (CVS 3777)
FossilOrigin-Name:
2aae1964572f4d4d1eae090a997e0bd9a82a69b2
drh [Sat, 31 Mar 2007 02:36:44 +0000 (02:36 +0000)]
Fix a large memory leak in the btree layer
that occurs following an I/O error when in shared cache mode. (CVS 3776)
FossilOrigin-Name:
dce4cb84930116db99275f77141fd933bc84288e
drh [Sat, 31 Mar 2007 01:34:44 +0000 (01:34 +0000)]
Fix memory leaks in WHERE clause processing and in TRIGGER parsing. (CVS 3775)
FossilOrigin-Name:
6736f4547c0cc2123d1a19ed2d6915712718d22e
drh [Fri, 30 Mar 2007 20:46:13 +0000 (20:46 +0000)]
Remove vestiges of SQLITE_PROTOCOL from the test scripts. (CVS 3774)
FossilOrigin-Name:
e5e8d56397acf041aeaf5361381eb22eb1554759
drh [Fri, 30 Mar 2007 20:43:40 +0000 (20:43 +0000)]
Remove vestiges of the SQLITE_PROTOCOL error. (CVS 3773)
FossilOrigin-Name:
6dfd4a12a8a03c204505e7a211e179b7dd47e4fb
drh [Fri, 30 Mar 2007 20:40:34 +0000 (20:40 +0000)]
Fix a memory leak that occurs after a malloc failure in trigger parsing. (CVS 3772)
FossilOrigin-Name:
407a85e69b7a1229218a5ce9a9e31255c7070294
drh [Fri, 30 Mar 2007 18:42:55 +0000 (18:42 +0000)]
Fix a memory leak in multi-database commit. Also enhance a comment that
explains why a particular valgrind error is harmless. (CVS 3771)
FossilOrigin-Name:
28c7ed1eb799203a569cdae97da974b347f39579
danielk1977 [Fri, 30 Mar 2007 18:21:52 +0000 (18:21 +0000)]
Coverage testing for a few lines in pager.c. (CVS 3770)
FossilOrigin-Name:
c1aca18fad35be60066a08f5bd09772d24375af6
drh [Fri, 30 Mar 2007 17:18:50 +0000 (17:18 +0000)]
Remove asserts on the existing of journal files in pager - asserts that
are not valid for certain kinds of simulated I/O errors or for async I/O. (CVS 3769)
FossilOrigin-Name:
f5fad52a97a16faddc2701ea0e05a301974eda1a
drh [Fri, 30 Mar 2007 17:17:51 +0000 (17:17 +0000)]
Get the memleak.test script working again after recent changes. (CVS 3768)
FossilOrigin-Name:
cd6ca078e3402f06836b6b510a4a431f576f7219
danielk1977 [Fri, 30 Mar 2007 17:11:12 +0000 (17:11 +0000)]
Coverage tests for some pragmas. (CVS 3767)
FossilOrigin-Name:
eec7ab63beed875a3b16c3bf8d28ac4f296dfb4c
drh [Fri, 30 Mar 2007 16:01:55 +0000 (16:01 +0000)]
Always enable exclusive access mode for TEMP databases. This cannot be
changed. The locking_mode pragma has not effect on the TEMP database. (CVS 3766)
FossilOrigin-Name:
04d3b9098ed06d5be24253edde50ea61b4641df8
danielk1977 [Fri, 30 Mar 2007 14:56:34 +0000 (14:56 +0000)]
Coverage improvements for where.c. (CVS 3765)
FossilOrigin-Name:
df64894bacd8023cf3c5939f062c8463ff5cdc04
danielk1977 [Fri, 30 Mar 2007 14:56:34 +0000 (14:56 +0000)]
Coverage improvements for where.c. (CVS 3764)
FossilOrigin-Name:
7e0aa964129612e2bad6fa45139d124f19cacd48
drh [Fri, 30 Mar 2007 14:46:01 +0000 (14:46 +0000)]
Tease apart the two phases of pager commit. (CVS 3763)
FossilOrigin-Name:
e5f17078a28b6a47d6943d40c526390c36258392
drh [Fri, 30 Mar 2007 14:06:34 +0000 (14:06 +0000)]
Refactoring the btree and pager routines into distinct two-phase commit
routines. We've always done a two-phase commit - this change is just
making that more apparent in the code. (CVS 3762)
FossilOrigin-Name:
66b3ad09ea657d25d48cb75ec2671ea2dc1b6005
drh [Fri, 30 Mar 2007 13:35:05 +0000 (13:35 +0000)]
Make yypMinor available to the stack overflow callbacks in lemon
generated parsers. This does not effect SQLite. (CVS 3761)
FossilOrigin-Name:
70c8c7e2ce5213778e63c200a6637849920deea6
drh [Fri, 30 Mar 2007 13:01:32 +0000 (13:01 +0000)]
Avoid using the "clock" command in test scripts since it is a proc in Tcl8.5
and is thus not available to testfixture. (CVS 3760)
FossilOrigin-Name:
339941d83ae397d69084f41483afb1ea44d44967
drh [Fri, 30 Mar 2007 11:29:32 +0000 (11:29 +0000)]
Move the sqlite3_temp_directory global variable out of the OS porting layer
and into main.c so that it is more accessible to non-standard OS porting
layers. (CVS 3759)
FossilOrigin-Name:
23653f7aab6609f69948a7366bef9ebd0fd4d0b1
drh [Fri, 30 Mar 2007 11:23:45 +0000 (11:23 +0000)]
Remove the anonymous union from the sqlite3_value structure since some
compilers are unable to deal with it. (CVS 3758)
FossilOrigin-Name:
6b995259bc974519379dee55c1ef00d28c76bf21
drh [Fri, 30 Mar 2007 11:12:08 +0000 (11:12 +0000)]
Comment changes in btree.c and added a missing "else" in pragma.c. (CVS 3757)
FossilOrigin-Name:
9a7d7e31908e9bac14a68bbc2fb4e1ca593ea234
danielk1977 [Fri, 30 Mar 2007 09:13:13 +0000 (09:13 +0000)]
Test coverage a few extra lines in where.c. (CVS 3756)
FossilOrigin-Name:
ea49ddf64aa6073b8018dc2faaf199704d359412
danielk1977 [Fri, 30 Mar 2007 07:10:50 +0000 (07:10 +0000)]
Extra test cases to improve coverage of main.c. (CVS 3755)
FossilOrigin-Name:
19fc3d78962d225d42372b9298be5921ec1fc8a1
drh [Thu, 29 Mar 2007 20:19:58 +0000 (20:19 +0000)]
Assume any return code from fcntl() other than -1 is success. Formerly we
only assumed that 0 was success. Ticket #2173. (CVS 3754)
FossilOrigin-Name:
8d0073c0e8408558dae39f789ac3fa2622b52365
drh [Thu, 29 Mar 2007 20:13:53 +0000 (20:13 +0000)]
Fix to token destructors in Lemon. This does not impact SQLite. Ticket #2175. (CVS 3753)
FossilOrigin-Name:
6195af49828bf04b61d24f116339780d3eb926a1
drh [Thu, 29 Mar 2007 18:46:00 +0000 (18:46 +0000)]
Add the sqlite3_clear_bindings() API to the loadable extension interface.
Ticket #2135. (CVS 3752)
FossilOrigin-Name:
3111b43ec333f3342f9609bf441160040f3d1501
shess [Thu, 29 Mar 2007 18:41:03 +0000 (18:41 +0000)]
Buffer updates per-transaction rather than per-update. If lots of
updates happen within a single transaction, there was a lot of wasted
encode/decode overhead due to segment merges. This code buffers
updates in memory and writes out larger level-0 segments. It only
works when documents are presented in ascending order by docid.
Comparing a test set running 100 documents per transaction, the total
runtime is cut almost in half. (CVS 3751)
FossilOrigin-Name:
0229cba69698ab4b44f8583ef50a87c49422f8ec
drh [Thu, 29 Mar 2007 18:19:52 +0000 (18:19 +0000)]
Change the name of PAGER_SECTOR_SIZE to SQLITE_DEFAULT_SECTOR_SIZE. Make
the new OS-layer interface routine for finding sector size optional. (CVS 3750)
FossilOrigin-Name:
0fb9af1d6e20bf25511c6d2097937cc11137776e
drh [Thu, 29 Mar 2007 17:57:21 +0000 (17:57 +0000)]
Make sure the strftime() date conversions put in leading zeros correctly.
Ticket #2276. (CVS 3749)
FossilOrigin-Name:
e853067ec4db3eedfb4adcdd4172de2c55b9ac58
danielk1977 [Thu, 29 Mar 2007 17:28:14 +0000 (17:28 +0000)]
Avoid calling OsDelete() on journal files when they are opened for temporary databases. Fix for #2255. (CVS 3748)
FossilOrigin-Name:
e746832f5f3e1c58e6f6456866156824d23dd846
danielk1977 [Thu, 29 Mar 2007 17:07:52 +0000 (17:07 +0000)]
Add a couple of test cases to improve coverage testing. (CVS 3747)
FossilOrigin-Name:
0b22ce3637f87c453084c5bd994b6b19a0b014c0
shess [Thu, 29 Mar 2007 16:30:38 +0000 (16:30 +0000)]
Don't call ctype functions on hi-bit chars. Some platforms raise
assertions when this occurs, and it's almost certainly not the right
thing to do in the first place. (CVS 3746)
FossilOrigin-Name:
f6c3abdc6c5e916e5366ba28fb1cd06ca3554303
danielk1977 [Thu, 29 Mar 2007 15:00:52 +0000 (15:00 +0000)]
Assume the malloc-failed flag cannot already be set when calling sqlite3_errmsg(16)(). (CVS 3745)
FossilOrigin-Name:
54fa22273d551e00e1abd86992ff7c62ec4e0daf
drh [Thu, 29 Mar 2007 13:35:35 +0000 (13:35 +0000)]
Fix a bug in XFER optimization introduced by check-in (3736). (CVS 3744)
FossilOrigin-Name:
3714ac173289e580a0302a5a3beac05823d92c5b
danielk1977 [Thu, 29 Mar 2007 12:24:16 +0000 (12:24 +0000)]
Explicitly test some error cases that up until now have not been checked. (CVS 3743)
FossilOrigin-Name:
0b7bd9c315501743e2364ecccefeeba326d5df51
danielk1977 [Thu, 29 Mar 2007 12:19:11 +0000 (12:19 +0000)]
Explicitly test some error cases that up until now have not been checked. (CVS 3742)
FossilOrigin-Name:
f26b014109b1b20367044c5d3fcb347af73d07aa
drh [Thu, 29 Mar 2007 05:51:49 +0000 (05:51 +0000)]
Change BtreeMoveto so that it can be biased to the right or to the center.
Use a right bias when appending and a center bias when searching. This
gives about a 15% reduction in calls to sqlite3VdbeRecordCompare. (CVS 3741)
FossilOrigin-Name:
ad4a6b1a91bcefd8a4c75e8dc99c1153c72c31a3
drh [Thu, 29 Mar 2007 04:43:26 +0000 (04:43 +0000)]
Bias the b-tree binary search toward the high end. The common case is to
append data and this heuristic makes append run much faster because there
are fewer comparisons. (CVS 3740)
FossilOrigin-Name:
a9877f616b24737152627841fcbd80cc28426f1e
drh [Thu, 29 Mar 2007 02:26:45 +0000 (02:26 +0000)]
Get LEMON working again when YYSTACKDEPTH is greater than zero. (CVS 3739)
FossilOrigin-Name:
e72c81dbb309709462e49c4e3e90c3e16ead1265
drh [Thu, 29 Mar 2007 01:44:45 +0000 (01:44 +0000)]
Lemon change: compile the resulting parser with -DYYSTACKDEPTH=0 or set
the "%stack_size" parameter to 0 in the grammar and the parser stack
will be dynamically allocated using realloc() and free(). The default
behavior is to have a finite depth stack. (CVS 3738)
FossilOrigin-Name:
06719b741ab1a2df0371f6d587563cc81eb8880a
drh [Thu, 29 Mar 2007 00:08:24 +0000 (00:08 +0000)]
Patch so the the code compiles with -DSQLITE_OMIT_CHECK=1. (CVS 3737)
FossilOrigin-Name:
72cea358da4bd38af322f18f2a753171f7decaf8
drh [Wed, 28 Mar 2007 18:04:10 +0000 (18:04 +0000)]
Improvements to the XFER Optimization of the INSERT statement. (CVS 3736)
FossilOrigin-Name:
53fff7d1f2f829010a2641c7738538b3155da4b2
drh [Wed, 28 Mar 2007 14:30:06 +0000 (14:30 +0000)]
Correctly handle NULLs in IN operators. Ticket #2273.
The changes in where.c and in the WhereLevel.aInLoop structure are
not strictly necessary to fix this problem - they just make the code
easier to read. Only the change in OP_Next/OP_Prev operator of vdbe.c
is required. (CVS 3735)
FossilOrigin-Name:
26348556d824c032851e409ac510cddb55c200bf
drh [Wed, 28 Mar 2007 13:07:40 +0000 (13:07 +0000)]
Update comments in sqlite3.h. No changes to code. (CVS 3734)
FossilOrigin-Name:
1c2656fdf6176a7365db4e11f4bbf47721da72b4
drh [Wed, 28 Mar 2007 01:59:33 +0000 (01:59 +0000)]
Fix an memory allocation error revealed by malloc3.test. (CVS 3733)
FossilOrigin-Name:
0f7fdb022ca7c94f7d264192e18b6e2bd1e8cff4
drh [Tue, 27 Mar 2007 22:24:11 +0000 (22:24 +0000)]
The SQLITE_ENABLE_LOAD_EXTENSION macro enables the load_extension() SQL
function by default without having to invoke sqlite3_enable_load_extension()
first. (CVS 3732)
FossilOrigin-Name:
113aab2cdf4480683cd5e844b5a48dcc093792ff
drh [Tue, 27 Mar 2007 21:47:06 +0000 (21:47 +0000)]
Fix the prototype of the CodecAttach function in attach.c. (CVS 3731)
FossilOrigin-Name:
902413e81b1ae8bee09987c798622a55ab2a1504
danielk1977 [Tue, 27 Mar 2007 17:37:31 +0000 (17:37 +0000)]
Remove a c++ comment in pager.c. (CVS 3730)
FossilOrigin-Name:
e4452e8aede9282feaeeac19d0cdf82b01c3cc19
danielk1977 [Tue, 27 Mar 2007 16:19:51 +0000 (16:19 +0000)]
Test handling of IO errors that occur in OsDelete() or OsTruncate() operations. Also use an anonymous file for temporary storage during a VACUUM. (CVS 3729)
FossilOrigin-Name:
b24a6e7b024c8b9a0b6fd15bd8f247e458781ca2
drh [Tue, 27 Mar 2007 15:00:30 +0000 (15:00 +0000)]
Updates to the VACUUM documentation. Ticket #2257. (CVS 3728)
FossilOrigin-Name:
c61c97c978dab7535c94033631f5ad2355c55057
drh [Tue, 27 Mar 2007 14:44:50 +0000 (14:44 +0000)]
The -DSQLITE_OMIT_ATTACH=1 option now omits both the ATTACH and VACUUM
commands. Ticket #2268.
The regression test suite depends on both of these commands
and will not run if compiled with this option. (CVS 3727)
FossilOrigin-Name:
cbebfb89603044e48b3a87b79d1eefbbc5b4c8a5
drh [Tue, 27 Mar 2007 14:05:22 +0000 (14:05 +0000)]
Fix off-by-one errors in the header comments of btree.c. Ticket #2272. (CVS 3726)
FossilOrigin-Name:
a70ea7202d8ffb0321ff8f2e5036731bb1742eb8
drh [Tue, 27 Mar 2007 13:36:37 +0000 (13:36 +0000)]
More strict aliasing fixes. The single source file library now runs
successfully with -fstrict-alias. (CVS 3725)
FossilOrigin-Name:
c8a8a189a82500aab501e9949f5b197c0b80b3a9
drh [Tue, 27 Mar 2007 12:04:05 +0000 (12:04 +0000)]
Get the -DSQLITE_OMIT_XFER_OPT option working. Run speed tests on a full
regression. Add the script for generating sqlite3.c. (CVS 3724)
FossilOrigin-Name:
1dd9d0775a8199047de30218af71a31c731fedb1
drh [Tue, 27 Mar 2007 12:04:04 +0000 (12:04 +0000)]
Get the -DSQLITE_OMIT_XFER_OPT option working. Run speed tests on a full
regression. Add the script for generating sqlite3.c. (CVS 3723)
FossilOrigin-Name:
42c038518c4ba0ef827a5717d450f95165b3c729
drh [Mon, 26 Mar 2007 22:05:01 +0000 (22:05 +0000)]
Modify sources to that they can be combined into a single sqlite3.c source
file. Eliminate all type-pruned pointer warnings. (CVS 3722)
FossilOrigin-Name:
0b832e218ec12b0eb559e407d80aba6709e2ea85
drh [Mon, 26 Mar 2007 16:30:15 +0000 (16:30 +0000)]
Set the same random seed for the speed tests. (CVS 3721)
FossilOrigin-Name:
8fe317054982969ad539cdbf1b996b97d86ec4f2
danielk1977 [Mon, 26 Mar 2007 16:13:58 +0000 (16:13 +0000)]
Run some malloc() tests with exclusive-access mode. (CVS 3720)
FossilOrigin-Name:
9ebba469023723652c4dbba3d9982a64a1fb144f
danielk1977 [Mon, 26 Mar 2007 15:46:00 +0000 (15:46 +0000)]
Discard the pager-cache when the page-size is changed. (CVS 3719)
FossilOrigin-Name:
e4209f7193d160709b0d8b5cd358df5649a97dc0
drh [Mon, 26 Mar 2007 13:48:12 +0000 (13:48 +0000)]
Avoid unnecessary calls to pager_unwritelock() when in exclusive-access mode.
Add the speed2.test script to the test suite. (CVS 3718)
FossilOrigin-Name:
ab53f5086334ea2f6c20c8f9d043baff39fae8d7
danielk1977 [Mon, 26 Mar 2007 12:26:27 +0000 (12:26 +0000)]
Run some malloc() tests with exclusive-access mode. (CVS 3717)
FossilOrigin-Name:
127454903764daff17390941a002f527ee2ffc87
danielk1977 [Mon, 26 Mar 2007 10:27:18 +0000 (10:27 +0000)]
Add some tests and fixes surrounding exclusive-access mode and the pager change-counter. (CVS 3716)
FossilOrigin-Name:
72cb2e1a73cd09d32900bb473377f66ff55058fb
danielk1977 [Mon, 26 Mar 2007 08:41:12 +0000 (08:41 +0000)]
Add some documentation for pragma locking_mode. (CVS 3715)
FossilOrigin-Name:
394b174e59262a84c530ea73c367d8c389a681b5
danielk1977 [Mon, 26 Mar 2007 08:05:12 +0000 (08:05 +0000)]
Some fixes and test cases for exclusive access mode. (CVS 3714)
FossilOrigin-Name:
899e60707bea0fabab2ff3ac8a3fbb676a539120
drh [Sun, 25 Mar 2007 19:08:46 +0000 (19:08 +0000)]
Add the sqlite3_prepare_v2 and sqlite3_prepare16_v2 APIs to the loadable
extension interface. (CVS 3713)
FossilOrigin-Name:
f02ba56d5c6bbd57682a6bb57e9f92021dfb066e
danielk1977 [Sat, 24 Mar 2007 16:45:04 +0000 (16:45 +0000)]
Changes for exclusive access mode. There are still some bugs. (CVS 3712)
FossilOrigin-Name:
b6c700370be29db2b974f9abd719c3e56abf8058