Commit Graph

2572 Commits

Author SHA1 Message Date
drh
748f763f7a Fixes so that the FULLSYNC changes will build on windows. They do not have
any effect, but neither do they cause errors. (CVS 2377)

FossilOrigin-Name: ace3e30de1cde2e8990d8429b730ca5b68acd714
2005-03-11 04:41:39 +00:00
drh
4835fc5c9b Increase the version number to 3.1.4. (CVS 2376)
FossilOrigin-Name: e438b65cf9606f5564b28857ba9625665d57f1f6
2005-03-11 04:40:23 +00:00
drh
a8f9361f1d Documentation updates for version 3.1.4. (CVS 2375)
FossilOrigin-Name: a7261f1590367932db23f5c8d6d785887df1e8dd
2005-03-11 04:39:58 +00:00
drh
6575a222d5 Another case of returning SQLITE_CORRUPT when a corrupt database file
is detected. (CVS 2374)

FossilOrigin-Name: 8710192797b5b22f29b2af90198d03664665bd83
2005-03-10 17:06:34 +00:00
drh
75ea0289cc Fix a problem with crashtest caused by the F_FULLSYNC change. (CVS 2373)
FossilOrigin-Name: f11c6e745200525056ae7cf97b4bdf1c7f1db588
2005-03-10 14:32:24 +00:00
drh
b851b2c938 Disable F_FULLSYNC if the sychronous pragma is not set to FULL. (CVS 2372)
FossilOrigin-Name: 58b8733b96165126ee8514f2ce0f88d249792847
2005-03-10 14:11:12 +00:00
drh
cca76c2f7e Disable the use of ./crashtest in builds that include a codec. (CVS 2371)
FossilOrigin-Name: 7e4af62238bf8fa3d3cbc79e2c8951e621a0c0b4
2005-03-10 12:58:21 +00:00
drh
fec8066734 Disable the alter2 tests if there is a codec compiled into the library. (CVS 2370)
FossilOrigin-Name: 06a48da67b142e92624cdfd46947bd4ccc6842b7
2005-03-10 12:52:47 +00:00
drh
33fa535dca Fix a #ifdef in util.c. (CVS 2369)
FossilOrigin-Name: f426c625c4c3de626b5f5f8b5a6343a7ec3b16e9
2005-03-10 12:35:45 +00:00
danielk1977
5fd057af68 Fix a file corruption bug in CREATE INDEX in auto-vacuum databases. (CVS 2368)
FossilOrigin-Name: 64c4c717d35c8fce9b4be073196c507f6d471188
2005-03-09 13:09:43 +00:00
danielk1977
aee18ef8e2 Support for a future ALTER TABLE command to add columns with default values. (CVS 2367)
FossilOrigin-Name: 9d5abc1ddf6da37563c12d5a0401b89bb4e51c59
2005-03-09 12:26:50 +00:00
drh
97ba4c94fc Print an error message and quit if the regression tests are run as root.
Ticket #1153. (CVS 2366)

FossilOrigin-Name: 9b96078763949a2723482328e7b90c939ba8d2d8
2005-03-02 05:18:57 +00:00
drh
d61c443e6a Fix the header comment on experimental.c. (CVS 2365)
FossilOrigin-Name: 0c4d2b11c922b41d0e03bfbd885dfdf52ce7ccab
2005-03-02 05:18:29 +00:00
drh
737b6e83a1 Version 3.1.3.1 (not an official release) (CVS 2364)
FossilOrigin-Name: 957333a7b203373e89030766f693e691f049c66a
2005-02-28 01:52:56 +00:00
drh
de4fb7b050 Bump the version number to 3.1.3.1. (CVS 2363)
FossilOrigin-Name: 1ca8bbf749988fd3c88b25c08255c2096f833808
2005-02-28 01:42:23 +00:00
drh
bf21627b6f Add the SQLITE_OMIT_FLAG_PRAGMAS compile-time option. (CVS 2362)
FossilOrigin-Name: c167e9054249361d1f464d3840a5c277e6ed44ab
2005-02-26 18:10:44 +00:00
drh
ccae6026e6 Fix an assertion fault that can occur while autovacuuming a corrupt database
file.  Add the SQLITE_OMIT_COMPLETE compile-time parameter. (CVS 2361)

FossilOrigin-Name: bb0e7e3857a06347b08d93553ac603e737322262
2005-02-26 17:31:26 +00:00
drh
7530873132 Revised man page from Bill Bumgarner. (CVS 2360)
FossilOrigin-Name: 5c99bea5a480edc7b15ae80be952b212e730d452
2005-02-24 04:51:51 +00:00
drh
51e75cafb0 Remove strcasecmp from shell.c. Tickets #1108, #1122. (CVS 2359)
FossilOrigin-Name: 4ae1a9fc2c484e59ef1e58972aa25772cede1187
2005-02-23 12:35:41 +00:00
drh
29088eb6c9 The script that cross-compiles the windows DLLs now exports the symbols
Tclsqlite_Init and Sqlite_Init used to initialize the TCL extension.
Ticket #1137. (CVS 2358)

FossilOrigin-Name: f18704777407d84f5ba23333e8d4bcdcb09b4a70
2005-02-23 00:26:12 +00:00
danielk1977
3fdf826699 Fix bug reported on the mailing list for WHERE clauses like (rowid<'2'). (CVS 2357)
FossilOrigin-Name: b323f0f2832ac5d225d880db6f56314d2f766a25
2005-02-22 09:47:18 +00:00
drh
dcc2b9882b Version 3.1.3 (CVS 2356)
FossilOrigin-Name: 36dbf5e929ede7768e8b63219e54548384a8fab5
2005-02-20 02:25:57 +00:00
drh
30375de10e Prepare for the release of 3.1.3. (CVS 2355)
FossilOrigin-Name: 5b66631fd4820e721fd506b233ca9259360139be
2005-02-19 13:46:25 +00:00
drh
30963453c5 Rework parts of the pragma documentation. Ticket #1081. (CVS 2354)
FossilOrigin-Name: 25141d9e213005940c4e57deca408e09c3e615d1
2005-02-19 13:05:47 +00:00
drh
0ab5fcccc7 Add documentation on the EXISTS expression. Ticket #1082. (CVS 2353)
FossilOrigin-Name: 76cacb4a39d2dd79a27624a8bd1ff65eeedd4ac8
2005-02-19 12:44:15 +00:00
drh
e1b4f0374c Remove duplicate word from documentation. Ticket #1103. (CVS 2352)
FossilOrigin-Name: c1fc0a8aa96d2bd615f815b2477b801bda9e9c50
2005-02-19 12:32:57 +00:00
danielk1977
36963fdca8 Support for a future file format that includes 'short' records. (CVS 2351)
FossilOrigin-Name: 173aeb256e2c09098a4392874f8623e8a760d951
2005-02-19 08:18:05 +00:00
danielk1977
25d39a83ac Fix typos in documentation for pragma short_column_names. Ticket #1130. (CVS 2350)
FossilOrigin-Name: fac56fa1e06e15ffd738cb9b780d422a73a743ae
2005-02-18 01:15:23 +00:00
drh
75f86a4b0b Compile-time option to limit the size of AUTOINCREMENT rowids to 32-bits. (CVS 2349)
FossilOrigin-Name: c5366deaf5beca9c99558c0f375ba73f817acd92
2005-02-17 00:03:06 +00:00
danielk1977
46dd62bc69 Clarify that columns are indexed from 0 when using sqlite3_column_XXX() APIs. No code changes. (CVS 2348)
FossilOrigin-Name: d5eb25d8d0d444ab98b26f7f1ac763919e692806
2005-02-16 23:43:33 +00:00
drh
b797783d68 Change to configure.ac contributed by a reader. (CVS 2346)
FossilOrigin-Name: 0cd3bf02d25933286085708308ff963c50c8d33d
2005-02-16 03:45:51 +00:00
drh
dc30dd3158 Patch the command-line error message printing for lemon. Ticket #1120. (CVS 2345)
FossilOrigin-Name: 97c7aaf1870a86955f0f3a0cbe06187e3c3ccc90
2005-02-16 03:35:15 +00:00
drh
0f68fd1bd9 Get vacuum working on database that used to have autoincrement tables but
where all such tables have been dropped.  Ticket #1121. (CVS 2344)

FossilOrigin-Name: 8f7c639da0f862fa2dd2f55eb7e4d453cd321540
2005-02-16 03:27:04 +00:00
drh
1f01ec1b7a Move the special built-in SQL functions used by ALTER TABLE out of func.c
and into alter.c. (CVS 2343)

FossilOrigin-Name: dbd11a0c581b447bb2f220a1a185d9fd36933ee3
2005-02-15 21:36:18 +00:00
drh
d0e4a6c11d Split the logic for the ALTER TABLE command off into a separate source
code file. (CVS 2342)

FossilOrigin-Name: 90d6573c2631fac92b9e572e9e21698ae2480c9d
2005-02-15 20:47:57 +00:00
drh
057cd3a0aa Btree checks the autovacuum flag after locking the database file. (CVS 2341)
FossilOrigin-Name: 6610188f09d08c65c46a140685b403aa74f71a19
2005-02-15 16:23:02 +00:00
drh
39171f390d Append the version number to the directory name in source code tarballs.
Tickets #793, #855, and #1055. (CVS 2340)

FossilOrigin-Name: 138577d0a5c41f3de4f9adc9ab6e312a65ff8888
2005-02-15 16:15:09 +00:00
drh
a10da477c2 Fix a hyperlink bug on the homepage. (CVS 2338)
FossilOrigin-Name: 9fd9d9fbeefcc76e7262f488f99ac11eaf58e88e
2005-02-15 13:38:46 +00:00
drh
208bbcbcba Version 3.1.2 (CVS 2337)
FossilOrigin-Name: e9012d917a97a2f62ea58e85afa4879d213558e8
2005-02-15 13:08:09 +00:00
drh
8f4971fcd9 Updates to the script that generates the download page for the website. (CVS 2335)
FossilOrigin-Name: 363590d37fd3a2cdfb4c2887b790395dae2fb97e
2005-02-15 13:07:38 +00:00
drh
08971de9bc Update the change log. (CVS 2334)
FossilOrigin-Name: 94c3f20e8c831aa708955b588a13d54f79f3ef03
2005-02-15 12:56:22 +00:00
drh
1179ee3418 Update the homepage prior to releases 2.8.16 and 3.1.2. (CVS 2333)
FossilOrigin-Name: 603bbe47ddb14105da6a3435ff8f7c6c6f1929a1
2005-02-15 12:51:16 +00:00
danielk1977
1722181328 Ensure a database file is not truncated without an exclusive lock.
Fix for ticket #1114. (CVS 2332)

FossilOrigin-Name: dcbc983355d3207615b52b0724405a024a1a5955
2005-02-15 03:38:05 +00:00
danielk1977
3c407374fc Check that read-only pages are not being modified (disabled by default). (CVS 2331)
FossilOrigin-Name: 8514a4feb2a86e93c4251c491d394e861bb65edb
2005-02-15 02:54:14 +00:00
drh
aee128dc20 Make sure that when a CREATE INDEX fails, it does not leave a residue behind
that can corrupt the database.  Ticket #1115. (CVS 2330)

FossilOrigin-Name: cbed92f397ec13b57771ab8b5be74c0cacf35dfd
2005-02-14 20:48:18 +00:00
danielk1977
2b6d46b975 Tighten up the CREATE INDEX syntax accepted by the parser. (CVS 2329)
FossilOrigin-Name: 41d2214b83dd52acdda64a50d0c1ef16009d06d0
2005-02-14 06:38:40 +00:00
drh
802d69a79c Update the version number in preparation for the release of 3.1.2. (CVS 2325)
FossilOrigin-Name: f3c51de7599ed6d3bcdd227e290ad75829840957
2005-02-13 23:34:24 +00:00
danielk1977
a1cb183d04 Fix a problem with sub-queries and the flattening optimization. Also handle an extra case of database corruption. (CVS 2324)
FossilOrigin-Name: f7858d8830cdd0f57b8f9bc73068d29a7062b8ac
2005-02-12 08:59:55 +00:00
drh
8cbd373ca7 Fix a problem with VACUUM that can lead to database corruption. (CVS 2323)
FossilOrigin-Name: 63894baf1b37156fd0b84eba4c9c5e8f43cee3f3
2005-02-12 00:19:30 +00:00
danielk1977
c30f9e7356 Return SQLITE_BUSY if the database is locked reading the schema within
sqlite_prepare(). Ticket #1106. (CVS 2322)

FossilOrigin-Name: c33c02d6069b90f295698a9f35f4aa99dee5f5e9
2005-02-09 07:05:46 +00:00
danielk1977
48af65aeae Add experimental collation_list pragma. (CVS 2321)
FossilOrigin-Name: f73a8aa34afd39e0b7df8f22b5c5d2c8d8979a1b
2005-02-09 03:20:37 +00:00
danielk1977
24c8ab8030 Document SQLITE_DEFAULT_CACHE_SIZE and SQLITE_DEFAULT_TEMP_CACHE_SIZE macros. (CVS 2320)
FossilOrigin-Name: ddcea6f8891b02e64f96591af161feb55c00a72c
2005-02-09 01:40:23 +00:00
danielk1977
4d88778b26 Fix a buggy interaction between "INSERT ... SELECT" processing and optimization (2170). (CVS 2319)
FossilOrigin-Name: c54ad2123693be8777d80343979e3261c4892105
2005-02-08 08:42:27 +00:00
danielk1977
a58fdfb162 Fix for correlated subqueries where the parent is an aggregate. Ticket #1105. (CVS 2318)
FossilOrigin-Name: f0d3ca10c5bccf8fca7143028ebb3e604c0e3f20
2005-02-08 07:50:40 +00:00
drh
7bec505e26 Add the (highly experimental) omit_readlock pragma that disables the use
of readlocks on read-only databases that are connected using ATTACH. (CVS 2317)

FossilOrigin-Name: 2155448d2128119f74241da0ea07d6713b71765c
2005-02-06 02:45:41 +00:00
danielk1977
a2dc3b1a5e Allow expressions (including variables) in LIMIT and OFFSET clauses. Ticket #1096. (CVS 2316)
FossilOrigin-Name: 515e5033a5482f55e7edb66d69ff3da7e234ff2e
2005-02-05 12:48:48 +00:00
danielk1977
99ba19ea08 Add a numeric version number. Ticket #1097. (CVS 2315)
FossilOrigin-Name: a9c33a804d572dd9df15be2029637b10e5a65cc4
2005-02-05 07:33:34 +00:00
danielk1977
ac17178853 Detect database corruption in rootpage flags (see also (2313)). (CVS 2314)
FossilOrigin-Name: 6d91a1e91bf0e8b4a0f5f78d079031f3ee69603b
2005-02-05 06:49:54 +00:00
drh
4e6083cb56 Detect and report a subtle case of database file corruption. (CVS 2313)
FossilOrigin-Name: 9fc0a5cbf892a22eaa950f3b2ed572ab4985c220
2005-02-04 21:13:00 +00:00
danielk1977
6a67fe8edf Remove code for SQL cursors. (CVS 2312)
FossilOrigin-Name: 2eb90870556c90b8d85da3d5eb7554f74ec922c2
2005-02-04 04:07:16 +00:00
drh
62d54916c4 Get AUTOINCREMENT and VACUUM working together. Ticket #1095. (CVS 2311)
FossilOrigin-Name: 332a531d06a610e6597b02105fcda767313f0225
2005-02-03 01:08:20 +00:00
drh
f8eb96ab9c Fix the ".dump" command in the shell so that it works with AUTOVACUUM.
This is related to ticket #1095. (CVS 2310)

FossilOrigin-Name: 76c4a96c5a2148f253cc5e034567b16317343be7
2005-02-03 00:42:34 +00:00
drh
4c7f941cfc Make sure the rc variable in OsWrite of os_win.c is always initialized.
Also assert that the amt parameter is always greater than zero.
Ticket #1094. (CVS 2309)

FossilOrigin-Name: 4b399ae7791288e5d44f90da530908d9ca77ff4b
2005-02-03 00:29:47 +00:00
danielk1977
99b214d28e Fix a comment in sqlite3.h. No code changes. Ticket #1093. (CVS 2308)
FossilOrigin-Name: d1ea2fb70be905947c8ff74da8e1f719a8fb85f5
2005-02-02 01:13:38 +00:00
danielk1977
d0a6932f70 Handle "rowid<=X ORDER BY rowid DESC" where X is an integer. Fix for ticket #1092. (CVS 2307)
FossilOrigin-Name: 506088796c846243e24c4cba6be4ce6511fdb345
2005-02-02 01:10:44 +00:00
drh
e90b1bd1f1 Version 3.1.1 (beta) (CVS 2306)
FossilOrigin-Name: 2e1c71c4686472c6ee277f8928320095bc27846d
2005-02-01 17:05:13 +00:00
drh
7715643f49 Increment the version number to 3.1.1beta. (CVS 2305)
FossilOrigin-Name: 076f9868a487913a79abddfb3977f05cd88d6cf1
2005-02-01 15:57:07 +00:00
danielk1977
24c9253c43 Space analyzer: Format integer results as integers. Also fix the calculation of average-fanout. (CVS 2304)
FossilOrigin-Name: 52e473b94694cd0991257427d57515ecef93c780
2005-02-01 10:36:40 +00:00
danielk1977
a38432df12 Have debugging code handle sqliteMalloc(n) where n<0 in the same way as production. (CVS 2303)
FossilOrigin-Name: ab85e1d01299e383bda1834664370f04b13634b6
2005-02-01 10:35:06 +00:00
drh
161aba32be More performance tweaking in the parser. (CVS 2302)
FossilOrigin-Name: a3d12726bb7bce72b8266236800c07f22ac5212f
2005-02-01 04:09:36 +00:00
danielk1977
441daf68d2 Fix an error introduced with (2299). (CVS 2301)
FossilOrigin-Name: 22041d5f26355b0fc80eb355bfec897fb50ac1e1
2005-02-01 03:46:43 +00:00
drh
490a73bcde Lemon optimization: When doing a shift following a reduce that pops one
or more elements off the stack, no need to check for stack overflow. (CVS 2300)

FossilOrigin-Name: adcd9a3fa2a86464abd613aa88ae110b4799a241
2005-02-01 03:20:00 +00:00
danielk1977
48d0d866fc Avoid allocating a vdbe in sqlite3FinishCoding() if one has not been allocated already. (CVS 2299)
FossilOrigin-Name: eaf1866e4d10f0ddf5ccc02b7d9aff281ff9efc0
2005-02-01 03:09:52 +00:00
danielk1977
201f7168df Change to sqlite3AffinityType() to remove hex constants. (CVS 2298)
FossilOrigin-Name: d8b4b0ef13dddbf527e7440e7343c458210dceac
2005-02-01 02:13:29 +00:00
drh
74bf02858b Tweaks to the keyword hash generator. Tried to make it a little faster.
If nothing else, the keyword hash table is now a little smaller. (CVS 2297)

FossilOrigin-Name: 4eca6c05abdf3955c5fd7bd3a22c87cd4741d656
2005-02-01 01:40:44 +00:00
danielk1977
b3dff964bd Replace sqlite3AffinityType() with a slightly faster version. (CVS 2296)
FossilOrigin-Name: abe9f5e81f1196f28eec628e898b2a994c4d659d
2005-02-01 01:21:55 +00:00
drh
59f19c15c5 Performance tweaks for sqlite3AffinityType. (CVS 2295)
FossilOrigin-Name: 32b926154aaae9264359fa1e9a7189afd08b0bb7
2005-01-31 23:45:55 +00:00
danielk1977
52a83fbbe9 Move sqlite3HashNoCase to hash.c. (CVS 2294)
FossilOrigin-Name: 5c10ccd8e99cab7e9f8e733dfd1447c2df1d25c1
2005-01-31 12:56:44 +00:00
danielk1977
c60e9b82db Assorted minor changes to speed up loading the database schema. (CVS 2293)
FossilOrigin-Name: dfbd684a913022ad43ce59c3422d3d94f776d547
2005-01-31 12:42:29 +00:00
drh
d5b6b38d6f User-contributed chagnes to tclinstaller so that it supports DESTDIR. (CVS 2292)
FossilOrigin-Name: ab8dbcf563b9069ce2049877bba69e5057f5b727
2005-01-30 22:10:00 +00:00
danielk1977
142bdf4051 Respect collation sequences in views. Ticket #1088. (CVS 2291)
FossilOrigin-Name: 9843c0dd795ceda3c260986f95b101a0cbc7cf64
2005-01-30 11:11:44 +00:00
danielk1977
6c18b6e0f4 Have the optimization introduced in (2170) deal with OP_NullRow as well as OP_Column and OP_Recno. Fix for #1086. (CVS 2290)
FossilOrigin-Name: 356d31e03fe856642c5637f5ea5665947ff681fc
2005-01-30 09:17:58 +00:00
danielk1977
0fa388f685 Update to test files to support builds with OMIT macros defined. (CVS 2289)
FossilOrigin-Name: 808e16a7dda048c214df24170da282087042ee3a
2005-01-29 09:14:05 +00:00
danielk1977
494fa66d19 Fix a test bug causing a segfault in bind.test. (CVS 2288)
FossilOrigin-Name: a8b921d45ec9ef4d16ef7b5bf09aabaf02ebc70b
2005-01-29 09:00:49 +00:00
danielk1977
f7c9bfead4 Update ioerr.test to be more deterministic. (CVS 2287)
FossilOrigin-Name: d0b16bae6555f723400821b22916b66609a26b9c
2005-01-29 08:36:45 +00:00
danielk1977
b3bce66232 Modify sub-query handling. Tickets #1083 and #1084. (CVS 2286)
FossilOrigin-Name: b1b50f315873a8614920d1e3af4a07fb29a7ff6a
2005-01-29 08:32:43 +00:00
danielk1977
c9ec413a08 Modification to schema.test so that it works with SQLITE_OMIT_TRIGGER and SQLITE_OMIT_UTF16 defined. (CVS 2285)
FossilOrigin-Name: 95ecb2745f3fc69d370fc3961800db56297acb68
2005-01-29 01:54:18 +00:00
drh
b659e9bf7a Make sure the #include of "sqliteInt.h" always comes first in C source files. (CVS 2284)
FossilOrigin-Name: 522c094f799220468780acb77731edb715bf5e3c
2005-01-28 01:29:08 +00:00
danielk1977
e63739a868 Fix a warning introduced by (2280). (CVS 2283)
FossilOrigin-Name: dc1b8106c4ce0ab378ee26324df4537ffe68a940
2005-01-27 00:33:37 +00:00
drh
52f159e040 More changes to improve propagation of SQLITE_CORRUPT errors. (CVS 2282)
FossilOrigin-Name: e4b5c16858db3b17a13cb572896bfd3dc08b88c1
2005-01-27 00:33:21 +00:00
danielk1977
81e9674ba6 Test that it is ok to execute ALTER TABLE immediately after opening a database connection. (CVS 2281)
FossilOrigin-Name: 1d5ebb1146cc6e59d8b419b3fa4796552111606d
2005-01-27 00:30:52 +00:00
danielk1977
33a5edc3a4 Have REINDEX handle missing collation sequences correctly. (CVS 2280)
FossilOrigin-Name: 1c1904f44310fa0e327d8f0a77f1cf97599b630a
2005-01-27 00:22:02 +00:00
drh
536065afef Propagate detected database corruption up through the call stack. (CVS 2279)
FossilOrigin-Name: 2c54aba5ba781f4da1f14ed7a3986b6dc17728d7
2005-01-26 21:55:31 +00:00
drh
5742b63e4a An optimization to sqlite3VdbeSerialType(). (CVS 2278)
FossilOrigin-Name: db36773830cc81c38b78d1776a495d49475523be
2005-01-26 17:47:02 +00:00
danielk1977
f87d01abe9 Add an entry to faq.tcl regarding SQLITE_SCHEMA errors. (CVS 2277)
FossilOrigin-Name: 12defe8cd6a0d7434c8f74b88169155d47299079
2005-01-26 10:39:58 +00:00
danielk1977
e257300f2e Allow GROUP BY on non-aggregate queries. Ticket #1064 (CVS 2276)
FossilOrigin-Name: 0642d3e3d6636a5f922f75c05252c9c1372d3936
2005-01-26 03:58:35 +00:00
danielk1977
9636c4e102 Prevent collation sequences and user functions from being deleted or changed while SQL statements are executing. (CVS 2275)
FossilOrigin-Name: cabab62bc10568d435806a7059fad7274f0dd4c8
2005-01-25 04:27:54 +00:00
danielk1977
86c4948198 Clarify documentation of DEFAULT CURRENT_TIME etc. (version 3.1.0 and greater only). (CVS 2274)
FossilOrigin-Name: 557eb2ec9d825c0a2830d3355d0d27b4b5937de2
2005-01-24 23:27:31 +00:00
danielk1977
bfb9e35b30 More test cases to do with invalidating precompiled statements. (CVS 2273)
FossilOrigin-Name: b243681a0e328ee0bbf1140abfb60d65d2102ad5
2005-01-24 13:03:32 +00:00
drh
190765c470 Use the cache with loading a large table in select2-2.0. (CVS 2272)
FossilOrigin-Name: bd65b1805c116a9073a01164d77e2bfd4ab3b447
2005-01-24 12:46:14 +00:00
danielk1977
a21c6b6fe0 Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271)
FossilOrigin-Name: d5233e0747789dea04d35a8350b408321d23a64d
2005-01-24 10:25:59 +00:00
drh
d5a71b5de3 Flush the TCL statement cache before each lock_status pragma. (CVS 2270)
FossilOrigin-Name: 8beae3ff8cbe23f20eb242187edbdb72133a24c3
2005-01-24 01:38:32 +00:00
drh
fb7e7651ca Change the TCL interface so that it can cache VMs and reuse them without
recompiling.  But for now leave the cache turned off by default. (CVS 2269)

FossilOrigin-Name: 8db6bfef52c1f35afdb8b60cba34f6807a5917f4
2005-01-24 00:28:42 +00:00
danielk1977
4af00c6cee Modification to shell.c to avoid a compiler warning on some compilers. (CVS 2268)
FossilOrigin-Name: 0778383b6f9e6f58202ca20e74b399f8dce90ec4
2005-01-23 23:43:21 +00:00
danielk1977
940fac9dc5 Minor changes to avoid warnings on some compilers. (CVS 2267)
FossilOrigin-Name: 4daf1d1f9d4d32397d785d660394c5579c296b1f
2005-01-23 22:41:37 +00:00
drh
f4d173ae14 Fix a bug in change counting that comes up when sqlite3_finalize() is
called right after sqlite3_reset(). (CVS 2266)

FossilOrigin-Name: 1a64295e055d083539e05f069df6f1bea12e14b2
2005-01-23 19:04:42 +00:00
drh
178286b5df ATTACH and DETACH cause prepared statements to expire.
sqlite3_finalize() can now be called right after sqlite3_reset(). (CVS 2265)

FossilOrigin-Name: 6c631b86e5e166f650d3f7d53c773aa859391c2b
2005-01-23 13:14:55 +00:00
danielk1977
32554c10d0 Test script changes: Bug fix and cleanup on ioerr tests. Also, don't use TCL "file copy" command on windows. (CVS 2264)
FossilOrigin-Name: 764b55adb5dff944db36d0d19ce5e7cc758b3a9e
2005-01-22 03:39:39 +00:00
drh
d89bd007ba Add the experimental sqlite3_expired() API. (CVS 2263)
FossilOrigin-Name: df648d50c0696cf7ada2fe5973d285b494891964
2005-01-22 03:03:54 +00:00
drh
52370e2c95 Add <stddef.h> to sqliteInt.h. (CVS 2262)
FossilOrigin-Name: fede252d19cce6a88f6baff3362b057ab3b8af4b
2005-01-21 21:31:40 +00:00
drh
1ba1e6e0b9 More documentation changes. Allow SQLITE_DEFAULT_CACHE_SIZE to set the
default cache size for the pager at compile-time. (CVS 2261)

FossilOrigin-Name: 2ddb6748751c0135a42e6d0bcc303d06d8e17cf3
2005-01-21 21:22:52 +00:00
drh
80fc58bf99 Version 3.1.0 (alpha) (CVS 2260)
FossilOrigin-Name: 45094abe38c3d35b0528fc28503aff604e9087f8
2005-01-21 18:28:55 +00:00
drh
e425464be5 Documentation updates prior to 3.1.0. (CVS 2259)
FossilOrigin-Name: fc4f1f13d053f861b6be0ceba29bd9e62554252f
2005-01-21 18:19:27 +00:00
drh
842b864118 Initialize the random number generator from /dev/urandom, if available. (CVS 2258)
FossilOrigin-Name: aab8e7f8d81ffa786d5fae5a13963c6e58a8eefc
2005-01-21 17:53:17 +00:00
drh
0602c2e4a5 Change to mkopcodeh.awk to accomodate windows systems. (CVS 2257)
FossilOrigin-Name: 39786aa894d620480661ed8867961f9f1ef33e40
2005-01-21 17:07:22 +00:00
drh
54a83b4d5a Update change log for version 3.1.0. (CVS 2256)
FossilOrigin-Name: 4d9b858746084c2636ba618108775b9be2eff0a5
2005-01-21 17:03:50 +00:00
drh
7bf5661068 Final preparations for the 3.1.0 alpha release. (CVS 2255)
FossilOrigin-Name: 17122c7e8e9cae36f1ffa7b42bd69d702980ac6a
2005-01-21 15:52:32 +00:00
danielk1977
576ec6b32a Improve test coverage for minimum feature builds. (CVS 2254)
FossilOrigin-Name: 9c4d0e13e8c5f3fc4d7fd8f495898372293f7fad
2005-01-21 11:55:25 +00:00
danielk1977
93758c8dcc Exclude a few more lines of code using OMIT macros. (CVS 2253)
FossilOrigin-Name: c6fc49e61033419e78b6b10638d57f4942087961
2005-01-21 08:13:14 +00:00
danielk1977
e61b9f4f3c Modify test scripts to work when SQLITE_OMIT_SUBQUERY (but no other OMIT macros) is defined. (CVS 2252)
FossilOrigin-Name: d4e19efcef68d834c55c7d496cdb3696d63a31a2
2005-01-21 04:25:47 +00:00
danielk1977
3e8c37e7f8 Modify test scripts to work when SQLITE_OMIT_SUBQUERY (along with other OMIT macros) is defined. (CVS 2251)
FossilOrigin-Name: bb0254ab14417f0ab40f10f37cb63a60507f070a
2005-01-21 03:12:14 +00:00
drh
801845fb2d Add a new test file for subqueries. (CVS 2250)
FossilOrigin-Name: de8ee3a29e1aafcfa05841cb44da0a05f0579596
2005-01-21 02:34:44 +00:00
danielk1977
83715c3edd Change the implementation of ALTER TABLE so that it does not use the IN() operattor. (CVS 2249)
FossilOrigin-Name: 06887afb323fa1fb6988a136f96a456467cf7b2f
2005-01-21 00:44:22 +00:00
drh
4eec4c1b0c Fix a segfault that occurs on a corrupt database. (CVS 2248)
FossilOrigin-Name: d1166472fd17960eb3016f3d5d3bf44afc9f5bc8
2005-01-21 00:22:37 +00:00
drh
279d477939 Fix comment typo in mkopcodec.awk. (CVS 2247)
FossilOrigin-Name: 6177148260c5e3e28df6ea1c486ba3642a745a01
2005-01-20 23:23:29 +00:00
drh
fe2093d73e Bug fixes and enhancements entered while on jury recess. (CVS 2246)
FossilOrigin-Name: 38401dfbd5e3b50dd4e7a11562a7770347cebdf4
2005-01-20 22:48:47 +00:00
drh
51522cd34a Added the SQLITE_OMIT_SUBQUERY compile-time option and the EXISTS operator.
Regression tests are currently failing with an assertion fault. (CVS 2245)

FossilOrigin-Name: d30fdf0f2c24cb74b48fab9b83fba4e4b2fe878a
2005-01-20 13:36:19 +00:00
danielk1977
5338a5f74d Remove a few more lines of code when SQLITE_OMIT_** macros are defined. (CVS 2244)
FossilOrigin-Name: 417bbba93ad7ed5c03d9db6afc12e170155bd152
2005-01-20 13:03:10 +00:00
danielk1977
b84f96f854 Extend the influence of a couple of SQLITE_OMIT_** macros a little bit. (CVS 2243)
FossilOrigin-Name: 5b1a9bf6aa5a5c466b88f649e322e81b8466851f
2005-01-20 11:32:23 +00:00
danielk1977
1ad7f64aac Changes so that crash.test works when SQLITE_OMIT_PAGER_PRAGMAS is defined. (CVS 2242)
FossilOrigin-Name: f0add0a60e0afb833202e42cdba97bafe6a59dfc
2005-01-20 05:24:32 +00:00
danielk1977
4489f9bdec Fix some test scripts so that they work with a minimal build configuration. (CVS 2241)
FossilOrigin-Name: d267fb3ca3f31ee138c9613cb84e873ede7f141a
2005-01-20 02:17:01 +00:00
drh
1bd3644f27 Turn SQLITE_OMIT_CURSOR on by default. (CVS 2240)
FossilOrigin-Name: 2d3ab1ab5ae08fe21f4662b171f04362c1326eb0
2005-01-20 02:14:30 +00:00
drh
3119bc421a Expression generator bug fix. (CVS 2239)
FossilOrigin-Name: 39cf97a902523b1e3953da8fca6983119700d682
2005-01-20 01:51:25 +00:00
danielk1977
6d32959693 Minor fix for sqlite3_clear_bindings(). (CVS 2238)
FossilOrigin-Name: ff5b338cfbd4a957c8ea5e72d6340df25be68a6f
2005-01-20 01:17:44 +00:00
danielk1977
600dd0ba33 Add the experimental sqlite3_sleep() and sqlite3_clear_bindings() APIs. (CVS 2237)
FossilOrigin-Name: 9480209e8600bf411975b3950c407d60c800e5c6
2005-01-20 01:14:23 +00:00
drh
1398ad3639 Continued refactoring of the name resolution logic and query optimizer. (CVS 2236)
FossilOrigin-Name: d8b2a7e09187564fe66a2b4bf0992c6a017146cf
2005-01-19 23:24:50 +00:00
danielk1977
76b047d957 Another fix along the same lines as (2234) (CVS 2235)
FossilOrigin-Name: 27cf83224c69e661c19f9a09f39bfdae75e3b0a4
2005-01-19 03:52:54 +00:00
danielk1977
ca6707145d A few test cases were failing on windows due to mandatory locking. Omit them on that platform. (CVS 2234)
FossilOrigin-Name: 441316f1af076fef42055d6abe524f2a8c5ced63
2005-01-19 03:47:15 +00:00
drh
030530de9b Make sure USING and NATURAL work on joins even if the columns are renamed
using an AS phrase.  Ticket #523. (CVS 2233)

FossilOrigin-Name: c06add57bf0ce17503181b584ea4197b39b9e538
2005-01-18 17:40:04 +00:00
drh
79d5f63fa2 CREATE TABLE ... AS ... uses short names for columns. Ticket #1036. (CVS 2232)
FossilOrigin-Name: b1d4c42d2be07adda68d31c570ba7cf8b115c3ad
2005-01-18 17:20:10 +00:00
drh
47a6db2bfd Column names coming back from a SELECT are now just the name of the
source column without the "table." prefix. In other words,
"PRAGMA short_column_names=ON" is now the default.
This makes the names of columns behave more like other SQL engines.
The old behavior can be restored by setting "PRAGMA short_column_names=OFF". (CVS 2231)

FossilOrigin-Name: 9295050af1bf2d9d4dc63adc225a2848d67cbe17
2005-01-18 16:02:40 +00:00
drh
9b3187e113 Continue refactoring name resolution. Fix for ticket #1047. (CVS 2230)
FossilOrigin-Name: 88d4834fec7583a9b6400a1ce5b928c1f8a390dd
2005-01-18 14:45:47 +00:00
drh
73b211abed Refinements to the name resolution logic. Change the name of the
keywordhash.c file to keywordhash.h. (CVS 2229)

FossilOrigin-Name: 0142ae6f0004bf18a1c2d8e49c09d2a9a27d6369
2005-01-18 04:00:42 +00:00
drh
626a879a25 Infrastructure changes to handle name resolution differently. This is needed
to fix various long-standing problems with column names in joins.  It will
also make the implementation of correlated subqueries easier. (CVS 2228)

FossilOrigin-Name: 4a7534396a72ccb300303df28798bb2c50293782
2005-01-17 22:08:19 +00:00
danielk1977
3719d7f9c4 Fix a bug reported on the mailing list concerning a conflict between "INSERT INTO ... SELECT" statements and the "SELECT max(x) FROM tbl" optimization. (CVS 2227)
FossilOrigin-Name: 5a9da62ae303800ded99942aed30eadeb3863da3
2005-01-17 08:57:09 +00:00
danielk1977
5558a8a697 Fix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226)
FossilOrigin-Name: 6244252915fa312a6c4d192464023d95aaef4661
2005-01-17 07:53:44 +00:00
drh
f10519b45a Add incomplete, preliminary drafts of new documentation. (CVS 2225)
FossilOrigin-Name: a01159e8cb93199763d191b739da2a43ec88aab3
2005-01-17 03:42:52 +00:00
danielk1977
3c9cc8d095 Fix a memory leak that occurs as a result of an IO error. (CVS 2224)
FossilOrigin-Name: 1edfdcbf142b380172a26d094e6e4a3900db8463
2005-01-17 03:40:08 +00:00
danielk1977
fdb7cdb4b1 Change some assert()s that could fail if the database is corrupt to return SQLITE_CORRUPT instead. (CVS 2223)
FossilOrigin-Name: 2d58c0afa769d49c8819ea4982bc20ae39516f97
2005-01-17 02:12:18 +00:00
danielk1977
2683665406 Have sqlite3pager_get() return SQLITE_CORRUPT for a page number greater than 2^31. (CVS 2222)
FossilOrigin-Name: feb49d10e83ecc186024d4e96b64ef92cf876715
2005-01-17 01:33:13 +00:00
drh
615ae553fc Turn on quick-balance by default. (CVS 2221)
FossilOrigin-Name: d0356dee55bd43f361ede1344e90d1ba6b5cde1e
2005-01-16 23:21:00 +00:00
drh
0d477437ac Drop support for MAC OS9. SQLite 3 has never worked for that OS because
the developers do not have access to a machine running it and nobody from
the community has stepped forward to provide a port.  By moving the
os_mac.c file into the attic, we make the lack of support official. (CVS 2220)

FossilOrigin-Name: de9ad673d037f7bfca3a2d439259a63c9ed954db
2005-01-16 20:47:40 +00:00
danielk1977
aac0a38d1f Changes to make sure tests work when SQLITE_DEFAULT_AUTOVACUUM is defined. (CVS 2219)
FossilOrigin-Name: 6237c294d1211d5848bafb1310574e2486a43757
2005-01-16 11:07:06 +00:00
danielk1977
4e17d14c63 Fixes so that compiling and testing works when SQLITE_OMIT_AUTOVACUUM is defined. (CVS 2218)
FossilOrigin-Name: fe548561a0e7a696fd453372f4427cf3e3f19d20
2005-01-16 09:06:33 +00:00
danielk1977
79a40da6d7 Move duplicate code to update pointer-map wrt overflow pages into a function. (CVS 2217)
FossilOrigin-Name: a5c2121410476ee1bf81881fdf5917e3e16f0399
2005-01-16 08:00:01 +00:00
danielk1977
ac11ee6766 Enhance the performance of auto-vacuum databases by reducing the number of pointer-map entries written during tree balancing. Also fix bugs in balance_quick(). (CVS 2216)
FossilOrigin-Name: 0ae29538ccccfc237904cbcfb4507074db0f5905
2005-01-15 12:45:51 +00:00
drh
018d1a4929 Test coverage improvements. (CVS 2215)
FossilOrigin-Name: 92f9d2b2f480fccfa6e8b70a1d19058b92a4ea8f
2005-01-15 01:52:31 +00:00
drh
8b07c7178a Improved test coverage for update.c. (CVS 2214)
FossilOrigin-Name: 3ef95d5fe98e7451f8b87b3f5259163f3e7d0289
2005-01-15 00:40:42 +00:00
drh
39df51b269 Improved coverage for insert.c. (CVS 2213)
FossilOrigin-Name: 997d8afff9b316aef4c5e2127c2207758ff4a703
2005-01-15 00:36:36 +00:00
drh
f222e712a4 Add comments to the new balance_quick() routine. (CVS 2212)
FossilOrigin-Name: 183c42eac82b41da7905e44a43913f04acc46ade
2005-01-14 22:55:49 +00:00
danielk1977
ac245ec5af Experimental patch to balance() (use -DSQLITE_BALANCE_QUICK). (CVS 2211)
FossilOrigin-Name: c550d80c25ec88fceb20acabd00c21faa2d552f5
2005-01-14 13:50:11 +00:00
drh
d6fe961ef4 Improved test coverage on insert.c. (CVS 2210)
FossilOrigin-Name: c772f75166d55192132e732e8a0ddda5926f00f2
2005-01-14 01:22:00 +00:00
drh
3b93bc8cb1 Need SQLITE_MEMDEBUG instead of SQLITE_DEBUG in tclsqlite.c. (CVS 2209)
FossilOrigin-Name: 6e905270a933fd4c99f6db6707ed79166f6484ee
2005-01-13 23:54:32 +00:00
drh
8d65973d93 Fix a bug in lemon that does not effect SQLite. Ticket #1068. (CVS 2208)
FossilOrigin-Name: 7113b5ed8d51718356ce1cc51896a3070875a7e2
2005-01-13 23:54:06 +00:00
danielk1977
c08d405d2e Tidy up malloc.test a bit. (CVS 2207)
FossilOrigin-Name: 94cf91cc5dc0d656636211d23350a1ec29aced8a
2005-01-13 13:35:57 +00:00
danielk1977
6b77a36abf Fix typo in shell .help. Ticket #1071. (CVS 2206)
FossilOrigin-Name: 2c7a1a1698851914de705a0a942ebaaad5545fbc
2005-01-13 11:10:25 +00:00
danielk1977
aca790ace3 Test cases to improve coverage of pager.c. (CVS 2205)
FossilOrigin-Name: 0428a1480126f7e73dc1e24b6fbfa185d2d83dd3
2005-01-13 11:07:52 +00:00
danielk1977
2c3365493b Fixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204)
FossilOrigin-Name: 8378455f32c3010ccc28181048c746ecb8a9fa67
2005-01-13 02:14:23 +00:00
danielk1977
656152c2e3 Fix a test bug introduce with the previous commit. (CVS 2203)
FossilOrigin-Name: 1c19e8bdca24484fcb9f068b38ebfbce3e24ada5
2005-01-12 13:04:54 +00:00
danielk1977
4397de57ce Tests to improve coverage of main.c. (CVS 2202)
FossilOrigin-Name: 4e28c82adabb58ad9f79ed829734a2ff569a7c05
2005-01-12 12:44:03 +00:00
danielk1977
8b60e0f142 Tests to improve coverage of vdbeaux.c. (CVS 2201)
FossilOrigin-Name: 2b3e21ce2e8126ec2851751546094c3a2c831942
2005-01-12 09:10:39 +00:00
danielk1977
b5402fbf05 Tests to improve coverage of vdbemem.c. (CVS 2200)
FossilOrigin-Name: 319bb4a9064deb062a888fdc31067619c9b749bb
2005-01-12 07:15:04 +00:00
drh
c8f9079c61 Fix a bug in tclsqlite.c. (CVS 2199)
FossilOrigin-Name: 50f1e229652610b386745bb39fed45549cc74aa7
2005-01-12 00:08:24 +00:00
drh
ac931eb93b Fix for ticket #1062: Correctly handle redundant terms in a WHERE clause. (CVS 2198)
FossilOrigin-Name: 1bee1bb91d39ff8a33efe662b6cab6dbd2d50e3c
2005-01-11 18:13:56 +00:00
drh
a0d1f663e1 Allow '$' in the middle of identifiers. Ticket #1066. This is an
experimental change.  It might be backed out at a later date. (CVS 2197)

FossilOrigin-Name: 00a352ea79e0e1e855282c54d0e470161215f25e
2005-01-11 17:59:47 +00:00
drh
48e5aa2769 Test coverage improvements on tokenize.c. (CVS 2196)
FossilOrigin-Name: 5767850ccadb3b53d14bca547e50f65de1d3092e
2005-01-11 17:46:41 +00:00
drh
c5cdca613a Improved test coverage for vdbeaux.c. (CVS 2195)
FossilOrigin-Name: 3f46cd7767cf7c48dd1de7ae1c4104d6d1a609be
2005-01-11 16:54:14 +00:00
drh
cacb208e4e Improved test coverage for util.c. (CVS 2194)
FossilOrigin-Name: ad451a2ddc7993035768f2801d590311807f4397
2005-01-11 15:28:33 +00:00
danielk1977
01427a6214 Test cases to improve coverage of vdbe.c. (CVS 2193)
FossilOrigin-Name: a6b45722071bde543c4ea28a432339d8708a5cac
2005-01-11 13:02:33 +00:00
danielk1977
1400b52838 Remove a C++ style comment that went in with the previous commit. (CVS 2192)
FossilOrigin-Name: ce8e4e885a46cec35b64a81925eb330048ea5cbb
2005-01-11 11:08:22 +00:00
danielk1977
62e05d8feb Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2191)
FossilOrigin-Name: a37e0108dea4896d8aaf84cc590b5cecbdefee6c
2005-01-11 10:25:06 +00:00
danielk1977
2812956b18 Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2190)
FossilOrigin-Name: 8ced491588764b1e1066787d0abf3cde8b60970b
2005-01-11 10:25:06 +00:00
danielk1977
7701e817ba Extra test cases to improve coverage of btree.c (CVS 2189)
FossilOrigin-Name: a461988661368bce799ef3d498a18e88559e14c7
2005-01-10 12:59:51 +00:00
danielk1977
307a777932 Update some documentation for version 3.1. (CVS 2188)
FossilOrigin-Name: 5b7a5a4d69be425163135698d889797d15f56492
2005-01-10 06:39:56 +00:00
danielk1977
cc6bd38380 Fix an assertion failure due to interaction between the count_changes pragma and triggers. (CVS 2187)
FossilOrigin-Name: 6c7bec1b3aee0287e30f43c1d6a7b67b1c47e774
2005-01-10 02:48:49 +00:00
drh
49766d6cd0 Tcl interface does as sqlite3 or as sqlite. A compile-time option allows
duel linking.  Also fix a bug in the pragma change from earlier today. (CVS 2186)

FossilOrigin-Name: ad10953799f3aa15fde41cbbd5911a3b56c326ec
2005-01-08 18:42:28 +00:00
drh
268283bc7f Fixes to the temp_store_directory pragma. (CVS 2185)
FossilOrigin-Name: 0a90eaf398aa4a689cd8326cd017951513ca748a
2005-01-08 15:44:25 +00:00
drh
4b238dfb80 Fix a comment. (CVS 2184)
FossilOrigin-Name: 26fbac8f031b305fe98add4422ab606ed116844a
2005-01-08 15:43:18 +00:00
danielk1977
42741be968 Fix a problem with auto-vacuum databases and the VACUUM command. Also add "pages read" and "pages written" statistics to the pager layer. (CVS 2183)
FossilOrigin-Name: fb3bf68d0e83b463c7e2f95b4502ba6f8158c074
2005-01-08 12:42:39 +00:00
danielk1977
59adfaa6ce Minor test script changes to allow all.test to run when SQLITE_DEFAULT_AUTOVACUUM=1 is defined. (CVS 2182)
FossilOrigin-Name: 5023b1dba2e61bb10d1b488874e3d3eea3973145
2005-01-08 02:35:44 +00:00
danielk1977
d9c847dcd1 Reset the temp_store_directory each iteration of tests in all.test. (CVS 2181)
FossilOrigin-Name: 7373a5d4cf2db921b33132c736ad62ab702d7cde
2005-01-07 10:42:48 +00:00
danielk1977
a3ad5e7d9f Fix a read of invalid memory that could occur in btree.c. (CVS 2180)
FossilOrigin-Name: 929745c1833e7f4323884a1bc0c632f5b319da35
2005-01-07 08:56:44 +00:00
danielk1977
dcd7c471ce Remove incorrect assert() and add extra option to account for non-standard 'sort' program in some linux versions. (CVS 2179)
FossilOrigin-Name: bf14387697459d8d348a35ca50e2ee9407dcf1e1
2005-01-07 01:56:17 +00:00
tpoindex
9d9f76c0b6 add --enable-debug to configure options, controls -DNDEBUG flag (CVS 2178)
FossilOrigin-Name: 9d674d1dc09f72c64ef7f37cd9838c7a9c50b746
2005-01-03 21:28:56 +00:00
tpoindex
7a9b161587 add comment that table is accessed by primary key (CVS 2177)
FossilOrigin-Name: 707690c5f2e1340bbbb4cb06e6b2b76a2a3b5f0d
2005-01-03 18:13:18 +00:00
drh
49d642dba8 Allow GROUP BY on aggregate queries only. Ticket #1039. (CVS 2176)
FossilOrigin-Name: 8ef2c644ebce851d7a3e0db3b2266fc2519485cd
2005-01-03 02:26:54 +00:00
drh
c89b91beee Fix typos in comments in test code.
(Oops.  This check-in also picked up some unrelated
changes to documentation.) (CVS 2175)

FossilOrigin-Name: 586acc85b170f84d6e0dbd2e293da19551242f5a
2005-01-03 01:32:59 +00:00
drh
7465a80899 Fix a typo in a comment. No code changes. Ticket #1052. (CVS 2174)
FossilOrigin-Name: 9fb1402f0835b214c9174866653e95416b32f860
2005-01-03 01:28:51 +00:00
drh
acf3b988f6 Fix comment typos. no code changes. (CVS 2173)
FossilOrigin-Name: 4165217e5114f5377f0823c63ff2aba879927ce7
2005-01-03 01:27:18 +00:00
drh
e6f85e71e9 Fix ticket #1046 by removing code and simplifying the query optimizer.
Remarkably, this simplification also makes the optimizer do a better job.
Ticket #1051 was fixed as a side-effect. (CVS 2172)

FossilOrigin-Name: 5fd1f4711885e3dd6fb2c2700287f78bb0ea178a
2004-12-25 01:03:13 +00:00
tpoindex
9a09a3caed Add PRAGMA 'temp_store_directory'. Added os_*.c function
sqlite3OsIsDirWritable(), split pragma.c changeTempStorage() function into
invalidateTempStorage(). (CVS 2171)

FossilOrigin-Name: 772e22cbd69463be41c2e73b4fd4eb33946193c4
2004-12-20 19:01:32 +00:00
drh
9012bcbc0a The optimizer now uses only the index and ignores the table if it can get
away with doing so, thus saving a single BTree search per row of result.
This could potentially double the speed of certain queries.  The
code passes all regression tests but new tests to exercise the new
functionality are yet to be added. (CVS 2170)

FossilOrigin-Name: e5aa489453bf31126da6473ef93c89ec27935cde
2004-12-19 00:11:35 +00:00
drh
51669863a8 Improvements to the query optimizer. This is a work in progress. (CVS 2169)
FossilOrigin-Name: 9b86993ff721b577b920c7c67fb41d3d4355fe88
2004-12-18 18:40:26 +00:00
drh
9ee3cdcba7 Fix a C++-ism in the previous change to tclsqlite.c. (CVS 2168)
FossilOrigin-Name: b49b8fdd11a5a4aac15ceda58a28bbc852f6f239
2004-12-17 20:48:06 +00:00
tpoindex
1067fe1104 Add 'copy' method for tcl interface. Behaves similar to shell .import or COPY statment in 2.x. (CVS 2167)
FossilOrigin-Name: a9311d9df054a91e231d4e4332df0d661675744d
2004-12-17 15:41:11 +00:00
drh
be5fd4906d Make sure LIMITs are handled correctly on UNION operators. Ticket #1035. (CVS 2166)
FossilOrigin-Name: ece0085f86bd715c95a6c59f41b4a97de2555faf
2004-12-16 21:09:16 +00:00
drh
23bf66d6af Minor code and comment cleanup. (CVS 2165)
FossilOrigin-Name: d012628a78edaa8d3cb438a7dcc3770b2eb8588b
2004-12-14 03:34:34 +00:00
drh
6a8903c3fc Factor the test for zName==NULL out of the loop. Ticket #1032. (CVS 2164)
FossilOrigin-Name: 7f38f67c7b427ea46db2e95fdfadc1aae064c704
2004-12-10 18:00:04 +00:00
drh
daa28ff326 Fix a problem with the automatic generation of the opcode name table. (CVS 2163)
FossilOrigin-Name: 9eefabc92d3924bcaa2ae0f425fe5635824c64ec
2004-12-10 17:17:18 +00:00
drh
93468367fe Back out the USE_TCL_STUBS changes because it breaks the build. I think
the strategy needs to be to abandon libtool and use tcl.m4 to figure out how
to build our own shared libraries.  Ticket #1034. (CVS 2162)

FossilOrigin-Name: 7f4679b92ec764bf5c11a0f19876073a94742092
2004-12-10 03:08:12 +00:00
drh
b571b457fa Improvements to the --help option to configure. Ticket #1033. (CVS 2161)
FossilOrigin-Name: 3032cc2b88800e7226e6fab8f5ca7a7e8dbac36e
2004-12-10 02:20:27 +00:00
drh
8671e6d784 Add a -DUSE_TCL_STUBS to the standard Makefile. This might help with
ticket #1034.  Or maybe not. (CVS 2160)

FossilOrigin-Name: 4c30c373ef674505d275e4a1e8868c9f72a3a1ef
2004-12-10 02:08:41 +00:00
drh
10fb11da9e Enhance sqlite3_bind_parameter_index so that is does not segfault if
you call it incorrectly by passing NULL in place of the parameter name.
Ticket #1032. (CVS 2159)

FossilOrigin-Name: bf81aabff1303b66f12d28b730d19b7cbdb2de6a
2004-12-09 18:29:13 +00:00
drh
2530378003 Only evaluate expressions once for UPDATE and INSERT statements that
have BEFORE triggers.  Fix for ticket #980. (CVS 2158)

FossilOrigin-Name: 4852186aca3be6ea40069b6831079197e5fa757a
2004-12-07 15:41:48 +00:00
drh
dca7684141 Simplify the trigger logic for DELETE, INSERT, and UPDATE. (CVS 2157)
FossilOrigin-Name: 8e164ab27771aced9a592ea4b7c27e9f184181a5
2004-12-07 14:06:13 +00:00
drh
81db88e630 Remove the unused sqlite3_context.isStep element. (CVS 2156)
FossilOrigin-Name: 7b20f2b71f679e72b6cb3b78ccb31b4e7c4bd48b
2004-12-07 12:29:17 +00:00
drh
32c0d4f17b Updates to API documentation and comments in sqlite3.h. (CVS 2155)
FossilOrigin-Name: 46584348f3cc10c0c6e9ba42110a6c03caf1497e
2004-12-07 02:14:51 +00:00
drh
61212b69c1 Get the build of sqlite3_analyzer working with Makefile.in. (CVS 2154)
FossilOrigin-Name: f7415a0d6433980ff6c25cf2238f5e9881c38873
2004-12-02 20:17:00 +00:00
drh
4b2266ae4c Disable the cursors. "make install" now builds and installs a TCL package
for SQLite if TCL is installed on the system. (CVS 2153)

FossilOrigin-Name: d75014c299496a02f6850545beb0ab669802bf87
2004-11-27 15:52:16 +00:00
drh
7b5717e1a1 The configure script now automatically detects tclConfig.sh and builds the
Tcl extension only if tclConfig.sh is present.  The Tcl extension can be
disabled using --disable-tcl. (CVS 2152)

FossilOrigin-Name: 12424bef7770f3d256d386251477a1da78be2bde
2004-11-25 13:50:01 +00:00
drh
3b7b78b312 Fix a memory leak in pager.c. (CVS 2151)
FossilOrigin-Name: 0ad4ed87ce1112663ca94805dea167372485396a
2004-11-24 01:16:43 +00:00
drh
251b067ccd fulltest runs now, but still finds a memory leak. (CVS 2150)
FossilOrigin-Name: 5944d51e6c164270301b57e4351add4cb6137be6
2004-11-23 22:16:39 +00:00
danielk1977
8b840013da Fix a memory leak in ALTER TABLE. (CVS 2149)
FossilOrigin-Name: ba71716ce21ae99b10b2d0b61092497872770ef7
2004-11-23 16:31:16 +00:00
danielk1977
1d54df88e3 Add authorization callbacks for REINDEX. (CVS 2148)
FossilOrigin-Name: 9f0d744ee4d99f44e88c6f799821791c3b5f31b6
2004-11-23 15:41:16 +00:00
danielk1977
78583d2440 Include the 'FOR' keyword in builds that include cursors but not triggers. (CVS 2147)
FossilOrigin-Name: 3053d82d7192ff77ff5f1fee143d784d5d51772a
2004-11-23 12:24:13 +00:00
danielk1977
11cf9fbcf2 Make the test suite pass when SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS is defined. (CVS 2146)
FossilOrigin-Name: ff20c623c64d67b19c13c4fd3afe8ea137bb8a0b
2004-11-23 11:16:42 +00:00
danielk1977
c7b4a44cda Ensure the test suite runs with SQLITE_OMIT_PAGER_PRAGMAS defined. (CVS 2145)
FossilOrigin-Name: 2d1f0b923d3c5a669959a03a4344fddcb69c7a98
2004-11-23 10:52:51 +00:00
danielk1977
27188fb5f0 Have tests pass when SQLITE_OMIT_SCHEMA_PRAGMAS is defined. (CVS 2144)
FossilOrigin-Name: 6ccb589bd94fc7d33e07caa39e011c3628563e9b
2004-11-23 10:13:03 +00:00
danielk1977
ae82558bd0 Fix a bug involving balance_shallow() and the sqlite_master table. (CVS 2143)
FossilOrigin-Name: 557be3ff5b1c46a3f3836ea3a9d9dede5dc46998
2004-11-23 09:06:55 +00:00
drh
e4e7207248 More work on the implementation of cursors, but they are still not
functioning. (CVS 2142)

FossilOrigin-Name: 8b61d1ae1ca469b80f2b344d550c3b363448b193
2004-11-23 01:47:30 +00:00
drh
b6c29897eb Add initial infrastructure for cursors. In where.c, optimize out clauses
of the form "ORDER BY rowid" if a table scan is being performed.  Do a
reverse table scan if "ORDER BY rowid DESC" is present. (CVS 2141)

FossilOrigin-Name: fc8c1393c86017a816beb52725b68af3b973f979
2004-11-22 19:12:19 +00:00
drh
8237d45ed8 Fix a long-standing bug in btree.c in the sqlite3BtreePrevious() routine.
The problem has gone unnoticed before now because it only occurs when you
use the OP_Prev opcode on a B+Tree. (CVS 2140)

FossilOrigin-Name: 3d2536c479c943b3a55047898068625f91c872ae
2004-11-22 19:07:09 +00:00
danielk1977
d8702b4d40 Fix a couple of extra test-suite problems with SQLITE_OMIT_VIEW. (CVS 2139)
FossilOrigin-Name: 894c142d115b31506b6b8212e1b850ea28c4ca11
2004-11-22 15:05:58 +00:00
danielk1977
27c774388a Ensure tests pass when SQLITE_OMIT_COMPOUND_SELECT is defined. (CVS 2138)
FossilOrigin-Name: 007be591b7829f9ff38e4b14ba5a5043796c2ff3
2004-11-22 13:35:41 +00:00
danielk1977
81650dc6c8 Ensure tests pass when SQLITE_OMIT_TRIGGER is defined. (CVS 2137)
FossilOrigin-Name: 53894988ac1ad44ec65a1e1c420e2a26eb4c2efd
2004-11-22 11:51:13 +00:00
danielk1977
125254784d Fix a test-suite error made in check-in (2132) (CVS 2136)
FossilOrigin-Name: 48c7eb7fb9fbc2166aaa7dbdb7c7e92c68f8eff3
2004-11-22 10:20:13 +00:00
danielk1977
aecc8ba904 Back out changes allowing writes to tables that have open cursors. (CVS 2135)
FossilOrigin-Name: ec6b48f4b2abea231b050a8a9d18c2ab12579c8e
2004-11-22 10:02:23 +00:00
danielk1977
12b13002ce Back out changes allowing writes to tables that have open cursors. (CVS 2134)
FossilOrigin-Name: af635cab8a1d761c469e35208dda08a29f0964a1
2004-11-22 10:02:21 +00:00
danielk1977
299b187d76 Back out changes allowing writes to tables that have open cursors. (CVS 2133)
FossilOrigin-Name: 91acd87e52509a8f78894d0f4b625b54376cac21
2004-11-22 10:02:10 +00:00
danielk1977
0fa8ddbdec Modify test suite to work when SQLITE_OMIT_VIEW is defined. (CVS 2132)
FossilOrigin-Name: 711e8d7695dfc74b3f1ee00591dcdda2cd7fc7d5
2004-11-22 08:43:32 +00:00
danielk1977
03aded4924 Have tests pass when SQLITE_OMIT_MEMORYDB is defined. (CVS 2131)
FossilOrigin-Name: 9df837c03939cdcb31856ac17b2425a6dd92d7b2
2004-11-22 05:26:27 +00:00
danielk1977
215e64da5e Fix auth.test to work when SQLITE_OMIT_ALTERTABLE is defined. (CVS 2130)
FossilOrigin-Name: 27a8379b54d6a1169b89e540ba44f4f94d006fb7
2004-11-22 03:34:21 +00:00
drh
f856582562 AUTOINCREMENT documentation added. Improvements to lang.html. (CVS 2129)
FossilOrigin-Name: ac72a1d5518f7b505ae2a1bd3be3d71db461ae7e
2004-11-21 01:02:00 +00:00
drh
60404f46c1 Fix to the documentation on sqlite3_create_function. Ticket #899. (CVS 2128)
FossilOrigin-Name: 4ab1d012f0f365c46bcabe67eace891eeaa78d70
2004-11-20 21:02:13 +00:00
drh
b9ecf6fa8e Avoid excess heap usage when copying expressions. Ticket #979. (CVS 2127)
FossilOrigin-Name: d10560c75244daebe55da5630ef7e7b84ba7f77a
2004-11-20 20:44:13 +00:00
drh
42cac6dacb Correct use of usableSize versus pageSize in btree.c. Ticket #1010. (CVS 2125)
FossilOrigin-Name: 5a4013ec9cabb2c933cbf45495f5d1e8b3b20da5
2004-11-20 20:31:11 +00:00
drh
b08153d0fb Better error message on an SQLITE_RANGE error. Ticket #991. (CVS 2124)
FossilOrigin-Name: accd432e4d9626353e555e63298fb7a56a41e53d
2004-11-20 20:18:55 +00:00
drh
bf128941d0 Rename source file sqlite.1 as sqlite3.1. Ticket #995. (CVS 2123)
FossilOrigin-Name: 297559c6d1a8c1172bb0c35cf538f6f2958c7820
2004-11-20 19:55:18 +00:00
drh
6c90fecc96 Omit the maximum loop count on the random name chooser in the VACUUM command.
Add a comment to explain why this is safe and does not result in an
infinite loop.  Ticket #1009. (CVS 2122)

FossilOrigin-Name: 1241086f23a2ef7aef85139817f0c1b90140481d
2004-11-20 19:18:55 +00:00
drh
4693423b09 Rig the sqliteMalloc() routine so that we can make it fail multiple times
in a row.  Modify the malloc.test procedure to make malloc fail in this
way and verify that the failures are still handled correctly. (CVS 2121)

FossilOrigin-Name: 519bc9d9975bbdb4ba056799534d5c465e0cd042
2004-11-20 19:18:00 +00:00
drh
73c42a1386 Fix segfaults that might occur after a malloc failure. (CVS 2119)
FossilOrigin-Name: 368774487e7a0266465f5a1c2701c9b14573d26c
2004-11-20 18:13:10 +00:00
danielk1977
f9c852bfd5 Documentation for REINDEX and ALTER TABLE commands. (CVS 2118)
FossilOrigin-Name: aceaa5f6e97c93962f5d6d14de8a490efa619db4
2004-11-20 08:17:18 +00:00
danielk1977
2097e949f6 Add a documentation page for compilation options. Still some work to go. (CVS 2117)
FossilOrigin-Name: 5efa2d2a602c3b7249c4e6701e97b16b5ad0280d
2004-11-20 06:05:56 +00:00
danielk1977
cd45ab2d6f Split up the lang.html page into a seperate page for each command. (CVS 2116)
FossilOrigin-Name: ea315668e5833befe296fc94c67f914061d2ffb2
2004-11-19 11:59:23 +00:00
danielk1977
023f41762c Ensure ALTER TABLE respects the system table convention - "sqlite_*". (CVS 2115)
FossilOrigin-Name: f635b6aae661ac85eec49b197f3bb4b85172a457
2004-11-19 08:41:34 +00:00
danielk1977
aacd732b11 Update the sqlite_sequence table when a table is renamed with ALTER_TABLE. (CVS 2114)
FossilOrigin-Name: 6e971868808e3c3f77fa521de626f1510ba9644a
2004-11-19 08:02:14 +00:00
danielk1977
4d36b81ea0 When dropping a table, update the sqlite_sequence table first, as auto-vacuum mode may need to move sqlite_sequence when the btree table is dropped. (CVS 2113)
FossilOrigin-Name: 0514107bff970ab1e5ce96c8b1fa13dcbf75cb71
2004-11-19 07:07:30 +00:00
danielk1977
343e92610e Fix bugs in ALTER TABLE related to (a) whitespace in table defn, (b) temp triggers. (CVS 2112)
FossilOrigin-Name: 1fd8e835a3656799c23f4ef6ea1311fecf5a15cb
2004-11-19 05:14:54 +00:00
danielk1977
d641d646ff Handle triggers correctly in ALTER TABLE. (CVS 2111)
FossilOrigin-Name: c61b7de107cea76b561d0d6cd90c752b62c5df95
2004-11-18 15:44:29 +00:00
drh
20fc0887f5 Speed improvement on the LIKE command. (CVS 2110)
FossilOrigin-Name: 85d56beb7494ce63e70ab1ffc3797c2ee4c36749
2004-11-18 13:49:25 +00:00
drh
e854c5607b Fix an obsolete comment that resulted in incorrect documentation.
Ticket #1003. (CVS 2109)

FossilOrigin-Name: c93a9e18d2bf53690f577a901e0defd8a449d56a
2004-11-18 02:10:55 +00:00
drh
4f1f8705f6 Clarify the documentation of the sqlite3_create_function API.
Ticket #1004. (CVS 2108)

FossilOrigin-Name: ae45ad863b0854b96da31321c500e3168ef103ad
2004-11-18 02:04:09 +00:00
danielk1977
7c6303c042 Add the ESCAPE clause to the LIKE operator. Not fully tested yet. (CVS 2107)
FossilOrigin-Name: 49268c2b7a84c4c618214dac8bef0f541440fe6b
2004-11-17 16:41:29 +00:00
danielk1977
c7dc75334f Extra tests and resulting bugfixes for btree cursors. (CVS 2106)
FossilOrigin-Name: e1530854c9004c25f5ffa21f9cfb9c44c83cc7f0
2004-11-17 10:22:03 +00:00
drh
602479eae8 Clarify the LIMIT clause in the documentation. Ticket #1002. (CVS 2105)
FossilOrigin-Name: e05f52d907e267b4f9ea204427229e7d7ef58641
2004-11-16 23:21:56 +00:00
danielk1977
ed326d7047 Perform deletes in a single pass. (CVS 2104)
FossilOrigin-Name: a2e1c35b327e33684ab19e5f65727c42c7b2949c
2004-11-16 15:50:19 +00:00
danielk1977
6a43f9b3ff Allow btree cursors to persist through BtreeDelete() calls. (CVS 2103)
FossilOrigin-Name: 6ad5fc8e1a119b750a82fc1426704164a2042d57
2004-11-16 04:57:24 +00:00
drh
670fb032ab Fix a typo in the header comment to the MakeRecord opcode so that the
documentation generator will actually see the opcode description.
Ticket #1001. (CVS 2102)

FossilOrigin-Name: 33c9b647aa70d1a9dab0e999daf853aa71d7df37
2004-11-15 23:42:27 +00:00
drh
7b4e7268f1 Add test cases for escape characters in the GLOB operator. (CVS 2101)
FossilOrigin-Name: bb2d9ff881e4c6fe0cf60a13609d39426346fa9d
2004-11-15 01:40:47 +00:00
drh
6c62608fc6 The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100)
FossilOrigin-Name: 98c7a55478f7c465b219edc1a33eee222586fd65
2004-11-14 21:56:29 +00:00
drh
5436dc2d97 Changes toward reducing code size when SQLITE_OMIT_UTF16 is enabled. (CVS 2099)
FossilOrigin-Name: 59a0a8b7cebc011731654bd0545cf8d19612ca8e
2004-11-14 04:04:17 +00:00
drh
13d7042a73 More compile-time options for removing components. (CVS 2098)
FossilOrigin-Name: dcbc0c22cf269e2f67002aa3f1bc0c66aaeff5f1
2004-11-13 15:59:14 +00:00
danielk1977
ce9a7b1e57 Code toward having btree cursors persist when their table is written too. Doesn't work properly yet. (CVS 2097)
FossilOrigin-Name: 5eaa18d43f2996a9d354bb4fb9c81e267e98be29
2004-11-13 13:19:56 +00:00
drh
8040bc8b57 Fix the keyword generator so that it works with SQLITE_OMIT_ALTERTABLE. (CVS 2096)
FossilOrigin-Name: 60ace9985d4ea2ef0fd245027fab2fffc32014b6
2004-11-13 03:59:25 +00:00
drh
f338814455 Autoincrement is now working and has regression tests. (CVS 2095)
FossilOrigin-Name: 10c712a21961dbc3bff89c49d5ec3b84b9187c80
2004-11-13 03:48:06 +00:00
danielk1977
b92b70bb0a Change pragmas schema_cookie and user_cookie to schema_version and user_version. (CVS 2094)
FossilOrigin-Name: 5e058318441bb5043c609cc8fba1653995e90efb
2004-11-12 16:11:59 +00:00
danielk1977
1c8c23cc36 Add authorization callbacks to ALTER TABLE. (CVS 2093)
FossilOrigin-Name: c4115aa3a1b010704af76c5ae9f6dcbfa4038df8
2004-11-12 15:53:37 +00:00
danielk1977
9fd2a9a028 Add the "ALTER TABLE xxx RENAME TO yyy" command. (CVS 2092)
FossilOrigin-Name: a1b2cc63e604785bd51e358ff72c485d858752e3
2004-11-12 13:42:30 +00:00
drh
2958a4e6a5 Autoincrement code installed. Simple smoke-testing only. No regression
tests developed yet. (CVS 2091)

FossilOrigin-Name: 8fde833c812b91c5a574208a70b5f92b9d4b0a87
2004-11-12 03:56:15 +00:00
drh
817c60bd66 Website updates. (CVS 2090)
FossilOrigin-Name: 60fb0cef093b9827ac2d36b8a94e37f4b79dd2ea
2004-11-11 19:32:40 +00:00
danielk1977
dae2495b1f Add the schema_cookie and user_cookie pragmas. (CVS 2089)
FossilOrigin-Name: d28d1d68e5104726e6088361dfa7bf2cdd9985c7
2004-11-11 05:10:43 +00:00
danielk1977
2df9fabf3c Add documentation for DEFAULT CURRENT_TIME & co. (CVS 2088)
FossilOrigin-Name: c85f13f8f252faf423f12a3804f1fe2f950da660
2004-11-11 01:50:30 +00:00
danielk1977
45901d622c Ensure the test suite can run with either SQLITE_OMIT_AUTOVACUUM or SQLITE_DEFAULT_AUTOVACUUM=1 defined. (CVS 2087)
FossilOrigin-Name: 0747b55882cf218c03b443e1eadec9eb19889554
2004-11-10 15:27:38 +00:00
danielk1977
ae381aa1b6 Fix expr.test so that it works when the date-time functions are compiled out of the library. (CVS 2086)
FossilOrigin-Name: 540ce7de1b3f1882c40d4e20d3986775e1dcf77a
2004-11-10 12:34:20 +00:00
danielk1977
e6efa74b9f Ensure tables cannot be created/dropped when btree cursors are open. (CVS 2085)
FossilOrigin-Name: 8e5c2e5df8b824f7efb27e776240f005c6f1f0ff
2004-11-10 11:55:10 +00:00
danielk1977
2a03c3a326 Add user documentation for the "pragma auto_vacuum" command. (CVS 2084)
FossilOrigin-Name: fe200eaf373998574cc059086bfc93d6c44ec5a3
2004-11-10 05:48:57 +00:00
danielk1977
752e679a1e Have "DEFAULT CURRENT_TIME" & co. work even if SQLITE_OMIT_DATETIME_FUNCS is defined. (CVS 2083)
FossilOrigin-Name: f81b9c1c022772378aad32ec45d0027beeb36574
2004-11-09 16:13:33 +00:00
danielk1977
7977a17f06 Port the "DEFAULT CURRENT_TIME" etc. functionality from an earlier fork of sqlite. (CVS 2082)
FossilOrigin-Name: 0d27c8ff48f327ad82dd5b5b3b47b8d221f119b7
2004-11-09 12:44:37 +00:00
danielk1977
0ba87cb85d Refactor the space-analysis script for readability. (CVS 2081)
FossilOrigin-Name: 63f2ee22e20ed7e520fd9230acc5c6db43b69d13
2004-11-09 07:42:11 +00:00
danielk1977
16254450f4 Update the space-analyzer tool to support auto-vacuum databases. (CVS 2080)
FossilOrigin-Name: 1cb8086612c7dec170da0910cf0cbe4e48c417f8
2004-11-08 16:15:09 +00:00
danielk1977
8f5a31b50f A few more auto-vacuum tests. (CVS 2079)
FossilOrigin-Name: 9d4a60bbd67704ff3a9503678db94498dc700ccc
2004-11-08 12:32:50 +00:00
danielk1977
e0830e8e03 Check in the file autovacuum_crash.test that should be part of the previous check-in. (CVS 2078)
FossilOrigin-Name: 9d7cd1f732ba6f9d69fc30100a4608b74f212b76
2004-11-08 09:51:09 +00:00
danielk1977
94daf7fdff Test auto-vacuum mode for crash-proofness. Also fix a bug related to the same. (CVS 2077)
FossilOrigin-Name: 839ad771a6e781426c0fd624a4d1c91a5fcf8546
2004-11-08 09:26:09 +00:00
danielk1977
599fcbae56 Auto-vacuum: Account for the page reserved for windows locking (PENDING_BYTE). (CVS 2076)
FossilOrigin-Name: d6335698696c7b651bbc436c5177d87eb57a8934
2004-11-08 07:13:13 +00:00
drh
e497f0051f Reindex tests added and bugs fixed. (CVS 2075)
FossilOrigin-Name: ad433ec2b6bd34e33dfe119668f38fbb978e889d
2004-11-07 13:01:49 +00:00
danielk1977
ef73ee9a46 Auto-vacuum: Ensure pages to be removed by database truncation are in the journal file. Also fix an sqlite3pager_movepage() bug. (CVS 2074)
FossilOrigin-Name: 081676e491760a45325e2349b177d6382faab9f5
2004-11-06 12:26:07 +00:00
drh
eee46cf35c Compile and pass the quick regression tests with autovacuum disabled. (CVS 2073)
FossilOrigin-Name: 89b9026a5371f1c5589f04e3b69171ec1f605b7b
2004-11-06 00:02:48 +00:00
drh
4343fea20f First cut at a REINDEX command. Basic testing only. No documentation. (CVS 2072)
FossilOrigin-Name: 11dba47e61279bdf3be6f64a6259b877f3bf6155
2004-11-05 23:46:15 +00:00
drh
b17131a084 Use sqlite3NestedParse to implement DROP INDEX. (CVS 2071)
FossilOrigin-Name: 0f81aa5b057eab908b46b70ea9e9a42bc2ee8c21
2004-11-05 22:18:49 +00:00
drh
063336a55e Use sqlite3NestedParse to implement CREATE INDEX. (CVS 2070)
FossilOrigin-Name: 47d8ebdaaddcb7a05e1917dd1dee2029c34228a4
2004-11-05 20:58:39 +00:00