Commit Graph

4800 Commits

Author SHA1 Message Date
drh
0e8ebe5168 Version 3.5.7 (CVS 4874)
FossilOrigin-Name: 9a6583d375a1b922e88eed888e54e51cbc85f400
2008-03-17 19:03:03 +00:00
drh
6c44ea48b8 Fix an uninitialized variable in the Prev and Next opcodes. (CVS 4873)
FossilOrigin-Name: fcf3d0a3d5d3a71155ab0aa5f533da72063d54f0
2008-03-17 17:18:37 +00:00
drh
a53b914086 Abandon the OR optimization following a memory allocation failure,
to avoid referencing uninitialized memory. (CVS 4872)

FossilOrigin-Name: 9d2afbb543e1493e1d9c2eb4329143bcb1ceca19
2008-03-17 17:08:33 +00:00
drh
280396906f Detect the failure to zero-terminate a result string due to a malloc
failure. (CVS 4871)

FossilOrigin-Name: 57db14067ff7d519291bebe695dcf991a9462372
2008-03-17 16:54:01 +00:00
drh
7b12a521b9 Label test case bindxfer-1.9 as a misuse test case, since it is one. (CVS 4870)
FossilOrigin-Name: 7b99122632f467cd0c34ad1a91e18fee8833980b
2008-03-17 16:23:26 +00:00
drh
2a3c8ff815 Modify the tableapi.test script so that it works under windows. (CVS 4869)
FossilOrigin-Name: 89e06b4e083e7fd2c053c1cefc0063a5b772d7f8
2008-03-17 15:09:47 +00:00
drh
99b90c3fa9 Put the statement journal in the temp-file directory since that
directory is often on optimized storage such as RAM disk and because
unlike the main journal, the statement journal does not need to
be colocated with the database file. (CVS 4868)

FossilOrigin-Name: 72c40726932695a2cf5c593707d098c8fb6e8875
2008-03-17 13:50:58 +00:00
danielk1977
39359dc020 Return an error when an xBestIndex() method indicates that it intends to use the value of an unusable constraint. Related to #2998. (CVS 4867)
FossilOrigin-Name: ffd470279540b1b8e3fdce6eb14001bae489b16d
2008-03-17 09:36:44 +00:00
drh
17fe6c1d32 Skip tests that require setting detailed unix permissions on files when
running on filesystems such as AFP that do not support that capability. (CVS 4866)

FossilOrigin-Name: 5589b9d395fb8267a124d56dd5d7987e57505e3d
2008-03-15 14:53:04 +00:00
drh
175cd71bab Add tests to make sure the busy handler resets. (CVS 4865)
FossilOrigin-Name: 5e4df441815ed7d02e9ad8ee2e1c2f937ee675d7
2008-03-15 02:09:21 +00:00
drh
befdf83f58 Reset the busy callback iteration counter at the beginning of each
lock test loop. (CVS 4864)

FossilOrigin-Name: 66777f048195e4242905c40f790ed7360af7028b
2008-03-14 19:33:05 +00:00
drh
3099e1acab Change an instance of intptr_t to sqlite3_intptr_t. (CVS 4863)
FossilOrigin-Name: 6db7186c304ed5e06afb207ce11ebc2a47e491b0
2008-03-14 19:17:54 +00:00
mlcreech
dda5b68cb3 Revise Bitvec struct sizing to prevent assertion failure on 64-bit systems (CVS 4862)
FossilOrigin-Name: a3c12dbe95c8fb93f5b9006bf5d2c5b933fc5e87
2008-03-14 13:02:08 +00:00
danielk1977
d5fe8d6c43 Fix a second race condition in lock4.test. (CVS 4861)
FossilOrigin-Name: e62858b9b8a12ecbad8037868d03469d27418377
2008-03-14 08:57:41 +00:00
mlcreech
969b2cd74a Allow the testfixture to be built even when using the amalgamation (CVS 4860)
FossilOrigin-Name: 8a726e3731cd19cc52c6dab16d032d7237b7450b
2008-03-14 04:11:03 +00:00
mlcreech
17d0fa4986 One additional intptr_t conversion (in the same vein as check-in 4824) (CVS 4859)
FossilOrigin-Name: 2777ca788204c37ae5607f7acabe78f414255fa2
2008-03-13 23:34:38 +00:00
mlcreech
1428b37486 Apply patch for #2915 to add target extension for executables (CVS 4858)
FossilOrigin-Name: 63fc7b72078b1e12de39893dc8374a7e24703d2e
2008-03-13 23:28:22 +00:00
mlcreech
289234ce12 Specify installation lib in 'rpath' options for sqlite3 executable (CVS 4857)
FossilOrigin-Name: 5076d480337145f2e4b36798c6c13b9810f62721
2008-03-13 19:55:20 +00:00
mlcreech
eb6dc140d6 Add/move files in Makefile.in to bring it more in line with main.mk (CVS 4856)
FossilOrigin-Name: b57fc81c3d5f6c7091bdd37f8164887f990a5128
2008-03-13 18:28:03 +00:00
danielk1977
4ffb7b9a1d Eliminate a race condition from lock4.test. (CVS 4855)
FossilOrigin-Name: 85585f11049c4c3278dc2732676b0caa44cf1e9d
2008-03-13 04:53:52 +00:00
danielk1977
b2b95d41a1 Do not segfault after a parse error in a sub-select in a statement of the form "DELETE WHERE ... IN(sub-select)". Ticket #2991. (CVS 4854)
FossilOrigin-Name: 3f9f81e908aad6cdc0a16ec52f4ec46d89fd78bc
2008-03-12 10:39:00 +00:00
mlcreech
f3868117f9 If tclsh is not found, don't default to building the amalgamation (CVS 4853)
FossilOrigin-Name: cbc0167556bd0abd16eb24d1c840ecbc530fd854
2008-03-11 18:03:30 +00:00
drh
ce2da1f048 Increase the version number to 3.5.7 in anticipation of the next release. (CVS 4852)
FossilOrigin-Name: c85e97e4f0f02219b567e1ab2d4602c5680e7331
2008-03-11 15:41:14 +00:00
drh
747eff8a6f Remove the #includes of stdlib.h and sys/types.h from sqliteInt.h since
they are never used and because they broke the build. (CVS 4851)

FossilOrigin-Name: 2668000fc8e23a98fb3e104474032d6c70eeee38
2008-03-10 16:17:59 +00:00
drh
c81945e41f Add explicit !=0 tests in order to suppress warning messages in
Borland-C.  Ticket #2985 (CVS 4850)

FossilOrigin-Name: d4ab14b974f2249d9d9e5a78ae47f3764a88b657
2008-03-10 14:12:53 +00:00
mlcreech
ab1c47b0a4 Fix for #2981 - specifically use "tclsh8.4" if it's available (CVS 4849)
FossilOrigin-Name: 8ced1d6464585ea81227b31f7bfcd0874076aeaa
2008-03-09 02:51:10 +00:00
mlcreech
c658b0ffb8 Fix for #1802, #2041, and #2270 - link libsqlite with -lrt (CVS 4848)
FossilOrigin-Name: ccd70a6ee495a02362161b4004597fa191d46bc2
2008-03-09 02:20:11 +00:00
mlcreech
fb80d20a9f Change <sqlite3.h> to "sqlite3.h" in #includes (CVS 4847)
FossilOrigin-Name: 98e55fa4d32c4579d54b3a8cc26abdb3c8148e13
2008-03-09 02:00:19 +00:00
mlcreech
5b0a9ebe4c Use autoconf to detect presence of gmtime_r() and localtime_r() (CVS 4846)
FossilOrigin-Name: 9894d2ce418180b874406a7407e019dc872f289a
2008-03-09 01:38:09 +00:00
mlcreech
6f10b3c0c9 Replace SQLITE_EXTERN with SQLITE_API in exported variables when generating
the amalgamation.  Should fix #2982 (CVS 4845)

FossilOrigin-Name: f134c282ea841fe35f322a1f8c326242c6ad7b24
2008-03-09 01:14:41 +00:00
drh
1c3cfc605b Clarify the language in the sqlite3_create_function() documentation.
Ticket #2980. (CVS 4844)

FossilOrigin-Name: 2db43738bfcd2db29167ff02f4291e74324225d7
2008-03-08 12:37:30 +00:00
drh
58edb657da Fix asserts in prepare.c to handle the misuse case of ppStmt==0. (CVS 4843)
FossilOrigin-Name: 788b2c6b537809a496bf30550a12e743c1697eb7
2008-03-08 12:23:30 +00:00
danielk1977
cac336ad95 Move a comment within the Parse structure to make it more accurate. No actual code changes. (CVS 4842)
FossilOrigin-Name: 0ca14399b19ee22870394065c5c6a136ea41418d
2008-03-08 06:16:29 +00:00
drh
3cb3edc19a Make sure all necessary mutexes are held prior to initializing the
schema in sqlite3_table_column_metadata(). (CVS 4841)

FossilOrigin-Name: 4996ff93573c69b51eb7b1348058f85e6cb2728a
2008-03-07 21:37:19 +00:00
drh
5ce88abaa3 Fix an alignment problem in test_async.c. (CVS 4840)
FossilOrigin-Name: 752d8e21bb250d7df58a3abc945fcd7a3b38ad15
2008-03-07 21:04:02 +00:00
drh
308aa32ffc Another fix to the OsUnlock I/O error logic. (CVS 4839)
FossilOrigin-Name: 22bd537ee2af6779ecb38502513ae533f85f7c2e
2008-03-07 20:14:38 +00:00
drh
1aa5af1151 Correctly handle I/O errors that occur during OsUnlock(). Before this
fix, an I/O error during OsUnlock() could lead to database corruption.
That is not a serious problem, though, since errors during OsUnlock()
are not possible on most systems. (CVS 4838)

FossilOrigin-Name: b4c1258edb4a40501d13c9da674d0366d5a8c694
2008-03-07 19:51:14 +00:00
drh
339eb0b8af Cleanup the locking-style code in os_unix.c. (CVS 4837)
FossilOrigin-Name: 40f55c09dbd31f861b9f9c7641cce92553d94e35
2008-03-07 15:34:11 +00:00
mlcreech
b279941f73 Trivial documentation fixes (CVS 4836)
FossilOrigin-Name: 9819cefbd7032fe6884c6c891e8e399000e0821f
2008-03-07 03:20:31 +00:00
mlcreech
3c080bc6a0 Add missing prefix & exec_prefix to Makefile - fixes #2979. (CVS 4835)
FossilOrigin-Name: 4cda019b63e8ba9f1101fb296a7d745c69e84e00
2008-03-07 02:20:56 +00:00
drh
218c508433 Updates to the locking-style code in os_unix.c. Not yet working. (CVS 4834)
FossilOrigin-Name: 6ebce3b798c60050fb3c583d805570bb06837108
2008-03-07 00:27:10 +00:00
mlcreech
98dc4b1aba Clean up recent autoconf-related additions, add config.h to the amalgamation (CVS 4833)
FossilOrigin-Name: 8044623062e9aa43593c46e3e5d5bc7361ea7418
2008-03-06 16:28:58 +00:00
mlcreech
a9e852b667 Handle non-autoconf build correctly with new changes (CVS 4832)
FossilOrigin-Name: e2a9f5f1054f077e4773dd3d2c8f2ce5be118a01
2008-03-06 09:58:50 +00:00
mlcreech
7ff4a45e4e Typo in amalgamation non-x86 builds (CVS 4831)
FossilOrigin-Name: a8424e06064ee356db8231820737a7d5ba722873
2008-03-06 09:19:00 +00:00
mlcreech
bd0ae111ec Don't try and include common.h on stand-alone amalgamation builds (CVS 4830)
FossilOrigin-Name: 9898320be05cdbe78dac799f3fef34dccb644ca8
2008-03-06 09:16:24 +00:00
mlcreech
ae28e67da5 Remove amalgamation on "make clean" (fixes #2559) (CVS 4829)
FossilOrigin-Name: e03802f362307ee91fcecaeab6b8f3b43a61d4ca
2008-03-06 09:03:20 +00:00
mlcreech
8390bc382a Miscellaneous autoconf cleanups - get rid of TARGET_CFLAGS, fix header list (CVS 4828)
FossilOrigin-Name: a674f76db9035375772706b6ff1cfaa2a459ffb0
2008-03-06 08:54:38 +00:00
mlcreech
c55771f372 Respect user's configured bindir/libdir/includedir if present (fixes #558) (CVS 4827)
FossilOrigin-Name: 48c9fa97b9d9000f6fba5adb04c1026b162eb3ab
2008-03-06 08:09:12 +00:00
mlcreech
df59c7c7d1 Actually use TARGET_CFLAGS on autoconf-driven builds (CVS 4826)
FossilOrigin-Name: dda3d658998b00748f0e7693b3756d45400e8c8a
2008-03-06 07:51:15 +00:00
mlcreech
d7f59456ce Add headers for use with autoconf (missing from previous checkin) (CVS 4825)
FossilOrigin-Name: 4513a5f493bb612134d04685c0d6777e0d5c65bc
2008-03-06 07:36:18 +00:00