drh
3e7a609667
Save the full pathname of the database file so that journalling still works
...
even if the user changes working directories after opening the databae.
Ticket #200 . (CVS 798)
FossilOrigin-Name: 1c58b4fc032c5975dcce9b8ae844c0e516254a17
2002-12-07 21:45:14 +00:00
drh
1a844c380b
Fix a bug in the reverse scan logic that comes up when the table being
...
scanned is empty. Add additional tests for the reverse scan. (CVS 797)
FossilOrigin-Name: 0051c87d5e8d07fae09da2eb7b0d8cbd1bbd3c8e
2002-12-04 22:29:28 +00:00
drh
dd4852c3d1
Fixes to the logic that decides if the ORDER BY can be ignored due to the
...
use of an index. Tests updated. (CVS 796)
FossilOrigin-Name: bfb9a2aa939ecffc5dc2c7c23bddd57d357bdf13
2002-12-04 21:50:16 +00:00
drh
2dcc9aa2a8
Add the sqliteBtreePrevious() routine to the BTree module API. This is
...
in anticipation of implementing reverse order searching of a table. (CVS 794)
FossilOrigin-Name: 0ad1d93879bee0d34b122591c025192a51b8490f
2002-12-04 13:40:25 +00:00
drh
c66c5a266b
Allow an aggregate function in the HAVING clause even if no aggregates appear
...
in the result set. Ticket #187 . (CVS 793)
FossilOrigin-Name: 33c6fd6b3dc271fa1f2d4500b4f76c736accefce
2002-12-03 02:34:49 +00:00
drh
174b619591
Honor ORDER BY clauses in VIEWs. Ticket #193 . (CVS 792)
...
FossilOrigin-Name: dbf7893234a6c5d6bb2d931e52080bb05784c0c9
2002-12-03 02:22:52 +00:00
drh
d0d006e29c
Fixed large file support under Linux. I'm unable to test under Windows.
...
Ticket #191 . (CVS 790)
FossilOrigin-Name: 9864a1265b5a37c12b0dd8446d81b84c5a3acc43
2002-12-01 02:00:57 +00:00
drh
647cb0e159
Add the sqlite_version() SQL function as a built-in. (CVS 777)
...
FossilOrigin-Name: 7c8c0e7633dca00bde7bc7c22075f688c034c200
2002-11-04 19:32:25 +00:00
drh
38dd0b4ff0
In the VDBE, check to make sure a set has been initialized before using it.
...
Ticket #185 . (CVS 772)
FossilOrigin-Name: 8c4cbdd05517e91879a0f2c4559d0f0518d2385b
2002-10-30 22:42:58 +00:00
drh
1f16230b5c
Minimal support for oracle8 outer join syntax. (CVS 771)
...
FossilOrigin-Name: 31df3690d0fe4bd4a293cbe8ca9a26c98c3ed3ce
2002-10-27 19:35:33 +00:00
drh
6977fea801
Correctly handle column names and string constants in parentheses.
...
Fix for ticket #179 . (CVS 770)
FossilOrigin-Name: 3b68aa25c451b7c09ece457ac2b70a9a5d93508a
2002-10-22 23:38:04 +00:00
drh
c8f8b632c3
Fix a bug in the left outer join logic. (CVS 758)
...
FossilOrigin-Name: 6c0f44bd6374010f7a4a091e585eb36e0665f96f
2002-09-30 12:36:26 +00:00
drh
3e56c04c4e
Fix a bug in the OP_MemStore operator of the VDBE. A realloc() might
...
occur but pointer to the old buffer were not being moved over to
the new buffer. (CVS 752)
FossilOrigin-Name: 29145746f34438bd830c763872c5e82572150357
2002-09-17 03:20:46 +00:00
drh
cabb081971
Do not put a write lock on the main database file when writing to a temporary
...
table. (CVS 750)
FossilOrigin-Name: 3f253afe15d4f7392555f340a41d780d1248087f
2002-09-14 13:47:32 +00:00
drh
41a3bd0a01
Rename all tests so that the first part of the test name corresponds to the
...
file that contains that test. This makes it much easier to find a particular
test after it fail. (CVS 749)
FossilOrigin-Name: 6cb80ae10af60863cc25c22a6442ba1d43b7409c
2002-09-14 12:04:56 +00:00
drh
ac82fcf5f0
Fix for ticket #147 : Honor the ORDER BY and LIMIT clauses in a SELECT even
...
if the destination of that SELECT is a subroutine call. (CVS 747)
FossilOrigin-Name: 23fe36c7e88282f6d1b7547ab892ea88f0e65262
2002-09-08 17:23:41 +00:00
drh
0e1cfb8574
Detect when the test scripts are being run as root and issue an appropriate
...
error message. (CVS 740)
FossilOrigin-Name: 9ca2c507704f85446d873d5e8429554f2ad4df9e
2002-09-02 12:14:50 +00:00
drh
c2eef3b32b
Parse foreign key constraints and populate internal data structures
...
appropriately. Constraints are still not enforced. (CVS 738)
FossilOrigin-Name: 170711ca65dc894d0486b9d575edb8f1708250fb
2002-08-31 18:53:06 +00:00
drh
df01cdf9b0
Initial checking of two new test files: format3.test and memleak.test. (CVS 735)
...
FossilOrigin-Name: 6ffedb90a6478af6548db5298368eeca2b708cdc
2002-08-31 16:52:44 +00:00
drh
1e0ccab9f0
If the database is locked when sqlite_open() is called, sqlite_exec() should
...
still honor the busy callback and should return an error message together
with the SQLITE_BUSY result code. (CVS 733)
FossilOrigin-Name: 78a0229a7e5e33fe642847381f5514e6ec30f29f
2002-08-29 23:59:47 +00:00
drh
da30d3696b
Fix for ticket #142 : Make sure we get the correct sort order even when the
...
columns being sorted contain NULLs. (CVS 730)
FossilOrigin-Name: 45847390d007718a4b7a4e9fa445136d013113f8
2002-08-26 19:55:07 +00:00
drh
8c74a8ca5b
Fix for ticket #136 : Added the OP_RenameCursor VDBE instruction and used it
...
to make cursor numbers right on nested subqueries. Also added OP_Gosub and
OP_Return but have not actually used them for anything yet. (CVS 727)
FossilOrigin-Name: c602603e7cd8dc5c8bb9db2748eacab650de5bf0
2002-08-25 19:20:40 +00:00
drh
d94a669894
Fix the memory leak introduced by check-in (725). (CVS 726)
...
FossilOrigin-Name: b957dafc26383af514795df18bc7b8f367c9bd21
2002-08-25 18:29:11 +00:00
drh
4b59ab5e64
Change the way token memory is allocated in an effort to fix ticket #136 .
...
There is now a memory leak when using views of views. (CVS 725)
FossilOrigin-Name: 22d8726e61eec0e53893f492cb2163824b87a23e
2002-08-24 18:24:51 +00:00
drh
f04d5081a7
This COLLATE keyword was not being parsed correctly inside CREATE TABLE
...
statements - it was being included as part of the datatype. This fixes
the problem. (CVS 722)
FossilOrigin-Name: 39bd52d33029233d4b22df08975e9ef3c74c260f
2002-08-18 22:41:22 +00:00
drh
6b8b8749d4
Fix for ticket #110 : return an error if trying to start a transaction within a
...
transaction or when attempting to commit or rollback outside of a transaction. (CVS 721)
FossilOrigin-Name: df51cb166bf7c5b8b0530cc86df8d2d68de81a40
2002-08-18 20:28:06 +00:00
drh
310ae7be1e
Additional test cases and documentation updates. (CVS 717)
...
FossilOrigin-Name: 048b16c111693727482642e2a19a74a91458fc80
2002-08-15 11:48:13 +00:00
drh
3d037a91a5
Fixes and test improvements resulting from code coverage testing. (CVS 716)
...
FossilOrigin-Name: 66a0f6a8e25e3eeed78eba4b63b097f921c79d99
2002-08-15 01:26:09 +00:00
drh
d1efac52d5
Implement probabilistic reader/writer locks under windows so that windows
...
can have multiple simultaneous readers. (CVS 714)
FossilOrigin-Name: 2127de3f03537ef2f18120e773f7603e0984ff81
2002-08-14 12:56:54 +00:00
drh
c330af1dca
Disable sorting by indices if there is a COLLATE subclause in the
...
ORDER BY clause. (CVS 713)
FossilOrigin-Name: 2438da791afb53b4f1c7a9ff9705d393c86f3cbd
2002-08-14 03:03:57 +00:00
drh
a9e99aee95
Make the distinction between text and numeric data. (CVS 710)
...
FossilOrigin-Name: 310ac4fbaf0ed63f98bfacb55259960be03b0c8b
2002-08-13 23:02:57 +00:00
drh
74587e5567
Updates prior to release 2.6.3. (CVS 706)
...
FossilOrigin-Name: 34c4149eea7a48927e36867f4e25ff7fac40c66e
2002-08-13 00:01:16 +00:00
drh
94f3331a0b
Fix for ticket #9 (again). The rollback journal files should now also be
...
byte-order independent. (CVS 705)
FossilOrigin-Name: 2fb3fdcdf06c1206bf14da640c2f9e599455f0eb
2002-08-12 12:29:56 +00:00
drh
0d316a40cc
Fix for ticket #9 : Add the ability to read little-endian database files
...
from a big-endian machine and vice versa. (CVS 704)
FossilOrigin-Name: ce4b943bf68c160445a58ffccfbabbbd30d9829b
2002-08-11 20:10:47 +00:00
drh
68d2e5918a
Fix for ticket #131 : When a SELECT contains a GROUP BY clause it cannot
...
use an index for sorting. It has to sort as a separate operation after
the GROUP BY is complete. (CVS 702)
FossilOrigin-Name: 18745c67acdf7ebec378f5538174117970e9f5cc
2002-08-04 00:52:38 +00:00
drh
f1351b6759
Fix for ticket #124 : Fix a stack VDBE overflow problem on joins on an
...
INTEGER PRIMARY KEY. (CVS 700)
FossilOrigin-Name: fe329e078fa209faf62e08599a00c7efa75b8501
2002-07-31 19:50:26 +00:00
drh
f573c99ba7
Fix for ticket #104 : Make triggers on views work properly even after closing
...
and reopening the database. Also fixed an unrelated bug in the version
2.6.0 database format upgrade logic. The upgrade logic bug was found while
testing the trigger fixes. (CVS 697)
FossilOrigin-Name: 04973fc2a6a0c93877de7e564618e0e9fcffc06c
2002-07-31 00:32:50 +00:00
drh
92ed08a9d7
Fix for ticket #114 : Correctly handle SQLITE_BUSY if it occurs during
...
database initialization. (CVS 696)
FossilOrigin-Name: 5b814b5df667ccc91d85fbb7f96e523483e9219b
2002-07-30 18:43:40 +00:00
drh
62160e798c
Fix for ticket #71 : Correctly handle CR and CRLF line terminators in the
...
input files for the COPY command. (CVS 694)
FossilOrigin-Name: be1315755ef801b5ec07f469134e0d33a3ece990
2002-07-30 17:20:40 +00:00
danielk1977
368c7f6df1
UPDATE triggers on TEMP tables were broken. (CVS 693)
...
FossilOrigin-Name: c080ed01ea51628b86050762f097e702e3aeafdf
2002-07-21 23:09:55 +00:00
drh
26b3e1bc06
Fix an assertion failure that occurs when attempting to delete all rows of
...
a table while the "count_changes" pragma is turned on. Up the version number
to 2.6.1. (CVS 690)
FossilOrigin-Name: 612df004017b241651074ee859096dd0ee5062b8
2002-07-19 18:52:40 +00:00
drh
c231172f3f
Better detection and reporting of errors when initializing from the
...
sqlite_master table. (CVS 688)
FossilOrigin-Name: c8a7b725b7cec792d2148455a4cecbce9dfebe80
2002-07-19 17:46:38 +00:00
drh
3c2c354e0e
Update documentation prior to the release of 2.6.0. (CVS 683)
...
FossilOrigin-Name: f2d9191381e956900a14bd80e50678b9d49e19e5
2002-07-18 02:07:07 +00:00
drh
8e5ba84643
Make the automatic database upgrade work even if there are triggers. Add
...
tests for automatic upgrade and for failing if reading a more advanced version
of the database. Ticket #107 . (CVS 682)
FossilOrigin-Name: 0493e39c1cbbe4a38e990a2370181a79606af222
2002-07-18 01:27:17 +00:00
drh
491791a827
Fix for ticket #107 : Fix a design defect in indices that was causing queries
...
to fail when using an index on a column containing an empty string. This
fix is an incompatible file-format change. (CVS 681)
FossilOrigin-Name: 20d152fcddb4fa53556a9c93c7a869600a7c5183
2002-07-18 00:34:09 +00:00
drh
53e3fc70bf
Fix for ticket #105 : Fix the UPDATE command so that it works properly with
...
indexed tables when there is a subquery in the WHERE clause. Add tests
to verify correct operation. (CVS 680)
FossilOrigin-Name: bbca16f88d00cd33ac7229edf3ee4623eff6e62f
2002-07-16 17:22:50 +00:00
drh
0c36cbe0c2
Fix for ticket #100 : Correctly handle ON and USING clauses of JOINs within
...
a VIEW. (CVS 679)
FossilOrigin-Name: 93710f7ed7e1baa6acbf4bc32982e046f61ffa44
2002-07-16 02:05:43 +00:00
drh
ad16844f35
Fix for ticket #102 : Honor the ORDER BY clause in subqueries. (CVS 677)
...
FossilOrigin-Name: 7e918c8b0df5120e3630811f164defb8c9fedd6d
2002-07-15 18:55:24 +00:00
drh
485b39b401
Fix for ticket #95 : Do not allow automatically created indices (associated
...
with UNIQUE or PRIMARY KEY constraints) to be dropped. (CVS 671)
FossilOrigin-Name: 0603eb74e6aca48f62bd95cb6c236b9e559af850
2002-07-13 03:11:52 +00:00
drh
193a6b4142
More rollback problems: Fix two more errors introduced by checking (410) that
...
can cause database corruption after a ROLLBACK. Also add new tests to make
sure everything is working this time. (CVS 663)
FossilOrigin-Name: f6e24d5ccbcfcf5863ffbd65860dafa2f5663e99
2002-07-07 16:52:46 +00:00