drh
dcd997ea2e
The sqlite_exec() function now returns SQLITE_AUTH when authorization fails.
...
Ticket #231 . (CVS 857)
FossilOrigin-Name: d93c1aeb544a5b1056424945eb43854213b30e50
2003-01-31 17:21:49 +00:00
drh
88eee38afd
Allow double-quoted strings as string constants in the IN operator. As a
...
side-efffect, allow the GROUP BY clause to refer to columns by their integer
column number. Ticket #237 . (CVS 856)
FossilOrigin-Name: 187d9c405891e543fc706f8ddb41f3966a842214
2003-01-31 17:16:36 +00:00
drh
3a84069da3
Additional testing and bug fixing with the non-callback API. Updated the
...
C/C++ interface document to describe the non-callback API. (CVS 855)
FossilOrigin-Name: af1e9299468aa70d7d91e7a5445ba391ccc8ff8b
2003-01-29 22:58:26 +00:00
drh
483750ba8a
Better error messages on constraint violations. Additional tests and bug fixes
...
for the callback-free API. (CVS 854)
FossilOrigin-Name: ccc82f1ab4539a60ee5cc2625743c5389f9ccd8e
2003-01-29 18:46:51 +00:00
drh
326dce7451
The callback-free API is now working, though much more testing is need. (CVS 853)
...
FossilOrigin-Name: 162b259188e6967fe9c3722da26b81aab5655d83
2003-01-29 14:06:07 +00:00
drh
b86ccfb26e
First code for the new callback-free API. All regression tests pass but the
...
new API is mostly untested and is unlikely to work. (CVS 852)
FossilOrigin-Name: 065fa818ffc8d7562889172acea16e4e44e773ef
2003-01-28 23:13:10 +00:00
drh
fcb78a4900
Fix datatype reporting and collating sequence selection so that it works
...
correctly on views and with the UNION, EXCEPT, and INTERCEPT operators. (CVS 839)
FossilOrigin-Name: 71cc292dce59cf8224b205d1cdbff59ad12f1043
2003-01-18 20:11:05 +00:00
drh
db48ee02c4
Improvements to the pager to help large updates against a large database run
...
faster. Also improved the testing of the pager rollback algorithms. (CVS 835)
FossilOrigin-Name: 717523d3750dce784fa767ed9a8267d1246798ef
2003-01-16 13:42:43 +00:00
drh
2c3831cb23
Finish out the test suite for the new sqlite_set_authorizer API. (CVS 834)
...
FossilOrigin-Name: 701a73918db22fd134a8b959670ba7a4a908c8c5
2003-01-14 13:48:20 +00:00
drh
77ad4e4133
More tests of the sqlite_set_authorizer() API together with fixes for bugs
...
that the new tests uncovered. (CVS 832)
FossilOrigin-Name: cc2ae781ac186f9ee1afacdc9117087421955369
2003-01-14 02:49:27 +00:00
drh
7160220495
Make the GLOB work write with upper-case characters. Ticket #226 . (CVS 831)
...
FossilOrigin-Name: 7ea46e706485cc159f9d1c7e69efcdd048a0bb12
2003-01-14 00:44:08 +00:00
drh
e5f9c6442f
Revise the sqlite_set_authorizer API to provide more detailed information
...
about the SQL statement being authorized. Only partially tested so far. (CVS 830)
FossilOrigin-Name: 45de93f913a18026a45de6254963dbcd1b0f1a19
2003-01-13 23:27:31 +00:00
drh
1962bda764
The initial round of tests for the sqlite_set_authorizer() API. More are
...
needed before release. Ticket #215 . (CVS 829)
FossilOrigin-Name: 5707b3d56efb6e988f816abefb1836f2f3254117
2003-01-12 19:33:52 +00:00
drh
5a38705ecb
Document the SHOW_DATATYPES pragma and add tests for it to the test suite.
...
Make sure datatypes are show even for aliased columns.
Tickets #220 and #221 . (CVS 822)
FossilOrigin-Name: e84d3afe7b9153d003fdcca98221f446c004ffa2
2003-01-11 14:19:51 +00:00
drh
428ae8cb41
Optimizations to the BTree module for a modest speed improvement. (CVS 810)
...
FossilOrigin-Name: 39902a70417475225956704a037493515e9b08b9
2003-01-04 16:48:09 +00:00
drh
f33cb428e5
Make sure the host machine has enough disk space before running the
...
large file tests. (CVS 800)
FossilOrigin-Name: b1ec547865a76541951433630bd4528d1988a4de
2002-12-17 14:13:48 +00:00
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