Commit Graph

2068 Commits

Author SHA1 Message Date
danielk1977
cb1a7eb0df Fix allocation of tables in an auto-vacuum database when the required root-page is on the free-list. (CVS 2065)
FossilOrigin-Name: 4e2433378e06210f0274c317c6d12b48236211fe
2004-11-05 12:27:02 +00:00
danielk1977
63e3e9f81a Don't code an OP_Statement within sqlite3NestedParse(). Also a correction
to the UPDATE statement used within destroyRootPage(). (CVS 2064)

FossilOrigin-Name: fdcc31f0c6106dacfed6612b173fe4be3c02546a
2004-11-05 09:19:27 +00:00
danielk1977
e7de6f25a8 When using sqlite3NestedParse() to modify the sqlite_master table, do not code OP_Callback. (CVS 2063)
FossilOrigin-Name: 296a298c484aac981e7e490a0cb4159717fc4ea4
2004-11-05 06:02:06 +00:00
drh
7a638581b2 Another bug fix from two check-ins ago. (CVS 2062)
FossilOrigin-Name: c46eef2f6d32b8546e1441e7e6f103e6ad97f1f4
2004-11-05 05:23:59 +00:00
drh
958390005b Fix a bug in the previous check-in. (CVS 2061)
FossilOrigin-Name: 9d259d48defda57ab0bd66460bd2ba7f3a2695e9
2004-11-05 05:20:40 +00:00
drh
4e0cff6080 More use of sqlite3NestedParse. This version of the code does not work. (CVS 2060)
FossilOrigin-Name: ac2d5a605c873cac68bfde4bbe3797608a47b21e
2004-11-05 05:10:28 +00:00
drh
f197484617 Begin using sqlite3NestedParse() to generate sections of code. (CVS 2059)
FossilOrigin-Name: 2d302931a69d1add1dae9f820133872b4fefe93e
2004-11-05 03:56:00 +00:00
danielk1977
a64a035f7e Fix bug introduced with (2057). (CVS 2058)
FossilOrigin-Name: aed2e623ec9c4044696dc2d6f7f4c53216b45479
2004-11-05 01:45:13 +00:00
danielk1977
467d4707ff Pop the value pushed by OP_Destroy if SQLITE_OMIT_AUTOVACUUM is defined. (CVS 2057)
FossilOrigin-Name: b0c103340ad27533d3e5b2f1b18557fd9c8b55df
2004-11-05 01:24:12 +00:00
drh
205f48e635 Incremental check-in of changes that will ultimately lead to a
working autoincrement. (CVS 2056)

FossilOrigin-Name: 10c3d88305e404b9e4cc4eef0b8e5dc7864a5937
2004-11-05 00:43:11 +00:00
drh
40e016e492 All tests pass when SQLITE_OMIT_INTEGRITY_CHECK is defined. (CVS 2055)
FossilOrigin-Name: 158a2d16a8630e3b5892120f6ea68f2b0dc47eb3
2004-11-04 14:47:11 +00:00
danielk1977
a0bf265269 Support root-page allocation/deallocation in auto-vacuum databases. Still a few problems. (CVS 2054)
FossilOrigin-Name: 1da361fae82d420be63c53f8e3efaccac24f348a
2004-11-04 14:30:04 +00:00
drh
798da52ce7 All tests pass even if OMIT_TRIGGER is defined. (CVS 2053)
FossilOrigin-Name: c33b3a613751057e8a46fdcd428b8448329d414d
2004-11-04 04:42:28 +00:00
drh
bf8aa33bba Fix a #ifdef in util.c. Ticket #984. (CVS 2052)
FossilOrigin-Name: da045bd183335a112f9a6c805c12efe12d0a25ca
2004-11-04 04:34:14 +00:00
danielk1977
003ba061da Add support for table allocation (not deallocation) in auto-vacuum databases. (CVS 2051)
FossilOrigin-Name: 571de52376f52999268ba5e0cd05c6c6eff1ebbf
2004-11-04 02:57:33 +00:00
drh
6bf895708c Update tests to work even if some features of the library are disabled. (CVS 2050)
FossilOrigin-Name: b11fc9b3f3a2711f98e7e45724aa1d30081197f3
2004-11-03 16:27:01 +00:00
drh
a71aa00102 More work on optionally removing unused features at compile-time. (CVS 2049)
FossilOrigin-Name: a82980fd70285820c64b42393ef85a9e21addc5d
2004-11-03 13:59:04 +00:00
danielk1977
a19df67c58 Auto-vacuum bug: Deallocate pointer-map pages when shrinking a database file. (CVS 2048)
FossilOrigin-Name: bec6a65acaa8bfd8fe2cb475ba2e992a1993e4e7
2004-11-03 11:37:07 +00:00
danielk1977
1be29eb6be Comment the autovacuum.test script. No code or test-case changes. (CVS 2047)
FossilOrigin-Name: 2eacd38620f7270467b16e9e2f350aa0b4869a10
2004-11-03 09:30:54 +00:00
danielk1977
f5fdda8208 Auto-vacuum bug: Correctly manipulate page cache hash-table entries in sqlite3pager_movepage(). (CVS 2046)
FossilOrigin-Name: 719c1b79671c8cd7c5a6b5967ad4265b65e433d3
2004-11-03 08:44:05 +00:00
drh
52fb6d71f5 The makefile now runs mkkeywordhash.c. Keywords that are unused are
omitted from the keyword hash table. (CVS 2045)

FossilOrigin-Name: 007aec11333432e08d1091b728773011e9078bc3
2004-11-03 03:59:57 +00:00
danielk1977
4fa03bde07 Auto-vacuum bugfix: Do not attempt to move a pointer-map page during auto-vacuum. (CVS 2044)
FossilOrigin-Name: bd50fbb5fecd1829c87e8ca72c458c71f590274b
2004-11-03 03:52:37 +00:00
danielk1977
e80463bc7d Fix an auto-vacuum bug that occurs when a btree cell is promoted to the parent page during a delete. (CVS 2043)
FossilOrigin-Name: b7d953e1195897de4869ec241a65e8a3d1320efb
2004-11-03 03:01:16 +00:00
drh
7041e17e9c Fix a problem in the pragma.test script. (CVS 2041)
FossilOrigin-Name: a2c9c45c803350f45911a72eb61efa9c3089f8ca
2004-11-02 18:15:49 +00:00
drh
cfe4a990ce Get btree.c to compile with -DNDEBUG=1. (CVS 2040)
FossilOrigin-Name: 8378c144c1e1cedb7deea271fa274182d08198b8
2004-11-02 18:05:09 +00:00
danielk1977
f78fc0818c Fix an auto-vacuum bug for btree entries that span more than one overflow page. (CVS 2039)
FossilOrigin-Name: 40249ed19cd53cb61f9575d8165316faf2627479
2004-11-02 14:40:32 +00:00
drh
06f502170e Require that the page size be a power of 2. (CVS 2038)
FossilOrigin-Name: c33b34dbe9657b151b9ab00a6b50a255fae623f8
2004-11-02 14:24:33 +00:00
danielk1977
687566d786 Code to auto-vacuum the database if all root pages happen to be in the right place. Not active by default and largely untested. (CVS 2037)
FossilOrigin-Name: d12481f09cbe51c7ea499bc22afec5de3af14ad4
2004-11-02 12:56:41 +00:00
drh
a82ffef115 Updates to the support.html page. (CVS 2036)
FossilOrigin-Name: 5515accee348c6364cd58903a19029519797e123
2004-11-01 16:03:11 +00:00
danielk1977
afcdd02f6a Add code to create/update the btree 'pointer-map' for auto-vacuum mode. (CVS 2035)
FossilOrigin-Name: bebd967f3627220c3ce0352c8ca9c7c17b722ce6
2004-10-31 16:25:42 +00:00
drh
b7f9164e98 Insert #ifdefs that can optionally remove features at compiletime resulting
in a database engine with a smaller footprint. (CVS 2034)

FossilOrigin-Name: be661acfa849bb0d5692797dd221f5a8a457f8ad
2004-10-31 02:22:47 +00:00
drh
27d258a3ec Begin adding the ability to remove unused features at compile-time and still
have all the tests pass. (CVS 2033)

FossilOrigin-Name: 2aa506ccb003a25555b414772002d0130db93052
2004-10-30 20:23:09 +00:00
drh
2536ee480b Move affinity.html into the attic. (CVS 2032)
FossilOrigin-Name: 87a3c668f0dcd43f5d9b38d92a75a4ac38d49057
2004-10-26 16:34:37 +00:00
drh
9c35cda6b1 Mark the affinity.html file as obsolete. (CVS 2031)
FossilOrigin-Name: 09de96b6b2e877282be0815ba76c10f18839ff6b
2004-10-26 16:33:14 +00:00
drh
0b2110c9f5 Fix a bug in the ".databases" command of the command-line shell.
Ticket #973 (CVS 2030)

FossilOrigin-Name: 507d8e6f5cff308116289b27b3138e5bbfd55352
2004-10-26 00:08:10 +00:00
drh
722e95ac65 Minor optimizations in the pragma module. (CVS 2029)
FossilOrigin-Name: 63efd50a1608eb4ccac44a233c0f77c3956f9fa0
2004-10-25 20:33:44 +00:00
drh
40f20f7d2a Tighter encoding of the keyword hash table in the tokenizer. (CVS 2028)
FossilOrigin-Name: 7b9886f8d4db366bc7dbf25495f0d3b907d25689
2004-10-23 05:10:18 +00:00
drh
f404083e56 Add the experimental and scary pragma "writable_schema". (CVS 2027)
FossilOrigin-Name: 39f7870a54d90d5163fcad3f08cd63699c4bb567
2004-10-22 20:29:21 +00:00
drh
887dc4c275 Fix alignment problems in btree and pager and allow page sizes that are
not a multiple of 8. (CVS 2026)

FossilOrigin-Name: 0539c2d2b8e16efcbe4db3afeae9c7b426e11b05
2004-10-22 16:22:57 +00:00
drh
6138df56e7 Reinsert code deleted by (1998) that we thought was unused but was in fact
needed.  Fix for ticket #966. (CVS 2025)

FossilOrigin-Name: 370ca539506a431dbe77dcb644215886760f34e9
2004-10-19 16:40:59 +00:00
drh
63afe89499 Fix a typo in the quickstart document. (CVS 2024)
FossilOrigin-Name: 55b03c560d2f66c55d64c3e9f9577e33f8c63195
2004-10-19 01:31:20 +00:00
drh
b45bb9f17d Fix typos in the names of some regression tests. Ticket #962. (CVS 2023)
FossilOrigin-Name: 77542beb31349b85bdf404c46980da346dde3266
2004-10-18 21:34:46 +00:00
drh
44c6d46480 Fix typo on homepage. Ticket #956. (CVS 2022)
FossilOrigin-Name: 552ec6770a942fa014242b10fab87b58210dcf08
2004-10-12 02:38:09 +00:00
drh
13f52c77dc Version 3.0.8 (CVS 2021)
FossilOrigin-Name: 7dd66d7653adf5cdd6b3b0fb9053815ab199d6cc
2004-10-12 00:56:08 +00:00
drh
093031f6b0 Updates to the README file (CVS 2020)
FossilOrigin-Name: d3d0d7a8bb63842739fb470f7843db1ffbdc7d4f
2004-10-12 00:50:33 +00:00
drh
81d01352c3 Increment the version number. Prepare for release of version 3.0.8. (CVS 2019)
FossilOrigin-Name: ff04d7d48b8f9cdfa9b5bb720511c6f4490796e7
2004-10-11 22:26:00 +00:00
drh
270c856eba Fix typo on the homepage. (CVS 2018)
FossilOrigin-Name: 7f190f85e2722edf198423d2b71a1524afe5a32d
2004-10-11 21:49:06 +00:00
drh
1043afaeaf Fix typo in the lockingv3.html page on the website. (CVS 2017)
FossilOrigin-Name: a31b647727052495073fec86f52367bc10264723
2004-10-11 21:48:27 +00:00
drh
a1d65d0221 The mkopcodeh.awk script removes \r for use with msys. Ticket #954. (CVS 2016)
FossilOrigin-Name: c4fb44fd5f89960ec09c9ed64aeb037b5ca55ea2
2004-10-10 19:11:35 +00:00
drh
0fe0b01ed9 Documentation updates (CVS 2015)
FossilOrigin-Name: a4546c09d7a42f9086e63a38008a87df030b4374
2004-10-10 18:00:46 +00:00
drh
3500b7c2d4 Typos and spelling errors in documention. (CVS 2014)
FossilOrigin-Name: 16e2ace2db5c051aefe7f72504ad6c1cc5e7a0f4
2004-10-10 17:24:53 +00:00
drh
757028e6ea New links on the common header page of the website. (CVS 2013)
FossilOrigin-Name: 6d6246f150f27042b8ede0fe73ecca1aefd2c3e4
2004-10-09 15:54:32 +00:00
drh
57790b8fca Sort the output of glob in test script attach2.test. Ticket #948. (CVS 2012)
FossilOrigin-Name: 3d04eef9b7decd21acc30d47af1bb1386333c351
2004-10-07 22:22:39 +00:00
drh
2090a0ed48 Optimizations to the tokenizer. (CVS 2011)
FossilOrigin-Name: e5540ce047e0215904005bc9df4ff0d1d0a3c1d1
2004-10-07 19:03:01 +00:00
drh
74ad7fe980 Additional parser optimizations. (CVS 2010)
FossilOrigin-Name: 618dee121e41d8e5c9b4d5c167475b11ddcda2d7
2004-10-07 03:06:28 +00:00
drh
8e64d1caad In the command-line shell in CSV move, put strings in C-style double-quotes.
Ticket #911. (CVS 2009)

FossilOrigin-Name: 1376a0bb8d864de755c614b2ecce4342155fd09b
2004-10-07 00:32:39 +00:00
drh
1e284f4558 Fix naming conflict between sqlite.h and sqlite3.h. Ticket #946. (CVS 2007)
FossilOrigin-Name: 30370412630970a76aafb9715106911b716256db
2004-10-06 15:52:01 +00:00
drh
5719628afb Convert many constants to have type "const". (CVS 2006)
FossilOrigin-Name: d790c84c5a889928d07f5394fffef0cbb8d5f214
2004-10-06 15:41:16 +00:00
drh
b327f77358 Move some work out of the makefiles and into awk scripts in separate files.
Ticket #940. (CVS 2005)

FossilOrigin-Name: 4d0f29d54c0ccb153abd77d9b62b6461ec1e978f
2004-10-06 15:03:57 +00:00
drh
2e3a1f16b6 Size optimization in the parser. (CVS 2004)
FossilOrigin-Name: 8e2ae2449882f70fe4e77c100193c053d7669ae6
2004-10-06 14:39:28 +00:00
drh
36d4e97e94 Fix the ".import" command of the command-line shell so that it ignores
\n and \r at the end of a line.  Ticket #939. (CVS 2003)

FossilOrigin-Name: dcbf4817a7a3ce18a2d5ed008346933a36acd543
2004-10-06 14:39:06 +00:00
drh
86f43308d6 Rearrange memory allocation in sqlite3VdbeMakeReady to try to work around
some byte-alignment problems on Sparc. (CVS 2002)

FossilOrigin-Name: f623d6e74fb5f6f70a22c06278b2bb1b4b7f9b85
2004-10-05 17:37:36 +00:00
drh
2783e4bc0e Use the database name supplied to table_info() and related pragmas. (CVS 2001)
FossilOrigin-Name: 0415af325739fd4e0bd4761c889719355a1ec4ff
2004-10-05 15:42:53 +00:00
drh
684917c269 Add support for DEFERRED, IMMEDIATE, and EXCLUSIVE transactions. (CVS 2000)
FossilOrigin-Name: 81ff8107ad63113782cf5a9ba7a512496114ba08
2004-10-05 02:41:42 +00:00
drh
9a43267ba2 More changes to take advantage of the TK_ and OP_ alignments to avoid
unnecessary translations. (CVS 1999)

FossilOrigin-Name: e8e972ba65fc36171f6b685e8a8f67f93452e031
2004-10-04 13:38:09 +00:00
drh
f2bc013c70 Save about 800 bytes of code space by aligning TK_ and OP_ constants so that
we do not have to translate between them. (CVS 1998)

FossilOrigin-Name: 4c817e3f293a9c1365e632f7dc13ae440263332a
2004-10-04 13:19:23 +00:00
drh
9c105bb990 Fixes to the OsUnlock() interface. Correctly leave a SHARED lock behind
when requested.  Honor the error code that OsUnlock() returns.
Ticket #913 and #938. (CVS 1997)

FossilOrigin-Name: c4697503d0ad080290b91e96dfc9a1a63f2df7e6
2004-10-02 20:38:28 +00:00
dougcurrie
0924bba36c make diskfull test work on Windows; see check-in (1994) (CVS 1996)
FossilOrigin-Name: 4493e287809874fabeddf5ca9045065a30790f2f
2004-10-01 18:21:43 +00:00
drh
047d4836ff Additional code to test the SQLITE_FULL return when the disk is full. (CVS 1994)
FossilOrigin-Name: 44e56f0bba61245d342d6e75510d6c35785efd49
2004-10-01 14:38:02 +00:00
drh
ededaa59bd Fully release exclusive locks in the Unlock primitive of Unix.
Ticket #913. (CVS 1993)

FossilOrigin-Name: 11a37a74b101b9e37dcf1c3e57e45fbcd39a1c21
2004-10-01 03:02:48 +00:00
drh
eb206256f1 Use type i64 instead of off_t for file offsets since off_t is giving
portability problems.  Ticket #924. (CVS 1992)

FossilOrigin-Name: 8972c004dc825f668d952e7d082a89046b9260f1
2004-10-01 02:00:31 +00:00
drh
a3f70cbc31 Strict prototype on sqlite3_libversion(). Ticket #936 (CVS 1991)
FossilOrigin-Name: 1d3c6f735101d8fc582871c0370805596d975001
2004-09-30 14:24:50 +00:00
drh
596bd23554 Correctly parser column typenames that contain more than one identifier.
Ticket #934. (CVS 1990)

FossilOrigin-Name: 85ad18712d2bd2b4322ceb617f33c265c1933240
2004-09-30 14:22:47 +00:00
drh
c60d04464f Allow functions to be created when there are outstanding VMs.
(Ticket #926)  Fix problems with sqlite3_errcode().  Add tests for
sqlite3_errcode(). (CVS 1989)

FossilOrigin-Name: d0f1dc5898382258b283308c2cce55a8bc378ee4
2004-09-30 13:43:13 +00:00
drh
44f87bdc56 Comment changes in btree.c. No changes to code. (CVS 1988)
FossilOrigin-Name: b15abf984fa06ae968d92fa9533dab20dcebd323
2004-09-27 13:19:51 +00:00
drh
3127653b1c Bug fix in btree.c in cases where usableSize!=pageSize. Ticket #925. (CVS 1987)
FossilOrigin-Name: cb3e12372d96f5a24f5a5d79645c705775bc63ff
2004-09-27 12:20:52 +00:00
drh
10e8266b91 Remove unused CLUSTER keyword from the parser. (CVS 1986)
FossilOrigin-Name: 54ee1664aaaa1a3380009b5206a0fa79cd286fc5
2004-09-25 15:29:09 +00:00
drh
aa756b0978 Optimizations in the tokenizer. (CVS 1985)
FossilOrigin-Name: 26898c57cb2419d4200803f79fdd821c3093cba2
2004-09-25 15:25:26 +00:00
drh
ae29ffbe23 Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984)
FossilOrigin-Name: 9ef4c24a9acc2128891303de1ffd2ef4509d779c
2004-09-25 14:39:18 +00:00
drh
94a11211f5 Code simplifications and size reductions. (CVS 1983)
FossilOrigin-Name: cb631a135da92fd689ee40a8b7e2695a510eb765
2004-09-25 13:12:14 +00:00
drh
5e2517e1f3 Size optimizations in vdbeapi.c. (CVS 1982)
FossilOrigin-Name: b2f3d4bb8e24212d3cef7615c24da13f29c1440c
2004-09-24 23:59:12 +00:00
drh
b8dd3155e0 Save a few bytes in utf.c. (CVS 1981)
FossilOrigin-Name: 8154d545e8ae3d22490b49ce4f327605883accaa
2004-09-24 23:20:51 +00:00
drh
76ff3a0e09 Optimizations to vdbeaux.c and printf.c (CVS 1980)
FossilOrigin-Name: eabc77c99b3e78b4c620a1736d9acfa6cb1e7b67
2004-09-24 22:32:30 +00:00
drh
59c98a6f2b Improvements to the debugging code. (CVS 1979)
FossilOrigin-Name: bdc3bb070f7f29713b7bb9a6454a7ecbee6cf36d
2004-09-24 19:39:26 +00:00
drh
3b584fa6c5 Fix typo in ".help" output from the shell. Ticket #914. (CVS 1978)
FossilOrigin-Name: 1ee3a787ada5abd460200d5812474161bfd1cc71
2004-09-24 12:50:03 +00:00
drh
971a7c87bc Avoid a segfault in sqlite3_bind_parameter_index when there are
unnamed parameters.  Ticket #918. (CVS 1977)

FossilOrigin-Name: 49f25ddf8382d588e00bf927e2acae93e332e4d4
2004-09-24 12:48:12 +00:00
drh
670404626d Simplification of the trigger code. (CVS 1976)
FossilOrigin-Name: 9fa904d94ec1787bc8b97ec06a5423248fcb67fb
2004-09-24 12:24:36 +00:00
drh
145716b323 Fix for tickets #912 and #922. Problem introduced by check-in (1973). (CVS 1975)
FossilOrigin-Name: 9001e2220d2e35b81a9b7dc70c012f94bb6db679
2004-09-24 12:24:06 +00:00
dougcurrie
65623c78e8 Pthread is now conditionally included in makefile, see ticket #910 (CVS 1974)
FossilOrigin-Name: a35e52276998f8db2407115b07f30bd490982944
2004-09-20 14:57:23 +00:00
drh
ad6d94607f Add comments to unused P3 fields of selected instructions when NDEBUG is
not defined.  This makes VDBE program dumps more readable during debugging. (CVS 1973)

FossilOrigin-Name: 4871c77f8fce36ff230e1f026f4e4e49492515e9
2004-09-19 02:15:24 +00:00
drh
344737f60a Merge the ListPush and ListPop VDBE opcodes into ContextPush and ContextPop. (CVS 1972)
FossilOrigin-Name: eb9b501ad8b0fa0fd63a67ece05fe142d6a19114
2004-09-19 00:50:20 +00:00
drh
c2316c3931 Fix typo on homepage. (CVS 1971)
FossilOrigin-Name: 5d3b3a96bcc459a797bd723025f2d38efcfeb6fa
2004-09-18 18:51:09 +00:00
drh
1a9d17fe77 Version 3.0.7 (CVS 1970)
FossilOrigin-Name: d82ded9543fdd77f3613bac5e263f658dc3fd236
2004-09-18 18:45:57 +00:00
drh
2d7c0609ed Up the version number and prepare documentation files for the 3.0.7 release. (CVS 1969)
FossilOrigin-Name: 63e4ed3cc698d660867c297cbedfc25f9eb7c40d
2004-09-18 18:00:23 +00:00
drh
cc01bc037f Always include -lpthread on link lines even if it is not needed. (CVS 1968)
FossilOrigin-Name: 46a96890f7008157bc3784fa7c8680edf6266673
2004-09-17 21:35:30 +00:00
drh
8d45ec079d Make use of $(libdir) in the Makefile.in. Ticket #904. (CVS 1967)
FossilOrigin-Name: 10b5e5173339cc7f052aace1b4056a057afe3e66
2004-09-17 21:07:34 +00:00
drh
d2f397f9f3 Create directories using "mkdir -p". Ticket #903. (CVS 1966)
FossilOrigin-Name: 02de1cf95e0cf230aeebdb0c4684e486b1424810
2004-09-17 20:47:16 +00:00
drh
31f33e1369 Close stray statements prior to finishing trace.test, to avoid a file
descriptor leak. (CVS 1965)

FossilOrigin-Name: 8bb0221da8ab49d766db7cd2f815ba2a305e15de
2004-09-17 20:46:54 +00:00
drh
d900a46be0 The page_size pragma preserves the reserved area at the end of each page. (CVS 1964)
FossilOrigin-Name: c34f3209e5028e008ea9e2c43f1e0d97d6db01d3
2004-09-17 20:25:24 +00:00
drh
31f11f6923 Get VACUUM working on databases that have reserved bytes at the end
of each page. (CVS 1963)

FossilOrigin-Name: 90bb3af6cd827fcf731ba3d641a00ae426d6baca
2004-09-17 20:02:42 +00:00