drh
6cbe1f1bc4
Added additional tests. No new errors found. (CVS 653)
...
FossilOrigin-Name: 8924a7f5bab790ab552332d6359028d0d1825e4a
2002-07-01 00:31:36 +00:00
drh
a9f9d1c08b
Add a few more tests and fix a few bugs that the tests uncovered. (CVS 652)
...
FossilOrigin-Name: 91c0db66c86facb21b5b522afadd83d91a488256
2002-06-29 02:20:08 +00:00
drh
3b167c7583
Additional test cases added. The following bug fixed: A segfault was occurring
...
if a VIEW consisted of a join with a USING clause. (CVS 651)
FossilOrigin-Name: 96515b813eb57e1f48c28d357d1f38639b2fdcfa
2002-06-28 12:18:47 +00:00
drh
83dcb1ad37
Fix for ticket #84 : If the WHERE clause is too complex, issue an error message
...
and refuse to do the SELECT. The cutoff is a WHERE clause with 100 terms. (CVS 650)
FossilOrigin-Name: c07e493b62125e85eaea36b6945f1e146e2792b8
2002-06-28 01:02:38 +00:00
drh
ac83f718fc
Fix for ticket #88 : A typo in the documention of the "sqlite" shell command. (CVS 649)
...
FossilOrigin-Name: 16552a7a29450a23765f0f05a9f4058638eafd74
2002-06-27 13:21:01 +00:00
drh
06b2718a5f
In the TCL interface, the "sqlite" command now always returns the address
...
of the "sqlite*" pointer that sqlite_open() returns. It used to do this
only when compiled with the SQLITE_TEST macro defined. (CVS 648)
FossilOrigin-Name: 9ca6368525fe81fe9c78c6911f4d23009ce858d5
2002-06-26 20:06:05 +00:00
drh
b13632063d
The datatype of the i-th column in the result set is given by the
...
azColName(argc+1+i) parameter to the callback. (CVS 647)
FossilOrigin-Name: bdb006b809feb0f29342eb5138c0884d34e95599
2002-06-26 02:45:03 +00:00
drh
411995dc0d
Add the sqlite_open_aux_file() API. (CVS 646)
...
FossilOrigin-Name: 332164d6455658ca633a1dc49811d9fb0fd4b01c
2002-06-25 19:31:18 +00:00
drh
e3c163e4e0
Version 2.5.3 (CVS 645)
...
FossilOrigin-Name: d5cb675432cbaeac2c1a8a08181613b9d1eb5ca1
2002-06-25 15:19:02 +00:00
drh
ee6bfdf99c
Fix a spelling error in the change log. (CVS 644)
...
FossilOrigin-Name: 37cc40442bab50506978f428001b77f23d3a4e4c
2002-06-25 14:46:58 +00:00
drh
8124a30f82
Bug fix: When the database file grows in size during a transaction, make sure
...
the last page of the file gets written to disk even if that page is on the
free list and contains no data. Otherwise the disk file will be too small
which can lead to database corruption in subsequent transactions. (CVS 643)
FossilOrigin-Name: 36fc0add660f9f3676783765d37280aa874caecb
2002-06-25 14:43:57 +00:00
drh
2150432e7c
Enhance the INTEGRITY_CHECK pragma to test the auxiliary database file in
...
addition to the main database file. (CVS 642)
FossilOrigin-Name: 52eba4de301121f254174b74042015bf6069ef11
2002-06-25 13:16:02 +00:00
drh
90c0bb0b07
Version 2.5.2 (CVS 641)
...
FossilOrigin-Name: 756310cad23668785eac679ef0842d1f37c306ee
2002-06-25 01:09:30 +00:00
drh
e0bc4048a0
Added support for the "sqlite_temp_master" table. Increased the version
...
number to 2.5.2. (CVS 640)
FossilOrigin-Name: 9c1432bf7485258e485bd652e3acdaeabbfe8850
2002-06-25 01:09:11 +00:00
drh
1cc093c2b5
Partial fix for a problem with LEFT OUTER JOIN. It used to be that the test
...
for the right-hand table not matching the left table occurred after all
ON, USING, WHERE clause processing. The test should occur after ON and
USING clauses are checked but before the WHERE clause is check. This fix
works as long as the total number of "AND" separated terms in the ON, USING,
and WHERE clause does not exceed 32. To do: make this work for any number
of terms and add test cases.
that (CVS 639)
FossilOrigin-Name: 8b6574cfa86daaae910f8f3ee3c4723a21fb9e53
2002-06-24 22:01:57 +00:00
drh
bf5cd97ed7
Fix a VDBE stack leak in LEFT OUTER JOIN. Fix a bug in the code generator
...
for JOIN ... USING(...). (CVS 638)
FossilOrigin-Name: d861489e1f7dffd1105c271fe8597f73e5b1703c
2002-06-24 12:20:23 +00:00
drh
f46f905a1e
An optimization: avoid the use of an intermediate table on UNION ALL if there
...
is no ORDER BY clause. (CVS 637)
FossilOrigin-Name: 8aa73ce61268a50d353d9a5c878461290195525f
2002-06-22 02:33:38 +00:00
drh
d11d382c99
Fix for bugs #77 and #80 : Rework the LIMIT mechanism to be reentrant and to
...
clean up the VDBE stack properly. (CVS 636)
FossilOrigin-Name: 9d5523107937e3700c76666fb058694babdd672c
2002-06-21 23:01:49 +00:00
drh
7aa128dbc5
Fix for ticket #76 : Fix a database corruption that might occur when
...
dropping tables or indices. (CVS 635)
FossilOrigin-Name: 7936b0325024c81ed8d4bab192d7350d045ec999
2002-06-21 13:09:16 +00:00
drh
bb3a6dbd2e
Fix for ticket #78 : Avoid an assertion failure when sqlite_close() to be
...
called in the middle of a transaction. (CVS 634)
FossilOrigin-Name: 2532792a5875f9cc0f7d8eaf90dd49d1f6025ca3
2002-06-21 11:55:48 +00:00
drh
ef1360635c
Update the file-format change document to describes the changes between
...
versions 2.4.12 and 2.5.0. (CVS 633)
FossilOrigin-Name: d28a2ecc91c0a6d64725887dcf2758f69553eb59
2002-06-20 11:41:58 +00:00
drh
c9b84a1fb1
This patch contains the beginnings of the data-typing infrastructure.
...
The new build-in TypeOf() function is added. New opcodes for doing
pure text comparisons are added. Most changes are disabled pending
the 2.6.0 release. (CVS 632)
FossilOrigin-Name: cbbc858d973c2d515c6a2464981316549a241b73
2002-06-20 11:36:48 +00:00
drh
c926afbc2d
Fix for ticket #73 : The ORDER BY clause is significant for subqueries.
...
This passes all regression tests, but more testing is needed to exercise
all paths through the new code. (CVS 631)
FossilOrigin-Name: 43c5aff5d078bce9292683cd40311e0dcc81ac14
2002-06-20 03:38:26 +00:00
drh
27a32783ab
Fix for ticket #75 : Autoincrement INTEGER PRIMARY KEY fields on an INSERT
...
even if the data is coming from a SELECT statement. (CVS 630)
FossilOrigin-Name: d599f75b659809a6e5eee09b0e9e6e90bde5af1e
2002-06-19 20:32:43 +00:00
drh
9bc542e999
Version 2.5.1 (CVS 629)
...
FossilOrigin-Name: 5e8a3131aba25e22f3e25b9b1c051019381f11d1
2002-06-19 14:27:22 +00:00
drh
e31847449e
The query optimizer now attempts to satisfy an ORDER BY clause using
...
an index. Sorting is still used if there are no suitable indices. (CVS 628)
FossilOrigin-Name: f09e19b43ef61073713cf32282c90ea666229eba
2002-06-19 14:27:05 +00:00
drh
c2bb7c3dd9
Version 2.5.0 (CVS 627)
...
FossilOrigin-Name: 9baef3e240c4ffd90881ac4664efd205bd9e65f4
2002-06-17 17:26:38 +00:00
drh
af33486ebb
Update the change summary for version 2.5.0 (CVS 626)
...
FossilOrigin-Name: 7a216adea5aa5a82718f8c85f8961ba36ab51bb4
2002-06-17 17:15:46 +00:00
drh
8e2ca029a3
Add preliminary logic for the eventual move to having separate TEXT and
...
NUMTEXT datatypes. Also change the version number to 2.5.0 in preparation
for an interim release. (CVS 625)
FossilOrigin-Name: 05783a9db585c1ead42135252dca97d2bc6e2118
2002-06-17 17:07:19 +00:00
drh
e0140fc13a
Expose an additional internal API routine (sqliteInitCallback()) for
...
use by private code. (CVS 624)
FossilOrigin-Name: cd74495f995803eeb5c2b900d536deb52e5584eb
2002-06-16 18:21:44 +00:00
chw
4d60361fe3
Added explanation and examples for %Q format specifier. (CVS 623)
...
FossilOrigin-Name: 633ce4dd252ac351b04bdb7bed2d5374ee9a3f12
2002-06-16 04:57:32 +00:00
chw
b22f1b58ac
Added printf-4.(2-4) test cases to test new %Q format specifier. (CVS 622)
...
FossilOrigin-Name: 7d5fc35b5d38230230344b4f70763f75940ab908
2002-06-16 04:56:36 +00:00
chw
0cfcf3fbd1
Added %Q format specifier: like %q but automatic enclosing in
...
single quotes, NULL pointers replaced by NULL w/o single-quotes. (CVS 621)
FossilOrigin-Name: b9c7ecc2f9d8d7d57c51dc4ba0aaa520e89eb31f
2002-06-16 04:55:48 +00:00
chw
f220b24fc6
Changed sqlite_mprintf_str to allow a NULL string parameter.
...
Command template now is cmd FORMAT INT INT ?STRING?. When
STRING omitted a NULL is passed to sqlite_mprintf. (CVS 620)
FossilOrigin-Name: 8bc711571d752a81957007be22ed8a3c6877f676
2002-06-16 04:54:28 +00:00
drh
df199a25bd
Make the LIMIT clause work even if the destination of the SELECT is
...
something other than a callback. (Ticket #66 ) (CVS 619)
FossilOrigin-Name: 699cf362083043615eb88635a228bfa46a315c9c
2002-06-14 22:38:41 +00:00
drh
c27a1ce4bd
Improvements to comments. No code changes. (CVS 618)
...
FossilOrigin-Name: 7e10e60bb78b680bb822908a0b7763f8f5e3ee5a
2002-06-14 20:58:45 +00:00
drh
c67980bedc
Fix for bug #72 : Make sure the file descriptors are properly closed if
...
sqliteInit() fails for any reason. (CVS 617)
FossilOrigin-Name: e67ac0fec51788aca0429d04310f86c9c1cf9d13
2002-06-14 20:54:14 +00:00
drh
6ca62f21e3
Fix for bug #70 : Correct a typo in the documentation. (CVS 616)
...
FossilOrigin-Name: 3387d5b6d62fbafea69fac7bb8256c37d5c6a4ba
2002-06-12 22:33:54 +00:00
danielk1977
c3d2ac6561
Documentation that should have been checked in along with checkin (614) (CVS 615)
...
FossilOrigin-Name: 10da13612583caacc6fefe3a1f24187bfae2ebd7
2002-06-11 22:33:47 +00:00
danielk1977
6f34903e85
Add RAISE() function, which allows more advanced flow-control in trigger programs (ticket #55 ) (CVS 614)
...
FossilOrigin-Name: d4a2fb10067203a0d49317db747759872e62927e
2002-06-11 02:25:40 +00:00
drh
28f4b6885b
Fix the spelling of sqliteRegisterBuiltinFunctions(). (CVS 613)
...
FossilOrigin-Name: 74d297d97e66452acc5c21048ee8ddf2a90c846f
2002-06-09 10:14:18 +00:00
drh
48185c15c7
Added tests for the new IN operator optimizer and fixed a bug that the
...
new tests found. This completes the implementation of enhancement #63 . (CVS 612)
FossilOrigin-Name: 2a710e18176c486525f0abb06644a511a2cd1d7a
2002-06-09 01:55:20 +00:00
drh
d9e3093038
Fix for ticket #65 : If an integer value is too big to be represented as a
...
32-bit integer, then treat it as a string. (CVS 611)
FossilOrigin-Name: ad9624798edbd6d0c4652fed3d74fe87498844ff
2002-06-09 01:16:01 +00:00
drh
d99f70680f
Add optimizations for the IN operator in WHERE clauses. This is a partial
...
implementation of enhancement #63 . Still need to add test cases. (CVS 610)
FossilOrigin-Name: 8481e841ebdeabe07bf780246bda1aa053eb60b7
2002-06-08 23:25:08 +00:00
drh
f5db2d3ea2
Bug fix: do not segfault if a SELECT without a FROM clause includes
...
the * wildcard in the result column list. (CVS 609)
FossilOrigin-Name: d939294994e5f6c7862b66573301e111e56a2681
2002-06-06 23:42:27 +00:00
drh
d5c644c0b1
Fix for ticket #59 : Add documentation for the || operator. Also added
...
documentation for the new SQL92 join syntax. (CVS 608)
FossilOrigin-Name: a0abef62bfe1b0f8c6249ba520dd2735190783a5
2002-06-06 23:30:58 +00:00
drh
5df72a5ad6
Fix for ticket #62 : Do not report an SQLITE_READONLY error until the application
...
actually tries to write data into a readonly file. It is OK to start a
transaction on a read-only file, and doing so will get you a read lock. This
change allows TEMP tables to be read/write even though the main database is
readonly. (CVS 607)
FossilOrigin-Name: 9ef795d1d756a404d2123ebc19df1985b19c9888
2002-06-06 23:16:05 +00:00
drh
34e33bb835
Additional grammar cleanup resulting from the %fallback directive. (CVS 606)
...
FossilOrigin-Name: c0cb3a012e02df1a7965413a92f9b5a77331edb4
2002-06-06 19:04:16 +00:00
drh
0bd1f4ea5a
Added the %fallback directive to the lemon parser generator and used this
...
in the parser to make the parse tables much smaller. This reduced the size
of the library by 15K. (CVS 605)
FossilOrigin-Name: 7ac5bd293cbb2bf252f31f1571f7efac7e77280a
2002-06-06 18:54:39 +00:00
drh
bd790ee395
Fix a compiler warning. (CVS 604)
...
FossilOrigin-Name: 637ee587b5438c54ba2d8bd8fc15e584abb70946
2002-06-02 18:22:06 +00:00
drh
04738cb9ff
Add the ability to parse FOREIGN KEYs. Foreign keys are still ignored,
...
but at least they now do not cause a syntax error. (CVS 603)
FossilOrigin-Name: 6fdcee3c99e994ef3ab83a0cc57344cdb16210df
2002-06-02 18:19:00 +00:00
drh
e4de1feb3e
Enhance the ORDER BY clause so that an integer term means to sort by the
...
corresponding column. (CVS 602)
FossilOrigin-Name: 7acbf84b492202d8b5a05276a95b475027eb5f58
2002-06-02 16:09:01 +00:00
drh
1288c9561d
Multiplying NULL by zero gives NULL, not zero. I misread the test data
...
and coded it wrong. This check-in fixes the problem. (CVS 601)
FossilOrigin-Name: df9cc852ad02dbec5558d3915a0303f7e7b79b2b
2002-06-01 21:41:10 +00:00
drh
f570f011eb
Refinements to NULL processing: NULLs are indistinct for DISTINCT and UNION.
...
Multiplying a NULL by zero yields zero. In a CASE expression, a NULL comparison
is considered false, not NULL. With these changes, NULLs in SQLite now work
the same as in PostgreSQL and in Oracle. (CVS 600)
FossilOrigin-Name: da61aa1d238539dff9c43fd9f464d311e28d669f
2002-05-31 15:51:25 +00:00
drh
0f89253e21
Once it is opened, leave the checkpoint journal file open for the
...
duration of a transaction, rather than closing it and reopening it
for each statement. (Ticket #53 ) (CVS 599)
FossilOrigin-Name: 7a24336d50e72006b2cc0e4feb292b946e79d5f3
2002-05-30 12:27:03 +00:00
drh
461c281a2e
Bug fix: bad code was generated for when the first operand of a CASE
...
was NULL. (CVS 598)
FossilOrigin-Name: 4debc8db929fdc201759ba211acdeadc4e30e8af
2002-05-30 02:35:11 +00:00
drh
739105c72c
Built-in aggregate functions (MIN, SUM, AVG, etc) should ignore NULL entires. (CVS 597)
...
FossilOrigin-Name: 19ae12bef210ae5fe171f10833faa38d640c129f
2002-05-29 23:22:23 +00:00
drh
f1756d2a79
Remove extra \ characters from temporary filenames under windows.
...
(Ticket #52 ) (CVS 596)
FossilOrigin-Name: ed11abc81e638c21ec1aa0445a6d59de91343095
2002-05-29 12:44:52 +00:00
danielk1977
993b173e55
Update trigger2.test to match checkin 591. Also fix ticket #51 (by documenting problem) (CVS 595)
...
FossilOrigin-Name: 5e74d0964b8fd99eda798e3737217aa499cc1726
2002-05-28 06:55:27 +00:00
drh
d7489c3987
A SELECT statement inside the body of a TRIGGER uses the SRT_Discard target
...
to discard the query results. Such selects are intended to be used to call
user-defined functions for their side-effects. They do not return results. (CVS 594)
FossilOrigin-Name: f8041f3d4d3350b4086cd6ba3e9006bdde8546a9
2002-05-27 12:24:48 +00:00
drh
c754fa5486
Fix the "alias.*" bug found by Bernie Cosell and reported on the newsgroup. (CVS 593)
...
FossilOrigin-Name: f562d542304c0c1b18b0cee78b1ecc353327a02e
2002-05-27 03:25:51 +00:00
drh
bb113518f9
Bug fixes and additional test cases for the distinct-NULL patch. (CVS 592)
...
FossilOrigin-Name: 0e268d0c0faa02c3f95e1567cf631b7a04bfbdf0
2002-05-27 01:04:51 +00:00
danielk1977
d702fccbce
Require the INSTEAD OF syntax to create triggers on database views. (CVS 591)
...
FossilOrigin-Name: d9e48cd5180e2aae7672b9d54e18c37d0fe5258a
2002-05-26 23:24:40 +00:00
drh
8912d106e1
Change functions to handle NULLs correctly. Added the NULLIF() function. (CVS 590)
...
FossilOrigin-Name: 46ce1a9ab6e527958ebc757fa2175c488299cd84
2002-05-26 21:34:58 +00:00
drh
f5905aa7be
NULL values are distinct. A comparison involving a NULL is always false.
...
Operations on a NULL value yield a NULL result. This change makes SQLite
operate more like the SQL spec, but it may break existing applications that
assumed the old behavior. All the old tests pass but we still need to add
new tests to better verify the new behavior. Fix for ticket #44 . (CVS 589)
FossilOrigin-Name: 9051173742f1b0e15a809d12a0c9c98fd2c4614d
2002-05-26 20:54:33 +00:00
drh
195e6967fb
Additional testing of LEFT OUTER JOIN. (CVS 588)
...
FossilOrigin-Name: d8d04c14f18d1feba89ccea0be70530a18248c51
2002-05-25 00:18:20 +00:00
drh
ad2d8307ac
Initial implementation of LEFT OUTER JOIN including the expanded SQL92 join
...
syntax. The basic functionality is there but there is still a lot of testing
to do. (CVS 587)
FossilOrigin-Name: 99bd1f5b9a1a20bfeefe15c00d96a34a5f40923e
2002-05-24 20:31:36 +00:00
drh
01f3f25376
Add support for the full SQL join syntax. This is just a parser enhancement.
...
We now recognize all kinds of joins, but we don't actually do anything with
them yet. (CVS 586)
FossilOrigin-Name: e238643efdbe1394c7ff85e34e486f7c6082b6cc
2002-05-24 16:14:15 +00:00
drh
2e392e2c53
Added tests for multi-column primary keys. (CVS 585)
...
FossilOrigin-Name: ffc49e56b13096b35e6cbb1a2f7d546843d4a91d
2002-05-24 02:14:50 +00:00
drh
ad3cab52fe
Split the IdList structure into IdList and SrcList. SrcList is used to
...
represent a FROM clause and IdList is used for everything else. This change
allows SrcList to grow to support outer joins without burdening the other
uses of IdList. (CVS 584)
FossilOrigin-Name: a167b71d8c27e870bc3079c6132e483bffc83298
2002-05-24 02:04:32 +00:00
drh
bd5a451d5d
Change the names of the PushList and PopList opcodes to ListPush and ListPop
...
so that they will appear together with the other List opcodes in the
documentation. (CVS 583)
FossilOrigin-Name: c53b0b9283c5c34def87d58b03fd979d03dc0890
2002-05-23 22:07:02 +00:00
drh
0b4efed236
Fix for ticket #50 . (CVS 582)
...
FossilOrigin-Name: 82b74a494ac7c751a13e67dcfa7fffb1b98ec808
2002-05-23 13:15:37 +00:00
drh
07d6e3a74c
Partial fix for ticket #49 . The correct result is computed, but now we have
...
a memory leak. I'm not sure if the memory leak was pre-existing or a result
of this change. (CVS 581)
FossilOrigin-Name: 4d27ee411902a197cd72416ca9da9197d3f87f13
2002-05-23 12:50:18 +00:00
drh
e4697f5e90
Fix some places where a malloc() failure would lead to a segfault. (CVS 580)
...
FossilOrigin-Name: 01ad352c3c82a86d9c94010cbc85d098b8fbc08a
2002-05-23 02:09:03 +00:00
drh
1873cd508a
Do not allow triggers on the SQLITE_MASTER table. (CVS 579)
...
FossilOrigin-Name: 275ba356f351abcf9a079ac16b765c9443750f0e
2002-05-23 00:30:31 +00:00
drh
97fc3d060a
Fix for ticket #46 : Report an error if a CREATE TABLE contains two or more
...
columns with the same name. (CVS 578)
FossilOrigin-Name: ba1953abd04671232cf9e93ab3f962fedbbdc508
2002-05-22 21:27:03 +00:00
drh
2ce1a6ec60
Fix for ticket #47 : Use a cast to avoid a warning about discarding a "const"
...
inside of hash.c. (CVS 577)
FossilOrigin-Name: 0c903461533fabca7815e8cccbd3b712bcd22ddc
2002-05-21 23:44:30 +00:00
drh
2398937b7f
Double-quoted strings resolve to column names if possible. Single-quoted
...
strings continue to be interpreted as string literals. (CVS 576)
FossilOrigin-Name: 55e7d65496624c8e48673d8747f3123786bfedbc
2002-05-21 13:43:04 +00:00
drh
1d1f30555d
Clean up some compiler warnings. (CVS 575)
...
FossilOrigin-Name: 3399b01219b9e75b93587b5634d199d9e6fb6e42
2002-05-21 13:18:25 +00:00
drh
b05789ff2b
Modify the shell so that when it is doing a ".dump" it always uses single
...
quotes and not double quotes for quoting literal strings. This is for
portability to other databases that only support single quote string literals. (CVS 574)
FossilOrigin-Name: f795afd63f19ab61c2b3b96621cb6dda31ce0379
2002-05-21 13:02:24 +00:00
drh
79b0c95687
Fix for ticket #45 : Allow an UPDATE statement to change the INTEGER PRIMARY KEY
...
to itself without triggering a constraint error. (CVS 573)
FossilOrigin-Name: 592da1346872e1373bd13525d05d0f33c1056709
2002-05-21 12:56:43 +00:00
drh
c977f7f596
Additional code cleanup resulting from a review of the new trigger code. (CVS 572)
...
FossilOrigin-Name: 37dbdd551e88440933066133ec9cc1e10b03fc1a
2002-05-21 11:38:11 +00:00
danielk1977
f29ce55958
Style fixes to triggers code in various *.c files (partial fix to ticket #39 ) (CVS 571)
...
FossilOrigin-Name: 8a4195c7466962291a296e8f53034ea8cb25005f
2002-05-19 23:43:12 +00:00
danielk1977
633ed08d95
Stylistic changes to src/trigger.c (partial fix to ticket #39 ). Also more comments. (CVS 570)
...
FossilOrigin-Name: b1d72cb5847a9f5f08e40b36ad117b5493232ea7
2002-05-17 00:05:58 +00:00
danielk1977
d99bc930f7
Fix for ticket #42 : Added comments to structs Trigger, TriggerStep and TriggerStack. (CVS 569)
...
FossilOrigin-Name: 9ec8a2b139ce38312284d7b4eb61221b1e1e3052
2002-05-16 00:13:12 +00:00
drh
b6b2de0c35
Fix a typo in the c_interface.html documentation file. (CVS 568)
...
FossilOrigin-Name: 454879fa400f8c67456a483e69342bf48e3a02a4
2002-05-15 23:26:22 +00:00
drh
ce9079c8f2
Fix for ticket #41 : Better handling of CREATE TRIGGER in the sqlite_complete()
...
function. (CVS 567)
FossilOrigin-Name: f45c4b767a6b1451787836060235ff7499dea0de
2002-05-15 14:17:44 +00:00
drh
dc3794561f
Beginning to clean up the trigger code. Still lots of work to do. (CVS 566)
...
FossilOrigin-Name: b10346818b25940c6dc85e94de8e36d20954161c
2002-05-15 12:45:43 +00:00
drh
9adf9ac4e4
Remove all tabs from the beginning of source code lines. Replace tabs with
...
the appropriate number of spaces. (CVS 565)
FossilOrigin-Name: 690f9a163173c4c7af7e8e92e942cee4184c7974
2002-05-15 11:44:13 +00:00
drh
5b87fa2a57
In the "lang.html" documentation file, put the CREATE TRIGGER and DROP TRIGGER
...
sections in alphabetical order. (CVS 564)
FossilOrigin-Name: d1d8642b57bd0765ade730248012d58b0859c12c
2002-05-15 11:43:16 +00:00
danielk1977
b38f58b51a
Add the Makefile.in that was forgotten with checkin #562 (CVS 563)
...
FossilOrigin-Name: 29b8330ca6bfe32c499a045189683100f2b15246
2002-05-15 08:43:10 +00:00
danielk1977
c3f9bad209
Added FOR EACH ROW triggers functionality (CVS 562)
...
FossilOrigin-Name: 794bf67b6b36fce8854d5daff12f21dbb943240c
2002-05-15 08:30:12 +00:00
drh
9456bcc975
Version 2.4.12 (CVS 561)
...
FossilOrigin-Name: 06cdaf1c80f7bc25fc555c7c8a35258faed2d2e9
2002-05-10 14:41:54 +00:00
drh
4d908a3b43
Update the misuse.test script so that it will work under Windows. Changes
...
to the speed testing script to support version 2.4.12. (CVS 560)
FossilOrigin-Name: 232b7ef2c8207eb6d2564a641446267d3dec97af
2002-05-10 14:37:30 +00:00
drh
c22bd47d55
Improvements to the SQLITE_MISUSE detection logic. Also added test cases
...
for this logic, including the new test file "misuse.test". (CVS 559)
FossilOrigin-Name: f42907ce457e012592f8c043dc6c915e87258b35
2002-05-10 13:14:07 +00:00
drh
247be43d60
Attempt to detect when two or more threads try to use the same database at
...
the same time and return an SQLITE_MISUSE error. Also return this error
if an attempt is made to use a closed database. (CVS 558)
FossilOrigin-Name: a05fabd2df1cb38c555a7b2f31b0ca687db500c2
2002-05-10 05:44:55 +00:00
drh
d5feede1ff
Fix for ticket #35 : Ignore any ORDER BY clause on a subquery in a FROM clause. (CVS 557)
...
FossilOrigin-Name: 1b0ee944c9af10078aba628e85d79f8682afa2b6
2002-05-08 21:46:14 +00:00
drh
0f18b450ad
Fix for ticket #34 : VIEWs ignore their ORDER BY clause. (CVS 556)
...
FossilOrigin-Name: 5f22d21571acedbd6348b61445a7c408cde8d229
2002-05-08 21:30:15 +00:00
drh
891da435d6
Version 2.4.11 (CVS 555)
...
FossilOrigin-Name: b13151794b42109a59ed34e6b9bce6ce90de537b
2002-05-08 12:03:50 +00:00
drh
685b941542
Increase the version number and update the change log in preparation for
...
the 2.4.11 release. (CVS 554)
FossilOrigin-Name: f6e406aa0422d9b5a3cfe89b0d38def535f8fe9b
2002-05-08 11:57:09 +00:00
drh
0bb28106be
Fix for tickets #32 and #33 : Generate the names of the result set early, before
...
doing the flattening optimization or evaluating subqueries. Otherwise, the
result set column names are generated incorrectly or after they are needed. (CVS 553)
FossilOrigin-Name: 08f27cb36805d38648274b6fe91dec43a5910057
2002-05-08 11:54:14 +00:00
drh
cc47c28068
Added documentation about the new CASE expression. (CVS 552)
...
FossilOrigin-Name: cc541b10302774b9004babbfb3a11b1f65d4b863
2002-05-06 11:47:32 +00:00
drh
0fface6e33
Fix typos in the man-page (sqlite.1) and remove two unused files.
...
Patches from Andreas Rottmann. (CVS 551)
FossilOrigin-Name: 5772d31934ced7e35842d7c7689ff4878b7e80f5
2002-05-06 11:34:26 +00:00
drh
133224676a
Version 2.4.10 (CVS 550)
...
FossilOrigin-Name: 5f3618142f7e4654e85ca08383d6d7c1b3395c66
2002-05-03 00:18:11 +00:00
drh
2e18abf43c
Update the change log prior to releasing version 2.4.10. (CVS 549)
...
FossilOrigin-Name: 67838bbc800a1acdd91af8e43f5a65494fb9d690
2002-05-03 00:17:54 +00:00
drh
08192d5f76
Fix for ticket #31 : Do not attempt the flattening optimization if the
...
subselect does not contain a FROM clause. Handle the special case where
a WHERE clause is constant. (CVS 548)
FossilOrigin-Name: 24e4cf73d22bb41d26bf3c833f1854a9c90923e8
2002-04-30 19:20:28 +00:00
drh
ef9f708e8f
Fix for ticket #28 : Export the "sqlite_changes" function in Windows DLLs. (CVS 547)
...
FossilOrigin-Name: f7cea4634dd53204b4aa8a3630b9c55c40fdc4b3
2002-04-26 09:47:20 +00:00
drh
f7bd5d75db
Update the test logic and the comments on the encoder.c module. (CVS 546)
...
FossilOrigin-Name: 18c28519d973944756694b2c213bfef3153f4b1b
2002-04-25 23:06:47 +00:00
drh
e8a49c12a6
Added the "encode.c" source file that contains two utility subroutines that
...
can be used to encode binary data for use in INSERT and UPDATE statements.
This is just an initial checking. The code has not yet been integrated into
the library. (CVS 545)
FossilOrigin-Name: 57f7c59713299b03b10ba9c1a5883e2c08a8b138
2002-04-25 11:45:41 +00:00
drh
7caf776079
Fix for ticket #26 : Document the fact that CREATE TABLE might not be
...
immediately visible to other processes that are holding the database open. (CVS 544)
FossilOrigin-Name: 18b31b7ab90ab330e271e0ed5d316f63846845be
2002-04-25 00:21:50 +00:00
drh
41202ccae2
Fix for ticket #22 : In the code generator for compound SELECT statements, take
...
care not to generate column name headers if the output is an intermediate table.
Otherwise the column headers are not generated correctly if a compound SELECT
statement appears as an expression in part of the WHERE clause. (CVS 543)
FossilOrigin-Name: a06d9acdd5af0dc69b3a4d024de082631254aead
2002-04-23 17:10:18 +00:00
drh
60ea3720f2
Version 2.4.9 (CVS 542)
...
FossilOrigin-Name: 0691720a4b94141635734ab0a8c4072cab189a33
2002-04-22 00:35:06 +00:00
drh
85b988c803
Update the version number and changes log for 2.4.9 (CVS 541)
...
FossilOrigin-Name: a91da82f8ae2b375bf9f5e064f16d6a5770e20b6
2002-04-22 00:33:23 +00:00
drh
e98d4fafe4
Fix for ticket #21 (I think): Do not return an "out of memory" error if we
...
can not find the users home directory. Instead, just report that we could
not find the home directory. (CVS 540)
FossilOrigin-Name: 8a50c57cc3342de9c6eca6c2567d3aa42b407f10
2002-04-21 19:06:22 +00:00
drh
77155c480a
Version 2.4.8 (CVS 538)
...
FossilOrigin-Name: d703a2c5c4fa3e792e203fd9895b59570b5fdfd1
2002-04-20 14:45:31 +00:00
drh
57809db9c5
Update the change log for the 2.4.8 release. (CVS 539)
...
FossilOrigin-Name: c01bc2d19e8592fe3b1a5202926be649af96c783
2002-04-20 14:44:01 +00:00
drh
0ac6589202
Fix for ticket #1 : Implement the GLOB and LIKE operators as functions that
...
can be overridden. This way, a developer can change the LIKE operator to
be case sensitive, for example. (CVS 537)
FossilOrigin-Name: 51572bf71774d7631c7083be90b806e621bc9bee
2002-04-20 14:24:41 +00:00
drh
67505e78c6
Add support for saving the sqlite shell command-line history across sessions. (CVS 536)
...
FossilOrigin-Name: ca4abf3fe1f0e66802f9f98a20e0c8b82a6459aa
2002-04-19 12:34:06 +00:00
persicom
c8cacb3704
Added rights release for Matthew O. Persico (CVS 535)
...
FossilOrigin-Name: 6c32c07e8218caffebd4503e7d8a90226ac81cdc
2002-04-19 01:00:12 +00:00
drh
dd45df8a5b
Change shell.c so that it will compile under windows. Shorten the help
...
command somewhat. Add the state of ".header" to the output of ".show". (CVS 534)
FossilOrigin-Name: 0582168b8b853559b484f4a024d28c67192160c4
2002-04-18 12:39:03 +00:00
persicom
45698a3a03
Updated to match new shell.c functionality. (CVS 533)
...
FossilOrigin-Name: ff67ad40106a20fb85797cca4c495dc34ad5519b
2002-04-18 02:53:54 +00:00
persicom
1d0b872d43
Mistake in help text. Spurious trailing whitespace removed. (CVS 532)
...
FossilOrigin-Name: 4bdd040e4810565c91bcbb5f065580520c5e3c45
2002-04-18 02:53:04 +00:00
persicom
7e2dfdd726
General:
...
o Added global static chars mainPrompt and continuePrompt.
o Moved Argv0 declaration to head of file. Needed in do_meta_command,
previously found below that.
o Added struct previous_mode_data to support new .explain toggle
functionality.
o Added nullvalue, explainPrev and outfile members to
struct callback_data.
o Added modeDescr array for number/text translation ofdisplay modes.
o Modified zHelp to match new functionality.
callback():
o Added support for .nullvalue
do_meta_command():
o Output filename is now saved to callback struct. If using stdout,
then the string "stdout" is saved.
o Explain is now a toggle. When it is turned on, the current values of
mode, header and colWidth are saved if not already in explain mode.
When turned off, those values are restored.
o Allow .mode plurals columns and lines and dot command plural
.headers.
o Added processing for new keywords .quit, .nullvalue, .show, .prompt.
main():
o Added -init as an option to override .sqliterc.
o Added -nullvalue as a command line option.
o Processes .sqliterc.
main_init():
o Genesis. Moved some initialization code here from inside main() so
that it can be called initially by main and again if -init is
specified.
one_input_line():
o Now takes prompts from settable values.
process_sqliterc():
o Genesis. Read .sqliterc from user's home directory and pass it to
process_input(). File should contain meta commands for setups. (CVS 531)
FossilOrigin-Name: e751338c468cdad79efcc5cd5b924eb2c1eb3c3a
2002-04-18 02:46:52 +00:00
drh
a168045f7d
Fix for ticket #19 : Do not call sqliteOsSync() if the only changes were
...
changes to TEMP tables. (CVS 530)
FossilOrigin-Name: 33da20b9c1a8eef16ad7ab5929bb8937c75090f2
2002-04-18 01:56:57 +00:00
drh
fc6cdfe9dc
When doing a ".dump" command in the command-line shell, make sure VIEWs
...
are created after TABLEs. (CVS 529)
FossilOrigin-Name: 7edd13468e24d79939f0fa1e58f3b686422ca826
2002-04-13 23:42:24 +00:00
drh
6b0e620fda
Version 2.4.7 (CVS 528)
...
FossilOrigin-Name: 977abbaebe5433c66516d0376a1c229e45b5ab1f
2002-04-12 13:12:25 +00:00
drh
adbe353fc6
Add tests to prevent a recurrance of bug #16 . Also: put a hyperlink to the new
...
ticket screen on the main page of the website. (CVS 527)
FossilOrigin-Name: cdab6dad323dd1e95ec8b7684a7c4b06c75905e0
2002-04-12 13:11:52 +00:00
drh
c8d30ac109
Fix for bug #15 : Add the sqlite_changes() API function for retrieving the
...
number of rows that changed in the previous operation. (CVS 526)
FossilOrigin-Name: 6e71493b9dc77d508c3ce90562766789e87e6d80
2002-04-12 10:08:59 +00:00
drh
b04a5d8768
Fix for bug #16 : Check for invalid functions in the VALUES clause of an
...
INSERT statement. (CVS 525)
FossilOrigin-Name: 43a77f019d34e1a6b3f502ad0ec31a00c8fdbe6e
2002-04-12 03:55:15 +00:00
drh
feeb1394ee
Fix for bug #11 : Output the correct row count when and INSERT does an
...
IGNORE action. (CVS 524)
FossilOrigin-Name: bb83642e9a6c1c9ade861618496933c9f922a8f8
2002-04-09 03:28:01 +00:00
drh
fe1a1773a8
Fix for bug #10 : Pop the stack by the right amount on an IGNORE so that the
...
stack does not grow without bound. (CVS 523)
FossilOrigin-Name: f46acfc3b828620e4e97b09f9aff119b9313e5d7
2002-04-09 03:15:06 +00:00
drh
8b32e17d26
Add a -column option to the sqlite command-line utility.
...
Patch from Matthew O. Persico. (CVS 522)
FossilOrigin-Name: 760bf568c882d7b28746b1e004309ef08d2ff4c0
2002-04-08 02:42:57 +00:00
drh
6ed41ad735
Added the last_insert_rowid() SQL function. (CVS 521)
...
FossilOrigin-Name: 6aca3f86bc08849e9d806fdd490f98e4daf71025
2002-04-06 14:10:47 +00:00
drh
bf3a4fa4cb
Make the FROM clause on a SELECT optional. If omitted, the result of
...
the SELECT is a single row consisting of the values in the expression list. (CVS 520)
FossilOrigin-Name: 28ce42f7872e2660faa22e66b508db9b1f046af0
2002-04-06 13:57:42 +00:00
drh
41e941dda6
Add an fflush() call to shell.c to insure that all output has been written
...
before we prompt for a new line of input. (CVS 519)
FossilOrigin-Name: 932274187e045ce331177b1a640ed62da4a22d94
2002-04-04 15:10:12 +00:00
drh
5447322939
Fix for bug #2 : Add support for TABLE.* in SELECT statements. (CVS 518)
...
FossilOrigin-Name: c2320eabfe44d6eb05c02b76547e5bd48a29943c
2002-04-04 02:10:55 +00:00
drh
f238f700c2
Added a hyperlink to the SQLite-PHP project. (CVS 517)
...
FossilOrigin-Name: ffdeec3087e168acaa04a6331e91369e2e0f8345
2002-04-03 20:50:21 +00:00
drh
7b7307fb7c
Version 2.4.6 (CVS 516)
...
FossilOrigin-Name: 5ae7efd87f1a8e2f3e927bf373fbcb5c692d1a02
2002-04-02 13:27:43 +00:00
drh
3f6b548961
Fix for bug #8 : Correctly handle terms of a WHERE clause in a join where the
...
term does not use a comparison operator. (CVS 515)
FossilOrigin-Name: abb12259a09418eb6e3cf573ea718ac58c91ac7b
2002-04-02 13:26:10 +00:00
drh
11f61696bc
Version 2.4.5 (CVS 514)
...
FossilOrigin-Name: b18a7b777cf22249c81b74baafa1a74ad5a1836b
2002-04-02 02:00:02 +00:00
drh
dd579122da
Fix for bug #6 : Correctly handle functions in the WHERE clause of a join. (CVS 513)
...
FossilOrigin-Name: bdd8ce584e16fe288a7e8386f897cb36a60e8431
2002-04-02 01:58:57 +00:00
drh
5efc18b6da
Fix for bug #7 : Correctly display the P3 operand in a VDBE trace when the
...
operand is really a pointer to a structure. (CVS 512)
FossilOrigin-Name: 734dde765b38d61feaa5520e6481c77022367892
2002-04-02 01:44:50 +00:00
drh
29f5befc43
Remove from the index page of the website hyperlinks that are not directly
...
related to SQLite. (CVS 511)
FossilOrigin-Name: 0cb5cfa814bceecea1a346535cac24ec8e2941d7
2002-04-01 12:15:02 +00:00
drh
e1e68f4974
When an attempt is made to insert an explicit NULL into an INTEGER
...
PRIMARY KEY column, automatically convert the NULL value into a unique
integer key. This was already happening when an implied NULL was
inserted - when the INTEGER PRIMARY KEY column was omitted from the
list of columns being inserted. Patches from Christian Werner. (CVS 510)
FossilOrigin-Name: 9e3cf4aa2cb44932015b8bd3fd800d7678cb09b6
2002-03-31 18:29:03 +00:00
drh
035bd01d6a
Version 2.4.4 (CVS 509)
...
FossilOrigin-Name: c4b6c0be00b9688a432bbd23736564a042f5d8ee
2002-03-30 15:32:08 +00:00
drh
132ebed2bf
Update the change log to include the previous commit. (CVS 508)
...
FossilOrigin-Name: 81c4b749614cb0ca50bc52a3d4aac189af0222cd
2002-03-30 15:27:56 +00:00
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