Commit Graph

685 Commits

Author SHA1 Message Date
drh
f18543ca39 Fix for bug #3: Allow VIEW as a column name. Also allow COPY. (CVS 507)
FossilOrigin-Name: d2bdc0feeb3a3595850f40ab211df7a3963d6c30
2002-03-30 15:26:50 +00:00
drh
edaa6ebfdd Describe the difference between the binary RPMs in the download.html file. (CVS 506)
FossilOrigin-Name: 8ce9a1fad2d8b20876b0557fa57515e0df74ed05
2002-03-30 14:15:51 +00:00
drh
203c211064 Combine the homerpm.sh file in with publish.sh. Update the website files to
refer to the new RPMs that are now being built.  Fix a small problem with
the spec file. (CVS 505)

FossilOrigin-Name: 57d4c7704794d0a28cbf67be3f90dbf81bf3b05d
2002-03-29 18:16:04 +00:00
doughenry
1d36650fa3 added a section to create a spec file and build the rpm files (CVS 504)
FossilOrigin-Name: e529143967a6fd4e65dea6a5ff68a7aabc36f787
2002-03-29 01:29:53 +00:00
doughenry
3c0d1ec01c these files are needed by publish.sh to build rpms (CVS 503)
FossilOrigin-Name: 3c25359376814e9c3912246d79528614a3499e5b
2002-03-29 01:28:45 +00:00
drh
2676a611ec Two typos fixed in the documentation (lang.html). (CVS 502)
FossilOrigin-Name: f0f241e1cc322ebed8f215b4b8ddcc0f5ee2ff65
2002-03-28 14:20:08 +00:00
drh
d4037e801a Update the documentation to refer the reader to the CVS server for the change
log, bug lists, or the latest sources. (CVS 500)

FossilOrigin-Name: 2478ba866646d6d445b370554af9cd3d362b0e10
2002-03-27 12:52:47 +00:00
drh
41f03d1d26 Update the change log. (CVS 438)
FossilOrigin-Name: 9637b9aa5d405427ead52438eed8c626feac8658
2002-03-26 03:11:27 +00:00
drh
17a7f8ddab Added support for CASE expressions - patches from Dan Kennedy. (CVS 437)
FossilOrigin-Name: 836b59d057c3fb4087b138c9bfbc03392ddfb89d
2002-03-24 13:13:27 +00:00
drh
6b54e74cf4 Version 2.4.3 (CVS 440)
FossilOrigin-Name: 99d6764e57ddc7f0a321229cc1b7aa9a76f1aae5
2002-03-23 00:59:59 +00:00
drh
f1a7a13928 The sqlite_get_table() function now returns an error if you pass in two
or more SELECT statements that return different numbers of columns. (CVS 436)

FossilOrigin-Name: e2558c34034cf49524084ec819df58934a8af983
2002-03-23 00:52:01 +00:00
drh
1cc3d75f69 Fix a bug in subquery generation when the subquery is a compound select.
Also added new tests to cover this case. (CVS 435)

FossilOrigin-Name: aaf7fd4cef04d3d70a0444aad1b606bfc663c3e8
2002-03-23 00:31:29 +00:00
drh
545c23dc42 Version 2.4.2 (CVS 441)
FossilOrigin-Name: 49d032325553fa1dd7f31b852753cc6c9226d8f7
2002-03-20 01:05:00 +00:00
drh
27a3220c54 One more change before 2.4.2: Make the os.h header file more robust in
detecting whether to use unix or windows. (CVS 434)

FossilOrigin-Name: c2e0b79057c9c643e7432e62c90399c8f34339f9
2002-03-20 00:00:29 +00:00
drh
5aed9c7410 Version 2.4.2 (CVS 433)
FossilOrigin-Name: b0805b606904e18800c9850b5aa33724c4619de8
2002-03-19 23:51:12 +00:00
drh
f2d74ffb74 Fix an uninitialized variable in AggReset() (CVS 432)
FossilOrigin-Name: 3dcdeae7f620736c1eae52ad78db1efb886ea9c3
2002-03-18 13:03:54 +00:00
drh
84e5920738 Bug fix: allow ROWID as a column in SELECT statements where the FROM clause
includes views which are flattened. (CVS 431)

FossilOrigin-Name: a3a360b308e45eaaf19efda80e30f2d420799cf2
2002-03-14 14:33:31 +00:00
drh
38b360bb80 Version 2.4.1 (CVS 442)
FossilOrigin-Name: 9f12b8805fd2f9a3422ed2a46190cfc881c87b36
2002-03-13 18:59:59 +00:00
drh
51fa3215fa Version 2.4.1 (CVS 430)
FossilOrigin-Name: 9333ecca1e48bfca613d6909498f91ca3a53d53d
2002-03-13 18:54:50 +00:00
drh
094b2bbfc7 Fix bug in anonymous subquery in a join. Parser requires a semicolon or
end-of-input before executing. (CVS 429)

FossilOrigin-Name: c0e3f1c592f583a0659901743a368aff1927f1cb
2002-03-13 18:54:07 +00:00
drh
56c0e926f1 Fix the return type of the xStep function in the FuncDef structure
definition. (CVS 428)

FossilOrigin-Name: 753adb789e1624ceeb52066df350dcd99aa4e3df
2002-03-12 23:10:04 +00:00
drh
1f245e488a Change the way that lemon handles %extra_argument. (CVS 427)
FossilOrigin-Name: ffc387a48a9864b7f323314fbf8295b5bb2a3bd1
2002-03-11 13:55:50 +00:00
drh
54ea6427df Version 2.4.0 (CVS 443)
FossilOrigin-Name: d3f66b44e501ac30aededefbec7ebe224cf080ad
2002-03-11 02:15:00 +00:00
drh
28b4e4890b Preparing for the 2.4.0 release. (CVS 426)
FossilOrigin-Name: 9f5b241cb2fc89f66d3762b4b4978b8e114caf53
2002-03-11 02:06:13 +00:00
drh
7218ac7098 Bug fix: updates within a transaction would fail if there was existed
a temporary table. (CVS 425)

FossilOrigin-Name: 02cc2d60b2a5ee50efdbd90df90810ba559a453f
2002-03-10 21:21:00 +00:00
drh
5191b7e699 Added prototypes to sqlite.h for sqlite_freemem(), sqlite_libversion()
and sqlite_libencoding(). (CVS 424)

FossilOrigin-Name: 145516c93b1a03231e7d84f7f799a39655d7aa99
2002-03-08 02:12:00 +00:00
drh
acd4c69580 Fix a bug in the sorting of compound selects. (CVS 423)
FossilOrigin-Name: 0a51323561b7235d46621d9fa25c7111b81c528f
2002-03-07 02:02:51 +00:00
drh
2a0e11df42 Beta 2 (CVS 422)
FossilOrigin-Name: 6c3fb5470ea94bfc99833ff1c78981262c9165eb
2002-03-06 22:04:21 +00:00
drh
cd61c2816f Added the default_cache_size and default_synchronous pragmas. Added additional
tests for pragmas.  Added a new speedtest script. (CVS 421)

FossilOrigin-Name: 161c0c5f5db66815e4345c9b5f7a600c03a67475
2002-03-06 22:01:34 +00:00
drh
e684090012 Optimizations to the processing of integer comparisons. (CVS 420)
FossilOrigin-Name: b7a7dae919be0e4c35b1fe8cb24fa7359a4b1200
2002-03-06 03:08:25 +00:00
drh
4b845d7ef4 Change the pager locking mechanism so that we don't have to write page 1
to the journal and to the database unless it actually changes. (CVS 419)

FossilOrigin-Name: 480eef1a3a4f049bc0d0cbee32dc8a8d138597c6
2002-03-05 12:41:19 +00:00
drh
603240cf5d Add the ability to turn of calls to fsync() using the "synchronous" pragma.
Increased the default cache size from 100 to 2000 and made the "cache_size"
pragma persistent. (CVS 418)

FossilOrigin-Name: 414da4af1f4aebc3936ca339fbc7932add081912
2002-03-05 01:11:12 +00:00
drh
ef2daf547d Updates to the documentation. Changed version number to 2.4.0-beta1 (CVS 417)
FossilOrigin-Name: 36a8fe0ad0ee2a67afafc04125dcc085ec1b5a13
2002-03-04 02:26:15 +00:00
drh
4ff6dfa7de More bugs fixed for views. (CVS 416)
FossilOrigin-Name: 813077623087ffc6cd506f57cf6d1e3d9239f806
2002-03-03 23:06:00 +00:00
drh
417be79cd1 VIEWs are bound to tables when they are used, not when they are first
entered.  This works around the problem of what to do if a table is deleted
that a view refers to. (CVS 415)

FossilOrigin-Name: 6121e5ab9328c90c64d40ade3de73ad11d4aaf4e
2002-03-03 18:59:40 +00:00
drh
75148a27b4 Fix a memory leak in expression processing. (CVS 414)
FossilOrigin-Name: dfe431c9b70bc3a1bf5148826edce0846737e66b
2002-03-03 03:42:31 +00:00
drh
c0a165b304 Additional tests of flattening (CVS 413)
FossilOrigin-Name: e1d93c5923195507642d882fff8cd85c454f69ee
2002-03-03 03:11:15 +00:00
drh
2d0794e325 Suppress superfluous OP_OpenTemps when flattening subqueries. (CVS 412)
FossilOrigin-Name: 000441c8fec48cc172894eb767ae9549b8ed8c34
2002-03-03 03:03:52 +00:00
drh
1b2e032999 Bug fixes and additional tests for the subquery flattener. (CVS 411)
FossilOrigin-Name: 2c05389eda391e38894fc6969e29766df82a8fec
2002-03-03 02:49:51 +00:00
drh
30e58750c1 Pager optimization: do not write or journal free pages. This results in
a 2x performance gain for large INSERTs and a 5x performance gain for
large DELETEs. (CVS 410)

FossilOrigin-Name: cf1ebcfb741786f84a596c406f4c492f68cbe881
2002-03-02 20:41:57 +00:00
drh
f9ffac96a7 Change the btree node balancers to sort nodes into accending order. This
improves insert and delete speed by 25%. (CVS 409)

FossilOrigin-Name: abbb999d4fc3fe142567b6ede5e625e7bf0da714
2002-03-02 19:00:31 +00:00
drh
832508b7ea Subquery flattening is implemented and passes all regression tests.
We still need to add addition tests to the suite to further exercise
the flattener, however. (CVS 408)

FossilOrigin-Name: d5d3e79cc58da5bd315cc1fea1f7cbf46274da16
2002-03-02 17:04:07 +00:00
drh
567c604bb5 Bug fix when -DMEMORY_DEBUG is off. (CVS 407)
FossilOrigin-Name: e14b0c82f3514f41934a7c0d173b6fdb186aafc8
2002-02-28 04:10:29 +00:00
drh
47c8a67907 Fix bugs in substr() for UTF-8. (CVS 406)
FossilOrigin-Name: e9fd9e7b0fed445b48e7024ecde0354fff1478a6
2002-02-28 04:00:12 +00:00
drh
653bc75992 Remove unused opcodes from the VDBE and fix a bug in the substr() function. (CVS 405)
FossilOrigin-Name: e8611e0c052ddac477f83df485fa5dc882593de0
2002-02-28 03:31:10 +00:00
drh
fbc990826c Change the IFNULL and NVL functions to COALESCE. Change MIN and MAX so that
they require at least one argument. (CVS 404)

FossilOrigin-Name: 7d86749d4a78d05930bae2b6491d9428f06fe836
2002-02-28 03:14:18 +00:00
drh
89425d5e02 The new function code passes regression tests. (CVS 403)
FossilOrigin-Name: b00cf110b1cc671b7200a5ce8b9e704f660763c9
2002-02-28 03:04:48 +00:00
drh
f55f25f02f Fix the coredump. There are still problems in the test suite though. (CVS 402)
FossilOrigin-Name: 6af10cc53acc1ffa60de3f0d5880a6b72815404c
2002-02-28 01:46:11 +00:00
drh
3212e18238 Added IFNULL and NVL functions. (CVS 401)
FossilOrigin-Name: c6a85c8ee3d653a294bcc033ac6cab2b6de06f96
2002-02-28 00:46:26 +00:00
drh
0bce8354b4 Completely remove the old SQL function system and replace it with the
new user functions.  The code currently compiles but it coredumps on the
test suite.  Do not use in its present state. (CVS 400)

FossilOrigin-Name: 50797fee5066ec9ea23b720e5ab7e8fc8ccc1988
2002-02-28 00:41:10 +00:00
drh
dd5baa95e8 Try to reduce the number of malloc() for user-defined functions. Begin
transfering built-in functions over to the user-define function
mechanism. (CVS 399)

FossilOrigin-Name: c4f9e017b449d4036fa8d2bf77b931d4c31d74f7
2002-02-27 19:50:59 +00:00
drh
1350b030c1 Revise the API for user-defined functions. (CVS 398)
FossilOrigin-Name: 633951f0fa11c91f93aa2862df84691750c01e73
2002-02-27 19:00:20 +00:00
drh
4e0f995347 The user-defined function routines failed to detect a malloc() failure. (CVS 397)
FossilOrigin-Name: 085b0d671a1dac964693d69d866224de155dfe4c
2002-02-27 01:53:13 +00:00
drh
ff78bd2f07 Bug fixes in the VIEW implementation. (CVS 396)
FossilOrigin-Name: 668ef6380eba256ef82477b63aef850249a619a0
2002-02-27 01:47:11 +00:00
drh
a2ed56016f Comment changes only. (CVS 395)
FossilOrigin-Name: 63b87f2ea6cd78f039bf40026d21b18de20b3ba7
2002-02-26 23:55:31 +00:00
drh
cd7d2732bf Fix a bug in the quoting of .dump output. By Rajit Singh. (CVS 394)
FossilOrigin-Name: f2310f36d53e9176be7af620ecdf1e5a1dfd4388
2002-02-26 23:24:26 +00:00
drh
d3a149efca Added a "stddev()" aggregate function for testing the new user aggregate
function interface. (CVS 393)

FossilOrigin-Name: 2198109712ccf988f93db5740a4f248e80fb9f5d
2002-02-24 17:12:53 +00:00
drh
e5095355d6 Code for user-defined aggregates added. Legacy tests all pass but there
has been no testing of the new user-defined aggregate code. (CVS 392)

FossilOrigin-Name: 1e037eb303d8508cb2ea3418e71b03315d895fbd
2002-02-24 03:25:14 +00:00
drh
dc04c58360 Move the build-in function definitions into a new source file "func.c". (CVS 391)
FossilOrigin-Name: 530b0f4f2def89e200b7b0724a5967bf981bd91d
2002-02-24 01:55:15 +00:00
drh
8e0a2f903a Added support for user-defined normal functions. Support for user-defined
aggregates is pending. (CVS 390)

FossilOrigin-Name: c490a1ff951c5d4a2de8e4f8d349189bfaef7f74
2002-02-23 23:45:45 +00:00
drh
b29b0a5227 Modify lemon to use much less memory for its parser tables. This reduces
the size of the library by 50K, which is important for an embedded library. (CVS 389)

FossilOrigin-Name: 67a135a051e7c96ddbfe85976539b4b8372c7026
2002-02-23 19:39:46 +00:00
drh
b59499c73b Bug fix in lemon: 3-way conflicts (SHIFT/REDUCE/REDUCE) were not detected or
resolved.  This is now fixed.  Also, table compression works a little better. (CVS 388)

FossilOrigin-Name: 8da0ac9a8bb859377613dd18f4f423eb49c7338b
2002-02-23 18:45:13 +00:00
drh
a76b5dfca6 Code to implement CREATE VIEW is in place. A quick smoke test shows that
it works, but there are probably still many bugs. (CVS 387)

FossilOrigin-Name: 39fed2df11382b9855d518502a6c2ca200fa66b8
2002-02-23 02:32:10 +00:00
drh
17f7193434 Change the SQLITE_MASTER format to version 2 in preparation for adding views. (CVS 386)
FossilOrigin-Name: b2a9807fed544e83002366149b9a363759338c5d
2002-02-21 12:01:27 +00:00
drh
2af0b2d78f Do not allow dot-commands to occur in the middle of a real SQL command. (CVS 385)
FossilOrigin-Name: ffb00bf36a9a5851ea4a69f9c7dd7ce412553e3b
2002-02-21 02:25:02 +00:00
drh
77c679c096 Fix a comment. (CVS 384)
FossilOrigin-Name: 953928537c350e6c9df157553114c6d9d44712d5
2002-02-19 22:43:58 +00:00
drh
5cf8e8c7fa New ROWIDs are numbered sequentially. (CVS 383)
FossilOrigin-Name: 1686196a8aea326f616bc8205df99cd84d955ec4
2002-02-19 22:42:05 +00:00
drh
9562b55115 Optimize simple min() and max() queries. (CVS 382)
FossilOrigin-Name: cc5abfe392bdb8c3ed00e0610bc2b41851bfc9d7
2002-02-19 15:00:07 +00:00
drh
aaab5725db Change the name of the sanity_check PRAGMA to "integrity_check" and make
it available on all compiles. (CVS 381)

FossilOrigin-Name: c6e9048e66c8d8e2d5f6c62aa724eef3e9d9f572
2002-02-19 13:39:21 +00:00
drh
a80a1e6ae4 Version 2.3.3 (CVS 444)
FossilOrigin-Name: 72c5a92aa6e3ae712af152cff8d1dc5b997b538e
2002-02-19 00:30:00 +00:00
drh
9e2751da83 Final changes before 2.3.3 (CVS 380)
FossilOrigin-Name: a53de7625ac300ba3e61eed2e983010da8fa027b
2002-02-19 00:15:12 +00:00
drh
b1feb840df Added a C wrapper program to test threading under Unix. (CVS 379)
FossilOrigin-Name: 8d5634a4470a8145c0fbd0b843d55371d2f95e81
2002-02-18 22:50:26 +00:00
drh
0a36c57eb0 Bug fix: CREATE TABLE, followed by DROP TABLE within the same transaction is
working now. (CVS 378)

FossilOrigin-Name: 553579f936b3a4477c6adfd991adccd06280bfd2
2002-02-18 22:49:59 +00:00
drh
969fa7c128 Add support for CREATE TABLE AS. (CVS 377)
FossilOrigin-Name: 78a50971e9adc8739e7888201c79465a40e1a152
2002-02-18 18:30:32 +00:00
drh
e64e7b203e Allow general expressions in the VALUES clause of an INSERT statement. (CVS 376)
FossilOrigin-Name: ec1f3fae6f8cd8466892cd370e1802e492a76e6e
2002-02-18 13:56:36 +00:00
drh
cf9095061c Additional tests for the sub-query feature. (CVS 375)
FossilOrigin-Name: a0019fce701fc858134f0a33bda9a511e41a09f8
2002-02-18 13:35:33 +00:00
drh
5ae7af7cc2 Enhancement to Windows "file-exists" function by Joel Lucsy. (CVS 374)
FossilOrigin-Name: d3d59261da9bef3250e99444167ad6ef98764574
2002-02-18 12:48:45 +00:00
drh
d820cb1b75 Test and documentation updates for sub-queries. (CVS 373)
FossilOrigin-Name: 607c0c49b2098771020514198cb1076de8245a62
2002-02-18 03:21:45 +00:00
drh
22f70c32f0 Add support for subqueries in the FROM clause of a SELECT. Still need
to add tests for this feature. (CVS 372)

FossilOrigin-Name: 89ffa9ff132858b62a91df1fb7fe49b2d58c01e7
2002-02-18 01:17:00 +00:00
drh
1d83f05257 Make the sqliteParseInfoReset() function locale to the select.c file. (CVS 371)
FossilOrigin-Name: 2336b1eadaedf2556a1988acc7bdf133135154dc
2002-02-17 00:30:36 +00:00
drh
2f4392ff5b All identifiers to be quoted in square brackets, for compatibility with
MS-Access. (CVS 370)

FossilOrigin-Name: e17a858c9eeb70c62f54c88e6be5897e58d67301
2002-02-14 21:42:51 +00:00
drh
cffa014dc3 Version 2.3.2 (CVS 446)
FossilOrigin-Name: 4d067000077ee8f0221a7940232dc658c7f04b49
2002-02-14 12:59:59 +00:00
drh
1e336b42f1 Fix an incorrect assert() in pager.c. (CVS 369)
FossilOrigin-Name: 08a68e098a677c508652ba2ff4bd63185cab7546
2002-02-14 12:50:33 +00:00
drh
3cf9084a37 Version 2.3.1 (CVS 445)
FossilOrigin-Name: 846148d6e3fd0529abfef3f819e4a7cb91e44422
2002-02-13 23:29:59 +00:00
drh
976658734c Bug fix: if PRAGMA full_column_names=ON is set and you do a query like this:
"SELECT rowid,* FROM ...", then an assertion failed.  Bummer. (CVS 368)

FossilOrigin-Name: df6bf627a51358e8b14297403feab7b888c38580
2002-02-13 23:22:53 +00:00
drh
3e3a8ab13f Version 2.3.0 (CVS 447)
FossilOrigin-Name: 4c7dfd93530a2a3e50e78235f4e691a5fec109fe
2002-02-03 19:30:00 +00:00
drh
8c87e6e0ff Reenable testing code even if NDEBUG is defined. (CVS 367)
FossilOrigin-Name: 0090c279d83ee355fbac8a484401d29bfa50b0dc
2002-02-03 19:15:02 +00:00
drh
24e97df9c7 Fix a serious bug in INSERT when the source is a SELECT. (CVS 366)
FossilOrigin-Name: 20ea737536700b016385c70105a2af8b2bffce2b
2002-02-03 19:06:02 +00:00
drh
1bffb9c84f Put in PRAGMA SANITY_CHECK in place of VACUUM. (CVS 365)
FossilOrigin-Name: 7c65029e5bf26eb640aef529a7421cd0d6ffd1a9
2002-02-03 17:37:36 +00:00
drh
1dd397f091 The VACUUM command now does a database sanity check. (CVS 364)
FossilOrigin-Name: 95d1f8389dd5e168bdf0290169662296b6a0f6d9
2002-02-03 03:34:07 +00:00
drh
0d65dc0e90 Five-algorithm conflict resolution appears to be working. (CVS 363)
FossilOrigin-Name: 0115518f8e4591123582e3d2bb67282111ebcf60
2002-02-03 00:56:09 +00:00
drh
663fc63a77 Get the ABORT conflict resolution algorithm working. (CVS 362)
FossilOrigin-Name: 9be4d4c6f12056782966396dca0b8e2d384d0cf2
2002-02-02 18:49:19 +00:00
drh
fa86c4127d Checkpoint code added to the pager. Regression tests work but the new APIs
have not been tested yet. (CVS 361)

FossilOrigin-Name: aaa53e113ef849e34883ead8ae584c722ad967db
2002-02-02 15:01:15 +00:00
drh
1c92853dac Change to five conflict resolution algorithms: ROLLBACK, ABORT, FAIL,
IGNORE, and REPLACE.  This checkin is code only.  Documentation and
tests are still needed.  Also, ABORT is not fully implemented. (CVS 360)

FossilOrigin-Name: d0e7cf4a83e6abad7129bed356b7492dddaff474
2002-01-31 15:54:21 +00:00
drh
b419a926d4 Added ON CONFLICT support to COPY. Updates to documentation. Bug fixes. (CVS 359)
FossilOrigin-Name: cf1538d71c9ce12d5e59f367e03642cbcaf6b717
2002-01-30 16:17:23 +00:00
drh
ef6764a1d9 Better testing of the ON CONFLICT logic. (CVS 358)
FossilOrigin-Name: 9bbddb8e013b47547164f71f2d7abd995f8d7385
2002-01-30 04:32:00 +00:00
drh
bb37fdc782 More bug fixes in the ON CONFLICT enhancement. (CVS 357)
FossilOrigin-Name: 8229b5f6a348a56432a4a609ee125520c5831973
2002-01-30 00:54:55 +00:00
drh
0ca3e24b2e The new ON CONFLICT logic is in and passes the legacy tests. But the
new capabilities have not been tested and are likely broken. (CVS 356)

FossilOrigin-Name: ac8a4189e2a0c41161ee359db25de94435420368
2002-01-29 23:07:02 +00:00
drh
9cfcf5d4f6 Beginning to insert the infrastructure for ON CONFLICT clauses. (CVS 355)
FossilOrigin-Name: e00a9ff8f99dd58f7cb19a6195fac21f4c8b4af9
2002-01-29 18:41:24 +00:00
drh
881a99e493 Version 2.2.5 (CVS 448)
FossilOrigin-Name: af3bb80810c6cd302a884a106cc70591a738e102
2002-01-28 15:59:59 +00:00
drh
6b12545f4f Bug fix: The IN operator was not working if either side derived from
an INTEGER PRIMARY KEY. (CVS 354)

FossilOrigin-Name: dbcfe198fbaa155874ef82a96b6a4b993ccf3931
2002-01-28 15:53:03 +00:00
drh
71172c5c51 Do not escape the backslash character in shell output. (CVS 353)
FossilOrigin-Name: 5f8c097ebef28315ac2335a768d101e995ccbba2
2002-01-24 00:00:21 +00:00
drh
a0f07f1919 Version 2.2.4 (CVS 449)
FossilOrigin-Name: 16712dae4feedd001d8153141a55e298b3a80a94
2002-01-22 14:15:00 +00:00
drh
9208643d2a Constant ORDER BY or GROUP BY expressions are an error. (CVS 352)
FossilOrigin-Name: 035984a5b00b4a1a6505405f40b15c7695283c0a
2002-01-22 14:11:29 +00:00
drh
7613bfae56 Fix a bug in the -separator command-line option. (CVS 351)
FossilOrigin-Name: 593c986f694b14839b2a2ed1da4da468c53fefa5
2002-01-22 12:39:24 +00:00
drh
a2e00042a1 The right-hand side of an AS in a SELECT can be used within expressions of
the WHERE, ORDER BY, GROUP BY, and/or HAVING clauses. (CVS 350)

FossilOrigin-Name: 3684beab0f8a71ebdf453871bbde7a9ab1f65385
2002-01-22 03:13:42 +00:00
drh
555fcb489b Version 2.2.3 (CVS 450)
FossilOrigin-Name: a4fe893ce7cdec0d8a4f8cdc640b8967dce7763e
2002-01-16 21:04:59 +00:00
drh
af9ff33ac1 Added the last_insert_rowid API function. Improved documentation of
the random ROWID algorithm. (CVS 349)

FossilOrigin-Name: f74d61aaf3fec06cde2c4a6f1465f86ac9058ad2
2002-01-16 21:00:27 +00:00
drh
a297b5c3cf Added implementations for sqliteOsEnterMutex() and sqliteOsLeaveMutex(). (CVS 348)
FossilOrigin-Name: f8a026a3ca14ef0b0d562029dd6b184f060457f4
2002-01-15 18:39:43 +00:00
drh
1ab4300ebc Fix warning messages in VC++. Patches from nicolas352001. (CVS 347)
FossilOrigin-Name: f3038d218c91b44b70b75a7b881ea24c87fa6a02
2002-01-14 09:28:19 +00:00
drh
75c3edf8eb Version 2.2.2 (CVS 451)
FossilOrigin-Name: 7da00a33fece0b03b88c5103ce2b57e4d74ba2e4
2002-01-14 03:00:00 +00:00
drh
9647ff85fe Fix a bug that could cause UPDATE to fail for a table that contains
both an INTEGER PRIMARY KEY and an index. (CVS 346)

FossilOrigin-Name: 96cd07a881d7bea86a66d7dfe54713be9c81cb4c
2002-01-14 02:56:24 +00:00
drh
da9e034610 Fix a problem with the way temporary tables mask permanent tables. (CVS 345)
FossilOrigin-Name: ba89da603135e5f63f6f97ba3adad02682375c07
2002-01-10 14:31:48 +00:00
drh
be67d9cb4b Version 2.2.1 (CVS 452)
FossilOrigin-Name: 61c38f3bfef430f39aa98e9e7fa37324132b4381
2002-01-09 13:44:59 +00:00
drh
af989ba546 Homepage changes prior to version 2.2.1. (CVS 344)
FossilOrigin-Name: e78b1ea23ccda4bc476fbb070586dcac2cc83331
2002-01-09 13:35:11 +00:00
drh
d229ca9406 Continued work on the DROP/CREATE problem. (CVS 343)
FossilOrigin-Name: 0a3aa99e11ec9803cea646092bc21676e75a6670
2002-01-09 13:30:41 +00:00
drh
74e24cd0fa Working on a bug: Dropping and recreating a table within a transaction
causes an assertion failure. (CVS 342)

FossilOrigin-Name: b3656a5cfef91c89de2cbb9790087d0d53c03e6f
2002-01-09 03:19:59 +00:00
drh
3a88fbda19 Added a manpage from A. Rottmann. (CVS 341)
FossilOrigin-Name: 7deb62241300ff23af5a78dd855f0f69e5f16ffd
2002-01-07 19:58:43 +00:00
drh
462768612b Makefile changes from Andreas Rottmann (CVS 1725)
FossilOrigin-Name: 7910bc7885ddbd90400c3c50014bba499e34d53d
2002-01-07 19:04:22 +00:00
drh
e638bbf820 Makefile changes from Andreas Rottmann (CVS 340)
FossilOrigin-Name: e7004afbf808b6389e67e8a335c610227c76101b
2002-01-07 19:04:21 +00:00
drh
aacc543e23 Comment updates most. Also some small changes to the VDBE. (CVS 339)
FossilOrigin-Name: 9b0be4fcc1cbca69f5fee906f86dfb36a323fe84
2002-01-06 17:07:40 +00:00
drh
c6b52df32d An attempt to delete a single row using a WHERE clause that specifies
the rowid would result in an error if the rowid did not exist.  This
problem has been resolved. (CVS 338)

FossilOrigin-Name: 011be9a9d2632d261489005d97c69b0a0bc5a108
2002-01-04 03:09:29 +00:00
drh
c839258651 Comment changes. Change the use of BTree so that either the key is
an integer or the data is empty. (CVS 337)

FossilOrigin-Name: 18e606f7486eb3a4ab128504d88a44f53d39e5b2
2001-12-31 02:48:51 +00:00
drh
f7f07c7aef Version 2.2.0 (CVS 453)
FossilOrigin-Name: 6bb62d8fab621b79b2fd1601669b1d4c8a547774
2001-12-22 21:59:59 +00:00
drh
9aa028daa2 Bug fix in the out-of-order INSERT. (CVS 336)
FossilOrigin-Name: a26d0880b20ca5534400a3689d1da31fe6aaa934
2001-12-22 21:48:29 +00:00
drh
e7ec22019d Update documentation for the 2.2.0 release. (CVS 335)
FossilOrigin-Name: 14392258c5b6385091be8d684e3ea6841941b483
2001-12-22 19:27:39 +00:00
drh
8aff10153e Bug fixing in the new integer primary key code. (CVS 334)
FossilOrigin-Name: 29cab124b4f7eae9d9feb60d2f3a2c443fd9b9aa
2001-12-22 14:49:24 +00:00
drh
4a32431ce7 Added support for the INTEGER PRIMARY KEY column type. (CVS 333)
FossilOrigin-Name: 236a54d289e858a1e0505a20d907a2a40c01b521
2001-12-21 14:30:42 +00:00
drh
7c917d196f Added the ability to say things like "SELECT rowid, * FROM table1;" (CVS 332)
FossilOrigin-Name: ffbdd43f5de62e7bf81631c83473aca29c3a6c98
2001-12-16 20:05:05 +00:00
drh
6446c4dc67 Comment and documentation changes. (CVS 331)
FossilOrigin-Name: e8595579a5218aa3f344f967a23ac52ea89daca1
2001-12-15 14:22:18 +00:00
drh
a3cf986fa5 Version 2.1.7 (CVS 454)
FossilOrigin-Name: 0d44465347125c8e7e962ffb67213f9953a9b7ab
2001-12-15 03:04:59 +00:00
drh
c38f3d510c Typo in change log fixed. (CVS 330)
FossilOrigin-Name: 3a31daf6465b989a2b0790a2d1ba22ff955486a0
2001-12-15 03:00:42 +00:00
drh
4cbd68f805 Release 2.1.7 (CVS 329)
FossilOrigin-Name: 71cb9e8ad7616b1f84dc04700685bd4dc157d2db
2001-12-15 02:58:18 +00:00
drh
0ce92edd57 Fix a bug in the sqliteBtreeFirst() function which was causing the first
row of a table to be repeated during a scan. (CVS 328)

FossilOrigin-Name: 1404ac076b2155778b6b21546b30df6f45ea7ba7
2001-12-15 02:47:28 +00:00
drh
653851f577 Fix a critical bug in the creation of temporary tables. (CVS 327)
FossilOrigin-Name: 96f707413699eec16053a0323affbe8bf3760c14
2001-12-15 02:35:59 +00:00
drh
251d4b870d Version 2.1.6 (CVS 455)
FossilOrigin-Name: 6ecd90b6c3f3616af78b5ac6323e0f2e883a61c9
2001-12-14 15:14:59 +00:00
drh
a7fcb05988 Fix a race condition in the locking code that would sometimes cause
SQLITE_PROTOCOL or SQLITE_CORRUPT to be returned when SQLITE_BUSY should
have been returned. (CVS 326)

FossilOrigin-Name: b0d218876442187af08161d989e6887b1cb4130c
2001-12-14 15:09:55 +00:00
drh
6a6cfb9b31 Version 2.1.5 (CVS 456)
FossilOrigin-Name: 8e90ad552fad83568297202848fe7eb2b63db33d
2001-12-06 13:30:00 +00:00
drh
2cf65aad6c Bug fix in the sqliteOsLock() and sqliteOsUnlock() routines of POSIX.
Version 2.1.5. (CVS 325)

FossilOrigin-Name: 669454060867593290c1ce8c45bd87d011976289
2001-12-06 13:24:14 +00:00
drh
7df884e0d6 Version 2.1.4 (CVS 457)
FossilOrigin-Name: 121c522e673cc2a2176582981cc5cd8694095337
2001-12-05 00:59:59 +00:00
drh
208611fbca Minor changes prior to 2.1.4 (CVS 324)
FossilOrigin-Name: 2fb22adbd15740d5e1581d4114cdf5149e0b62dc
2001-12-05 00:46:02 +00:00
drh
03c1e9262e Version 2.1.4 (CVS 323)
FossilOrigin-Name: 003f967e8749903af859ad81a8a57767ea20ddec
2001-12-05 00:22:00 +00:00
drh
b8ca307e7b Bug fix: sqlite_exec() would sometimes return SQLITE_PROTOCOL when it
should have returned SQLITE_BUSY.  There was also a deadlock that the
previous bug was masking. (CVS 322)

FossilOrigin-Name: 585ed5ebf1c1afc8ae1d569b121208018d8ecd49
2001-12-05 00:21:20 +00:00
drh
6ff13859d5 Add the ability to do a single .command as the second argument
to the command-line shell. (CVS 321)

FossilOrigin-Name: 653f37c365a0b5d59c11b7dbba57905ffaeff2dc
2001-11-25 13:18:23 +00:00
drh
e68fefdaa5 Fix typos. (CVS 320)
FossilOrigin-Name: 3be8a189e8ccf8a82acc4ee72cc75b6cc92aa193
2001-11-24 13:50:53 +00:00
drh
e91d6fd3c3 Typos fixed. (CVS 319)
FossilOrigin-Name: e86a68c5ace984da09d3ce44dae5d501ec0d0eec
2001-11-24 13:36:30 +00:00
drh
59fefbab1a Update the FAQ. Change the GMT timezone label to UTC on all files. (CVS 318)
FossilOrigin-Name: f1a5808288e4204aee03531de0b9e6646062bd94
2001-11-24 13:23:04 +00:00
drh
44ebccbe26 Version 2.1.3 (CVS 458)
FossilOrigin-Name: 974d42839b6ced9c9b9ea14abec0c4723388a991
2001-11-24 00:45:00 +00:00
drh
7a7c73905d Fix comparison functions so that they are consistent with the order
of elements in indices.  Fix the handling of large integers. (CVS 317)

FossilOrigin-Name: fc2aae04578c305304a45ec6b76d3ab216cc7526
2001-11-24 00:31:46 +00:00
drh
ece4ea4af4 Version 2.1.2 (CVS 459)
FossilOrigin-Name: f14835df32b4a16c840b8827f0c17f0e6d526312
2001-11-23 00:30:00 +00:00
drh
f5bf0a78be Fix a bug in DROP TABLE that could cause SQLITE_MASTER table corruption.
The root problem was that the sequence of BTree operations (Delete, Next)
would not always leave the cursor pointing at the first entry after the
entry that was deleted.  A consequence of this error was that a DROP TABLE
on a table with indices would not always remove every index associated
with that table from the SQLITE_MASTER table.  Subsequent attempts to
open the database will fail when the index for the missing table was
parsed.  Changes have also been made to ignore extra indices in the
SQLITE_MASTER table so that a database previously corrupted by this bug
is once again readable. (CVS 316)

FossilOrigin-Name: 8a984667113564f2bac7412165b6ff8b7e3e8f70
2001-11-23 00:24:12 +00:00
drh
c3a64ba0a6 Fix a bug in the locking protocol. (CVS 315)
FossilOrigin-Name: a9db1c12c5a4d5741de0e5eb5aa87c647a5646b8
2001-11-22 00:01:27 +00:00
drh
5a2c2c20af Attempting to add support for 64-bit platforms. (CVS 314)
FossilOrigin-Name: 03673adbfe0c8a92d79f86ddf1136736594208ad
2001-11-21 02:21:11 +00:00
drh
bc1bd58acf Version 2.1.1 (CVS 460)
FossilOrigin-Name: be228cd13a4dcb7fdf7014910b7c61d502cb9a01
2001-11-13 19:44:59 +00:00
drh
f6e515b804 Bug fix: Be sure to sends NULLs to the callback when the column value is NULL. (CVS 313)
FossilOrigin-Name: 207a57ad2e4e1a44a4c0231b1ba334594402d6cd
2001-11-13 19:36:55 +00:00
drh
a84f6005a9 Bug fix: Sometimes NULL results were not being passed as nulls to the
callback function. (CVS 312)

FossilOrigin-Name: 94ce8282360d4a0dd2032564aae06f0f1902cb5b
2001-11-13 19:35:14 +00:00
drh
606c0ddcfc Version 2.1.0 (CVS 461)
FossilOrigin-Name: 56d8390e47bbf8f97fa602863af4c65ac755964e
2001-11-12 14:00:00 +00:00
drh
7900eaded1 Update change log prior to release of 2.1.0. (CVS 311)
FossilOrigin-Name: 6b3ccb37bf4c10b2d8f96ef8efc22ed8253f1886
2001-11-12 13:51:43 +00:00
drh
84e6b7b5ae Fix to the SUBSTR() function and to the bigrow test. (CVS 310)
FossilOrigin-Name: 8437076c25330759ae058918a8190df26d0881da
2001-11-12 13:10:52 +00:00
drh
778326010c Version 2.1.0 prerelease (CVS 309)
FossilOrigin-Name: 4f4ac42214610d900a5d6db63a511d9e7b22f0f9
2001-11-12 12:43:22 +00:00
drh
58a11680d1 Comment changes (CVS 308)
FossilOrigin-Name: 2d2ad264aad6fbdcef586e73d750e3fde842252f
2001-11-10 13:51:08 +00:00
drh
04096485f4 Minor bugs fixed. (CVS 307)
FossilOrigin-Name: 6e7e7dbf8e93d00eced88404aed792fcf9e75b7d
2001-11-09 22:41:44 +00:00
drh
ce927065c2 Bug fixes. (CVS 306)
FossilOrigin-Name: 84997fda33fd6ce93b821d3da3a7251cf60e06ec
2001-11-09 13:41:09 +00:00
drh
487ab3ca18 The new code for taking advantage of inequalities in WHERE clauses
is in place.  It appears to work. (CVS 305)

FossilOrigin-Name: 262bcd17df19f45def6144b5a7e0602ca5b03deb
2001-11-08 00:45:21 +00:00
drh
6b56344d4a New Next opcode and indexing style implemented. (CVS 304)
FossilOrigin-Name: decbeb9151885fee473b3fa58c8cf78a2338d2d8
2001-11-07 16:48:26 +00:00
drh
8721ce4ae7 Incremental update. We are in the middle of modifying the index system
to support range queries without doing a complete table scan. (CVS 303)

FossilOrigin-Name: e6ca23fa4569bc33065bf57ce7ce6132cd6a9de0
2001-11-07 14:22:00 +00:00
drh
17e24df621 Added support for LIMIT. (CVS 302)
FossilOrigin-Name: 177012249ae93dbea4a11fb50faaae7912848bd0
2001-11-06 14:10:41 +00:00
drh
9bbca4c1c0 Implement indices that occur in sort order and the LIMIT...OFFSET clause
of SELECT statements. (CVS 301)

FossilOrigin-Name: eb07768ae93f14bf6c150c1c4329948857a9d01c
2001-11-06 04:00:18 +00:00
drh
80ff32f5be Increase maximum row size to 1MB. (CVS 300)
FossilOrigin-Name: 7dd58fad398253608f55867cf1c7749eef005657
2001-11-04 18:32:46 +00:00
drh
b70ce0c69c Version 2.0.8 (CVS 462)
FossilOrigin-Name: 0fd2874205f1a4b89fc069cb429c1b0c7a0b99c1
2001-11-04 00:00:00 +00:00
drh
0f24678d8c Version 2.0.8 (CVS 299)
FossilOrigin-Name: 0a8c2f4f9812ffa7d43be0e3b59648dca40fa83c
2001-11-03 23:59:16 +00:00
drh
9f71c2e002 Added "const" to lots of "char*" parameters in the API. (CVS 298)
FossilOrigin-Name: 1c448f1fd2a2e103e7464df896174534d02152ed
2001-11-03 23:57:09 +00:00
drh
a8b38d286e Remove cruft: restrict the number of sorters and lists in the VDBE to one
since no more than one was ever used anyway.  This eliminates several
op-codes and simplifies the implementation of several others. (CVS 297)

FossilOrigin-Name: e1370276c2a0d045b29c981ddcb59f737e19a91c
2001-11-01 14:41:34 +00:00
drh
18b81e5a93 Comment changes only. (CVS 296)
FossilOrigin-Name: b2cb118fb7c6713684d32a48a7ba8ffffe596687
2001-11-01 13:52:52 +00:00
drh
33f51c9b71 More documentation updates (CVS 295)
FossilOrigin-Name: f65df59e554c281ad1efa830f13f87488eb16845
2001-10-31 15:44:46 +00:00
drh
ba99af57ac Make lemon 64-bit clean (CVS 294)
FossilOrigin-Name: 475e2fedda2256cc1cfdffa1b12745bc401e552d
2001-10-25 20:37:16 +00:00
drh
6c32cf70d2 Version 2.0.7 (CVS 463)
FossilOrigin-Name: b0442cb9c64682b6f98bf8f26f50bb54bdfd9013
2001-10-22 03:00:00 +00:00
drh
6d4abfbee5 More changes for 2.0.7. (CVS 293)
FossilOrigin-Name: f8328a5f11801c5124f9a8dace22df3c1cfb2191
2001-10-22 02:58:08 +00:00
drh
01a346616f 2.0.7 (CVS 292)
FossilOrigin-Name: a835658e507fc7d0c684959c0f0afb9018b6a8d4
2001-10-20 12:30:10 +00:00
drh
af27914d2a Version 2.0.6 (CVS 464)
FossilOrigin-Name: c8535a0de90fb7a22df15018984db590a85decfb
2001-10-19 16:44:59 +00:00
drh
6a535340bc Version 2.0.6 (CVS 291)
FossilOrigin-Name: 8467d84fc6e67bd93051f54338a8f6c9b1711ee1
2001-10-19 16:44:56 +00:00
drh
98808babd3 Support for UTF-8 and ISO8859 characters in identifiers. Bug fix in
the column name generator for selects (was coreing). (CVS 290)

FossilOrigin-Name: 22948fc685299ca888907eea68edb8a6e87c3f49
2001-10-18 12:34:46 +00:00
drh
a411288fe8 Version 2.0.5 (CVS 465)
FossilOrigin-Name: e2d84f71ed39cbb75884205521aa9e316ab3b56c
2001-10-15 00:45:00 +00:00
drh
1bee3d7b43 Added support for the COUNT_CHANGES pragma in order to help out the
ODBC driver.  Fixed a but on count(*) when applied to empty tables. (CVS 289)

FossilOrigin-Name: 747bf1b30b74cfd0e9c27e7c0bc5172637f35520
2001-10-15 00:44:35 +00:00
drh
f2d6a64495 Version 2.0.4 (CVS 466)
FossilOrigin-Name: 444447007a32f9ebd9e0714c6cbe0d9a63e193b1
2001-10-13 21:59:59 +00:00
drh
e21a57320e Bug fix. Raised version number to 2.0.4. (CVS 288)
FossilOrigin-Name: 26972afd645e21e0d16de9a0bb0d03754e909044
2001-10-13 21:56:34 +00:00
drh
e73e180933 Version 2.0.3 (CVS 467)
FossilOrigin-Name: a8fee23f86c268c1bdb3575f3f6069da18de12a8
2001-10-13 03:00:00 +00:00
drh
bf4133cba1 2.0.3 (CVS 287)
FossilOrigin-Name: 75e90cf09b64ee1fcb39a711fc9ac6d3d2b849a5
2001-10-13 02:59:08 +00:00
drh
99fcd718e1 Remove the P3 and label arguments from the internal sqliteVdbeAddOp()
function.  This makes the code easier to read and perhaps smaller as
well. (CVS 286)

FossilOrigin-Name: 288ef1247b94c6c933451d120cdc78e471efc14e
2001-10-13 01:06:47 +00:00
drh
81a20f21d5 Fix an assertion failure when the disk fills up. Add tests for a full
disk situation. (CVS 285)

FossilOrigin-Name: 0a7848b6190981cb7eb673bbe68cb217694daf2e
2001-10-12 17:30:04 +00:00
drh
4299020922 Version 2.0.2 (CVS 468)
FossilOrigin-Name: 44d00a6f58c71ca11423df12530177baaa054a01
2001-10-09 14:00:00 +00:00
drh
3109e02ec5 The sqlite_busy_timeout() function was interpreting its second argument
as seconds, not milliseconds as advertised.  This patch fixes the problem. (CVS 284)

FossilOrigin-Name: abe5a25b9dcf1e47f3cb37fd419f620db03bd4da
2001-10-09 13:46:01 +00:00
drh
9d31976c3d Remove files before rebuilding. (CVS 283)
FossilOrigin-Name: 6307641d463eefd5ec346d299830e822acbc0938
2001-10-09 12:44:43 +00:00
drh
ff0839c0b6 More changes prior to release 2.0.2. Mostly comment changes. But there
was also a minor change to temptable.test so that it would work under
Windows. (CVS 282)

FossilOrigin-Name: 864349de6fba5b38a3fbf7ab502922937b1b61e5
2001-10-09 12:39:24 +00:00
drh
286f11a23c Version 2.0.2 (CVS 281)
FossilOrigin-Name: 765359c77ebae22e42b78636e70a57b010aaa18e
2001-10-09 04:21:50 +00:00
drh
ad75e9874b Fix the locking protocol. (CVS 280)
FossilOrigin-Name: 484b82d8a1c84f3d9725a509de93276b9fa9b294
2001-10-09 04:19:46 +00:00
drh
f57b339988 Support for temporary tables added. Still need more testing. (CVS 279)
FossilOrigin-Name: 9368c62e4097aae3081a325962c1dec167fd253d
2001-10-08 13:22:32 +00:00
drh
382c0247c7 Adding table column query capability to support ODBC. (CVS 278)
FossilOrigin-Name: b63b3f3684a3d584ef99f54cde76b6c483bbfef7
2001-10-06 16:33:02 +00:00
drh
480bf1769d Version 2.0.1 (CVS 469)
FossilOrigin-Name: e4980849403a8d7bd63753c9b7f275519bd7df4f
2001-10-02 13:05:00 +00:00
drh
100569d862 Remove C++ comments from btree.c. (CVS 277)
FossilOrigin-Name: 4b7710e2daadffb716bd88f3a213f94ffbb750ef
2001-10-02 13:01:48 +00:00