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