Commit Graph

5334 Commits

Author SHA1 Message Date
drh
ff1590ee00 Write sqlite3_initialize() calls in sqlite3_malloc() within
SQLITE_OMIT_AUTOINIT.  Ticket #3217. (CVS 5408)

FossilOrigin-Name: 4961b0bbe8b9cf5fb27de7f2514e8ab399a00134
2008-07-14 12:52:53 +00:00
drh
7986a71a19 Fix a bug introduced by check-in (5406). Ticket #3216. (CVS 5407)
FossilOrigin-Name: 518a24aa3e042782fbf2e805cf080b61e58a8150
2008-07-14 12:38:20 +00:00
drh
c376a19890 Work around a bug in Borland C. Ticket #3216. (CVS 5406)
FossilOrigin-Name: 2c24e50da6f6c19dee105823125157db73bdd515
2008-07-14 12:30:54 +00:00
drh
34ff57b12f Fix additional typos in comments within lemon. Ticket #3215. (CVS 5405)
FossilOrigin-Name: 372147699585ca4bd11100983de924f63c5cfce5
2008-07-14 12:27:51 +00:00
drh
b5bd49e9cb Fix a bug in the #line generator of lemon. Ticket #3214. (CVS 5404)
FossilOrigin-Name: dc697c26668929c4eed5ab8cde6975125a7e66c7
2008-07-14 12:21:08 +00:00
drh
71f486254b Fix a typo in the documentation. (CVS 5403)
FossilOrigin-Name: d618a883304d5a84540daf5e3397de677786aff8
2008-07-13 03:55:03 +00:00
drh
31d38cf38b Documentation updates. No changes to code. (CVS 5402)
FossilOrigin-Name: 8be28aa0f259f0b86103e4f1e7da1adfecc4305c
2008-07-12 20:35:08 +00:00
danielk1977
185eac95b6 Fix the test script --binarylog option. (CVS 5401)
FossilOrigin-Name: 03e3cfc4ccab3c6441d41ade175dc041b8fa6c98
2008-07-12 15:55:54 +00:00
drh
e8f52c5089 Remove leftover debugging commands (breakpoint and btree_breakpoint) from
test scripts. (CVS 5400)

FossilOrigin-Name: dcb160249fa2d592ad09b8b0052102dc44a93511
2008-07-12 14:52:20 +00:00
drh
a34605859d Detect and handles the case where a row is modified or deleted while it
is being read during SELECT processing. (CVS 5399)

FossilOrigin-Name: c80a5d09935c60a2a50bc262c172a94073355f0d
2008-07-11 21:02:53 +00:00
drh
f460809030 Tweak to the ".timer" command in the CLI to help it work better with GCC. (CVS 5398)
FossilOrigin-Name: 1041deb6ae03c52ce1fb8170d11913cc0bbf3a6e
2008-07-11 17:23:24 +00:00
drh
a29afcbd1e Added corruptA.test for testing malformed database headers. (CVS 5397)
FossilOrigin-Name: 6dcce6b9748c6148a768a4f6b69f33f70edc3993
2008-07-11 16:39:23 +00:00
drh
17a7fa68d1 Improved NaN testing for highly optimized GCC on x86.
Tickets #3202 and #3194. (CVS 5396)

FossilOrigin-Name: a8a2fe45b21b405bb871e29540f98086b0c8f828
2008-07-11 16:19:09 +00:00
drh
34004cebb6 Additional test coverage for the btree module. Remove the failsafe() macro
and replace it with ALWAYS() and NEVER(). (CVS 5395)

FossilOrigin-Name: d7e2f0d2d45574d6191c1b191c0daf5260696f27
2008-07-11 16:15:17 +00:00
drh
8278ce7910 Fix minor problems in the test scripts and harness. (CVS 5394)
FossilOrigin-Name: c9ffbfe343b640051161301869698dd9f1f76cb7
2008-07-11 13:53:54 +00:00
drh
d37d79e081 Remove an extra zeroPage() call that was left in the previous check-in
by mistake.  Ticket #3209. (CVS 5393)

FossilOrigin-Name: c45d578e4475486dc5df1c1c0b6987d1cef39188
2008-07-11 03:38:41 +00:00
drh
1013148b1c Make the btree layer robust when faced with a corrupt database that
contains duplicate entries on the freelist.  Ticket #3209. (CVS 5392)

FossilOrigin-Name: 30825f74d60d8ace39bafd06814017ceefeb4fa4
2008-07-11 03:34:09 +00:00
drh
fa67c3c584 Additional test coverage in btree.c. Added corruption tests for
the ptrmap pages of an autovacuumed database (corrupt8.test). (CVS 5391)

FossilOrigin-Name: 620b472133438607c412e0c21d2a27605a89a414
2008-07-11 02:21:40 +00:00
drh
19dd29fcf5 Fix a bug in the mutex-testing logic introduced by check-in (5389). (CVS 5390)
FossilOrigin-Name: 8fc462b6b7afe390463ea7b010fd3230d9acc358
2008-07-10 20:41:49 +00:00
drh
8a42cbd3f0 Enhancements to the testing logic for malloc and mutex. Only permit one
of MEMSYS3/5 to be compiled-in at a time.  Omit the SQLITE_CONFIG_MEMSYS3/5
configuration options. (CVS 5389)

FossilOrigin-Name: ed8b2525006ae7f8cacd01b291760513fdbdff57
2008-07-10 18:13:42 +00:00
danielk1977
80b3c54851 Fix a crash in flattenSubquery(). (CVS 5388)
FossilOrigin-Name: 9c8b97ef593c17740640a01a7338164d7fbe070e
2008-07-10 17:59:12 +00:00
danielk1977
9a6284c1bb Add the SQLITE_OPEN_NOMUTEX flag. Used for opening connections that are not protected by an internal mutex. (CVS 5387)
FossilOrigin-Name: 7e58b78712420b3bd4320192a58d89eb71eecc9c
2008-07-10 17:52:49 +00:00
drh
93a960a0a8 Remove unused code. Test coverage enhancements. Modify the algorithm used
to select column names for VIEWs of joins so that the constructed column
names omits the underlying table names. (CVS 5386)

FossilOrigin-Name: 636cd723296a8b1709011fdd99b236ffddf3f1b0
2008-07-10 00:32:42 +00:00
drh
af005fbc13 Test coverage improvements on printf. (CVS 5385)
FossilOrigin-Name: 2d8f7bebf0f13f3a95f1e2163e35d43229cabfea
2008-07-09 16:51:51 +00:00
danielk1977
10235605ff Add a test case to join.test. No code changes, no bugs found. (CVS 5384)
FossilOrigin-Name: 417aa1580abec8cc335dcb6ac36245c081a31ef8
2008-07-09 14:47:21 +00:00
drh
22c2403a1c Begin adding the failsafe() macro. (CVS 5383)
FossilOrigin-Name: 8aae4fe7e702b7636fba1fd609a0ca22fdcc3371
2008-07-09 13:28:53 +00:00
danielk1977
474b7cc785 Coverage testing for balance_quick() and balance_deeper(). (CVS 5382)
FossilOrigin-Name: 491f8f9613d2b886acad2ab8f631a4ec61ad698d
2008-07-09 11:49:46 +00:00
drh
e49b146f30 Additional test coverage in select.c and expr.c. (CVS 5381)
FossilOrigin-Name: c6cf08477cc4d622a05ad6706cb9418cf7eea432
2008-07-09 01:39:44 +00:00
drh
a9671a22b3 Remove obsolete code from select.c, including the "affinity" parameter
to the sqlite3Select() module. (CVS 5380)

FossilOrigin-Name: cbd3c1585b7a8f8042aa1448fe1be87de056c41a
2008-07-08 23:40:20 +00:00
pweilbacher
96d9cf064b Handle sqlite3_temp_directory on OS/2. (CVS 5379)
FossilOrigin-Name: 9da0b32c8c55b41cbcb4eb635c51348072101ea9
2008-07-08 22:34:06 +00:00
shane
1fc4129df7 Added macros to convert between 32-bit ints and 64-bit ptrs to avoid compiler warnings. (CVS 5378)
FossilOrigin-Name: 6cdb6841ff4683e424ef394733da9c24f5602570
2008-07-08 22:28:48 +00:00
shane
c6f66c5349 Added test_mutex.c (for testfixture) to input file for configure script. (CVS 5377)
FossilOrigin-Name: bfca089dbfa742c5ba3a530f61b5e979935d127f
2008-07-08 22:15:49 +00:00
pweilbacher
7f6358b4f5 make OS/2 VFS functions static (CVS 5376)
FossilOrigin-Name: b40d9496d03b16a25c164bbb694860539f77cbc3
2008-07-08 19:46:24 +00:00
drh
c8c0f8fc85 Fix a bug in where.c introduced by check-in (5373). (CVS 5375)
FossilOrigin-Name: 1ed98f9e617fb422efc37c4a3a5c5f0702467868
2008-07-08 19:45:02 +00:00
drh
f089aa459e Completely rework the sqlite3SetString() primitive so that it honors the
SQLITE_LIMIT_LENGTH and avoids the use of strlen(). (CVS 5374)

FossilOrigin-Name: 8ed04b1e26a55306e4baf3e93fb084514134d603
2008-07-08 19:34:06 +00:00
drh
0880a74633 Improved testing of the min/max optimization. (CVS 5373)
FossilOrigin-Name: fa07c360b708324c47c8e9931f1e2b1b24e4faf8
2008-07-08 18:05:26 +00:00
danielk1977
49fc1f60b0 Prevent the flattening optimization from transforming a to a query with an illegal ORDER BY clause. (CVS 5372)
FossilOrigin-Name: 6c2adade34fdbe344cf73f6bac951e0c37dd003b
2008-07-08 17:43:56 +00:00
danielk1977
1bc71590c4 Test another corruption case in btree.c. And an IO error related scenario. (CVS 5371)
FossilOrigin-Name: d74fbb81ca3f973ac46534344e5076afc5dd5491
2008-07-08 17:13:59 +00:00
danielk1977
9ffe5d7247 3 more coverage tests for btree.c. (CVS 5370)
FossilOrigin-Name: 96df0a5fa4bb2b3dfedf034d81704e152cdc63a9
2008-07-08 15:59:51 +00:00
drh
ddff9ae46b Tests for SQLITE_LIMIT_LENGTH enforcement in sqlite3_bind. (CVS 5369)
FossilOrigin-Name: c5e45dd664198e5b4fc44b316bd4adbc9a6c296b
2008-07-08 15:26:49 +00:00
drh
0a687d123e Improved enforcement of the SQLITE_LIMIT_LENGTH limit. (CVS 5368)
FossilOrigin-Name: ee93150878436ce6e992ea8a1d348fb58b03b5e2
2008-07-08 14:52:07 +00:00
danielk1977
35af9ba095 Another corruption related test case. (CVS 5367)
FossilOrigin-Name: f781a68127c97e30763447a12314180f0728deb9
2008-07-08 14:31:14 +00:00
danielk1977
00f0faf3ac Fix a compilation bug with SQLITE_OMIT_AUTOINIT. (CVS 5366)
FossilOrigin-Name: 94c95fad56965b68176e93f0690f0819ad40bcf7
2008-07-08 14:17:35 +00:00
danielk1977
a961339cd7 Extra coverage tests for btree.c. (CVS 5365)
FossilOrigin-Name: 08334f60303e63b581fa7f1f00d3e8833f1710ca
2008-07-08 12:07:32 +00:00
danielk1977
fb437278bb Make sqlite3_shutdown() a no-op if the library is not initialized. (CVS 5364)
FossilOrigin-Name: d725d3bbcef6a8093a246f8ef5b11bf690662393
2008-07-08 12:02:35 +00:00
danielk1977
3aa4b67f04 Improve coverage of btree.c. (CVS 5363)
FossilOrigin-Name: f6d9cb835b8f75545f455328d61ba225e7da9bc4
2008-07-08 10:19:58 +00:00
danielk1977
983e230939 Prohibit the user from changing the temporary storage medium (pragma temp_store) while there is a read transaction open on the temporary database. Add tests to shared.test to cover a few more lines in btree.c. (CVS 5362)
FossilOrigin-Name: 92e0cf9a08a8b337a8f239afb048a0e045485771
2008-07-08 07:35:51 +00:00
shane
5e73db36c6 change to use sqlite_uint64 for MSVC compile; (CVS 5361)
FossilOrigin-Name: 369118ca2e9da55f44b946559ad38a14efe723e5
2008-07-08 03:04:58 +00:00
drh
f43639a0bc Test coverage improvements in printf.c. (CVS 5360)
FossilOrigin-Name: 6f2629c78327bb6cbb15d1f9900a1ef58f2d37dd
2008-07-08 02:24:02 +00:00
drh
c8d75674d6 Add tests to verify correct behavior when mutex initialization fails. (CVS 5359)
FossilOrigin-Name: 65875005ac8bc7988d7d7d8e8b999857449568fd
2008-07-08 02:12:37 +00:00