Commit Graph

3790 Commits

Author SHA1 Message Date
drh 5f9c1a2cbd Test coverage improvements. (CVS 3807)
FossilOrigin-Name: 25f49acc5662ed8dd321b83a60aeeab93a37e129
2007-04-04 01:27:44 +00:00
danielk1977 3fb79c8346 Add Tcl (flush) commands to exclusive2.test, which is failing on some systems but not others. (CVS 3806)
FossilOrigin-Name: 9e004c519a30257fe3230ac7af630d296e139c9e
2007-04-03 16:13:51 +00:00
drh 3f400ea5da Fix to Makefile.in so that "make test" works. (CVS 3805)
FossilOrigin-Name: f592dd2d997064cda57b549901a2bcc14498b650
2007-04-02 22:19:38 +00:00
drh bdcc276e94 Do not use the second parameter to gettimeofday() on unix. Pass it a NULL. (CVS 3804)
FossilOrigin-Name: 96b678818c9a536b77f10b25256facf4bff1ff65
2007-04-02 18:06:57 +00:00
drh c94d9c776c Fix a union initializer so that it works with the Borland compiler. (CVS 3803)
FossilOrigin-Name: a067f78bf6a45d68ee1337115704cda2041919f4
2007-04-02 17:54:56 +00:00
danielk1977 8d96eb0fac Add a different form of I/O tests. So far has failed to expose new bugs. (CVS 3802)
FossilOrigin-Name: 9e1295428f476dba21c28149c7983f66a9134559
2007-04-02 16:46:23 +00:00
drh ee2ce18189 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
2007-04-02 16:45:12 +00:00
drh 8fd5bd3608 Provide a compile-time option to enable exclusive access mode by default. (CVS 3800)
FossilOrigin-Name: 93a41510f02dc5649dbbc22c4e4fbee545bd76d8
2007-04-02 16:40:37 +00:00
drh 4cfaceb8b0 Version 3.3.14 (CVS 3799)
FossilOrigin-Name: 3dbf4f98accf3f4fd78e39448e68dd3bd85bdf10
2007-04-02 15:31:48 +00:00
drh aaecb467e9 Changes to the download page. (CVS 3798)
FossilOrigin-Name: de8055bcd678034b1ba1fe40d46a7fb60ee598f8
2007-04-02 15:29:32 +00:00
drh 611c8caec3 Update the build scripts and the homepage in preparation for version 3.3.14. (CVS 3797)
FossilOrigin-Name: a154224b329423aef622be539f6e7dfb76dc4c21
2007-04-02 15:04:34 +00:00
danielk1977 aeba431fa9 Cover an extra case in sqlite3PagerMovepage(). (CVS 3796)
FossilOrigin-Name: 7313688bd03141381067c36800edf1621a2ea05e
2007-04-02 14:19:16 +00:00
danielk1977 cd1aa9000f Fix for #2281. This was a problem with the test-case only. (CVS 3795)
FossilOrigin-Name: c036db6251ca4671fc3388a4f37955c18adeca1d
2007-04-02 12:29:01 +00:00
danielk1977 ead8e3f45e Cover a corrupt-db case in pager.c. (CVS 3794)
FossilOrigin-Name: 84077fa1602756339a262bc4ab51b6b487edc637
2007-04-02 12:28:27 +00:00
drh a55ca9e109 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
2007-04-02 12:22:44 +00:00
drh 01fa4c349f 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
2007-04-02 11:22:22 +00:00
danielk1977 08d31a2a6d Correctly handle the obscure case of a read-only hot-journal file. (CVS 3791)
FossilOrigin-Name: 4d8c6bf44ec00ec04e615983cb33425ca2c3998a
2007-04-02 11:08:58 +00:00
danielk1977 241687280b Fix a resource leak introduced by the change-counter optimisation. Also add some test coverage. (CVS 3790)
FossilOrigin-Name: ba0538a4977aefd6645554f1989f0a98b540b9cd
2007-04-02 05:07:47 +00:00
drh 3057aaaa9c Update the version number and change comments in preparation for the
release of 3.3.14. (CVS 3789)

FossilOrigin-Name: d9f6fdb72b29354921e6de40df5ed4f86b158a01
2007-04-02 00:53:18 +00:00
drh 61fc595fdd Fix some warnings about unused and uninitialized variables. (CVS 3788)
FossilOrigin-Name: 18aec1ddfb08b74f0ef9cf1215eac7af71449db3
2007-04-01 23:49:51 +00:00
drh 2c547df6cf Make unix builds threadsafe by default. (CVS 3787)
FossilOrigin-Name: ddfc3b2df0b37be66fc55bb216cdcb6ba67aa7fd
2007-04-01 18:46:19 +00:00
drh 19df335841 Fix typos in the amalgamation builder script. (CVS 3786)
FossilOrigin-Name: a5070a2d11b4dad550a889d5fc005302208b6d75
2007-04-01 01:57:41 +00:00
drh dd92431a03 Improvements to the output of the speed tests. (CVS 3785)
FossilOrigin-Name: 1a4d8024b06488f17831b5d3d47e41c5f1134800
2007-03-31 22:34:16 +00:00
drh e1521f4c05 Remove unreachable code from util.c. (CVS 3784)
FossilOrigin-Name: 82b7a6f05c737f6ad4a21f354e55ec268fa1b032
2007-03-31 22:33:48 +00:00
drh 98495b4a91 Add the amalgamation generator to the makefile. (CVS 3783)
FossilOrigin-Name: a0f3c960fa3e958e12bc488451ee2d637562909b
2007-03-31 22:29:05 +00:00
drh 970f72478a Fix the amalgamation so that it can be compiled with REDEF_IO enabled. (CVS 3782)
FossilOrigin-Name: 6a3d6142d8be18bf2a9913f0329bcce48867304b
2007-03-31 16:29:06 +00:00
drh 38def05454 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
2007-03-31 15:27:59 +00:00
drh b3738b6c85 Improved test coverage for printf.c. (CVS 3780)
FossilOrigin-Name: c2badb208ff1207a1471410965947893b070ea50
2007-03-31 15:02:49 +00:00
drh bd36ba69b0 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
2007-03-31 13:00:26 +00:00
danielk1977 393f068912 More coverage for pager.c. (CVS 3778)
FossilOrigin-Name: 665b119a241a5a95f236b3ace1b25fc18ae6f0a3
2007-03-31 10:00:48 +00:00
drh 93553ad05b 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
2007-03-31 03:59:23 +00:00
drh bf700f3d3d 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
2007-03-31 02:36:44 +00:00
drh b63a53dcf7 Fix memory leaks in WHERE clause processing and in TRIGGER parsing. (CVS 3775)
FossilOrigin-Name: 6736f4547c0cc2123d1a19ed2d6915712718d22e
2007-03-31 01:34:44 +00:00
drh 331e8d6216 Remove vestiges of SQLITE_PROTOCOL from the test scripts. (CVS 3774)
FossilOrigin-Name: e5e8d56397acf041aeaf5361381eb22eb1554759
2007-03-30 20:46:13 +00:00
drh 4f0ee686c5 Remove vestiges of the SQLITE_PROTOCOL error. (CVS 3773)
FossilOrigin-Name: 6dfd4a12a8a03c204505e7a211e179b7dd47e4fb
2007-03-30 20:43:40 +00:00
drh 0e3a6f3f53 Fix a memory leak that occurs after a malloc failure in trigger parsing. (CVS 3772)
FossilOrigin-Name: 407a85e69b7a1229218a5ce9a9e31255c7070294
2007-03-30 20:40:34 +00:00
drh c416ba97bf 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
2007-03-30 18:42:55 +00:00
danielk1977 3546947df3 Coverage testing for a few lines in pager.c. (CVS 3770)
FossilOrigin-Name: c1aca18fad35be60066a08f5bd09772d24375af6
2007-03-30 18:21:52 +00:00
drh 1abd422d99 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
2007-03-30 17:18:50 +00:00
drh a817e42a21 Get the memleak.test script working again after recent changes. (CVS 3768)
FossilOrigin-Name: cd6ca078e3402f06836b6b510a4a431f576f7219
2007-03-30 17:17:51 +00:00
danielk1977 95b289b684 Coverage tests for some pragmas. (CVS 3767)
FossilOrigin-Name: eec7ab63beed875a3b16c3bf8d28ac4f296dfb4c
2007-03-30 17:11:12 +00:00
drh 369339db34 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
2007-03-30 16:01:55 +00:00
danielk1977 9bb8aecc35 Coverage improvements for where.c. (CVS 3765)
FossilOrigin-Name: df64894bacd8023cf3c5939f062c8463ff5cdc04
2007-03-30 14:56:34 +00:00
danielk1977 780b1d9416 Coverage improvements for where.c. (CVS 3764)
FossilOrigin-Name: 7e0aa964129612e2bad6fa45139d124f19cacd48
2007-03-30 14:56:34 +00:00
drh 3cdd7d37c6 Tease apart the two phases of pager commit. (CVS 3763)
FossilOrigin-Name: e5f17078a28b6a47d6943d40c526390c36258392
2007-03-30 14:46:01 +00:00
drh 80e35f4640 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
2007-03-30 14:06:34 +00:00
drh b601861cc3 Make yypMinor available to the stack overflow callbacks in lemon
generated parsers.  This does not effect SQLite. (CVS 3761)

FossilOrigin-Name: 70c8c7e2ce5213778e63c200a6637849920deea6
2007-03-30 13:35:05 +00:00
drh 073d3efae4 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
2007-03-30 13:01:32 +00:00
drh a16313e505 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
2007-03-30 11:29:32 +00:00
drh 3c024d6973 Remove the anonymous union from the sqlite3_value structure since some
compilers are unable to deal with it. (CVS 3758)

FossilOrigin-Name: 6b995259bc974519379dee55c1ef00d28c76bf21
2007-03-30 11:23:45 +00:00