danielk1977
b9fdb2c2f7
Add test cases for errors in "IN(SELECT ...)" expressions where the SELECT statement is a compound SELECT. No faults found. (CVS 4626)
...
FossilOrigin-Name: 49b67adfe9f15dfac34cb30f965920bf61bceee7
2007-12-13 18:24:21 +00:00
drh
c9a67a8c0f
Add new makefile target for "testcli" that builds a CLI using individual
...
source files instead of the amalgamation. Ticket #2838 . (CVS 4625)
FossilOrigin-Name: b6f04e5b93bb65287bfb697f2f059dd34c13102a
2007-12-13 18:20:46 +00:00
drh
43f6e06460
Additional test cases for tkt2822. Fix a related bug in printf(). (CVS 4624)
...
FossilOrigin-Name: 8f184e40ff79c3c5ef98337615f58a4a6d0249dd
2007-12-13 17:50:22 +00:00
danielk1977
61116ae1ca
Return an error if the user attempts to rename a view. Related to (but not a fix for) #2831 . (CVS 4623)
...
FossilOrigin-Name: 19d56d997f50be81ac2baace16b7e7a1b674301a
2007-12-13 08:15:30 +00:00
danielk1977
01874bfc51
Adjust the test suite to account for recent changes related to #2822 . Most changes are related to English language error messages only. (CVS 4622)
...
FossilOrigin-Name: 2f88b9b3e3c9abc3ae4a5dcef82707dd74f8aace
2007-12-13 07:58:50 +00:00
drh
1e281291fb
ORDER BY in a compound SELECT will first match against the left-most SELECT.
...
If there is no match there, it begins working its way to the right. (CVS 4621)
FossilOrigin-Name: 56063ec84b130bcdb0e90bc76fabca394d0d867f
2007-12-13 03:45:07 +00:00
drh
9a99334d54
Towards getting ORDER BY to match against the correctin columns.
...
This version only looks at the left-most column in a compound SELECT.
That is the correct thing to do, but not what SQLite has historically done. (CVS 4620)
FossilOrigin-Name: bbddf16ac9539c7d48adfc73c5a90eecb8df6865
2007-12-13 02:45:31 +00:00
drh
9019f4a65f
Minor cleanup changes on the OP_StackDepth opcode. Added the
...
sidedelete test for additional testing of ticket #2832 . (CVS 4619)
FossilOrigin-Name: c0689409320de1532be0c0cae12b4b716f6bffb9
2007-12-12 22:24:12 +00:00
danielk1977
c32a93fe95
Remove an (explain) accidentally left in tkt2832.test. (CVS 4618)
...
FossilOrigin-Name: 48947e2b75d39c5be0d08fe1c7b888d9065f9116
2007-12-12 18:05:20 +00:00
danielk1977
997a904016
Try to find some more stack leaks by adding OP_StackDepth to loops in DML statements. None were found. (CVS 4617)
...
FossilOrigin-Name: 12c3029b1edcff4435177c709fb2584323f8c515
2007-12-12 17:42:53 +00:00
danielk1977
6811e399ff
Remove a couple of lines in delete.c that weren't doing anything. (CVS 4616)
...
FossilOrigin-Name: 86332c79aedb64842e589ff941c637f8e1aabd41
2007-12-12 17:19:27 +00:00
danielk1977
967573d56a
Fix some problems similar to #2832 , but caused by triggers instead of an OR REPLACE clause. (CVS 4615)
...
FossilOrigin-Name: ee98ae17187296f7b0181c3d4d2b942d5cd4bc8f
2007-12-12 16:06:23 +00:00
danielk1977
2d78617d66
Test file containing minimal example of bug #2832 . (CVS 4614)
...
FossilOrigin-Name: ed2e61a9fab6a9a102031c10bc6f89e78b4c7447
2007-12-12 14:46:58 +00:00
drh
89e0dde1c9
Fix database corrupting code generation error for UPDATE OR REPLACE.
...
ticket #2832 . Still need to add test cases and additional defensive
logic to avoid future occurrences of similar problems. (CVS 4613)
FossilOrigin-Name: 18e10f816782ca7842f651e9b2a23da1aab645c8
2007-12-12 12:25:21 +00:00
drh
a99e881176
Add a new OP_StackDepth opcode to help detect VDBE stack leaks early,
...
before they cause damage. For diagnostics in ticket #2832 . (CVS 4612)
FossilOrigin-Name: 3fd6a267533cedcca9b8ba3533c107d7341a06c6
2007-12-12 12:00:45 +00:00
danielk1977
ae271d6a38
Fix test numbering in tkt2822.test. Ticket #2830 . (CVS 4611)
...
FossilOrigin-Name: 8fe8e9c460e0f8ebc4267de96b0c971cb6370861
2007-12-12 04:38:26 +00:00
drh
6e41aa0be0
Fix a comment on the SQLITE_SQL_MAX_LENGTH definition. (CVS 4610)
...
FossilOrigin-Name: 9335c940504f5979066b70ec445b57acfb251713
2007-12-11 20:04:14 +00:00
drh
d919fe17e0
Build the CLI using the amalgamation. Relax the limit on SQL statement
...
length when building the CLI. (CVS 4609)
FossilOrigin-Name: a5d81cd371913dff4b1337a9586645f967371ab9
2007-12-11 19:34:44 +00:00
danielk1977
bc67da48af
Fix a 'const' issue in trimFunc(). (CVS 4608)
...
FossilOrigin-Name: 64787d78b99a549a87bc2baeff8ae87691612b77
2007-12-11 04:23:19 +00:00
drh
64c1ea60cd
Make sure the windows driver responds correctly to the
...
SQLITE_OPEN_DELETEONCLOSE flag. Ticket #2829 . (CVS 4607)
FossilOrigin-Name: 19db91fd683c465b8c8a862143a01178682da445
2007-12-10 21:11:31 +00:00
danielk1977
70517ab9a1
Further modifications to do with ORDER BY and compound SELECT queries. Related to ticket #2822 . (CVS 4606)
...
FossilOrigin-Name: 0d9b0e6e3a8f8a66956878084085842e94c3cb2f
2007-12-10 18:51:47 +00:00
drh
6ed4b78123
Fix a macro in func.c that causes problems for the amalgamation. (CVS 4605)
...
FossilOrigin-Name: 6adbe91efffc6b3f53dae87494430ede61d40ecc
2007-12-10 18:07:20 +00:00
drh
ea4ee79046
Fix a bug in the compilation procedures for the Linux shared library
...
that includes the TCL bindings. (CVS 4604)
FossilOrigin-Name: d384810a95c97b868a87d090f8dcb903cc82cbf7
2007-12-10 17:55:16 +00:00
danielk1977
284f4aca32
Fix compilation/testing with OMIT_SUBQUERY defined. Ticket #2828 . (CVS 4603)
...
FossilOrigin-Name: 0b34a18651764e650faba983be8593992ab2f4a9
2007-12-10 05:03:46 +00:00
drh
4c77431448
Better resolution of ORDER BY terms in compound queries. Candidate
...
solution for ticket #2822 . Needs more testing and documentation
before going final. (CVS 4602)
FossilOrigin-Name: 62a78d212c53a9cb1759d03134653a75f3a086b6
2007-12-08 21:10:20 +00:00
drh
9213d9e5fb
Strengthen the tests for aggregate functions in GROUP BY clauses.
...
Changes to test cases only. No changes to code. (CVS 4601)
FossilOrigin-Name: 4be8e6765bf8bc48747b2542f2ed77066fb9dcb9
2007-12-08 18:01:30 +00:00
drh
bed8e7e565
Fix a bug in the debugging printf logic. (CVS 4600)
...
FossilOrigin-Name: 1d6a9f5fafb862fb31c8589fa118a5672bad6abd
2007-12-08 17:55:35 +00:00
shess
b6a75606ed
Change prefix search from O(N*M) to O(NlogM). The previous code
...
linearly merged the doclists, so as the accumulated list got large,
things got slow (the M term, a fucntion of the number of documents in
the index). This change does pairwise merges until a single doclist
remains. A test search of 't*' against a database of RFC text
improves from 1m16s to 4.75s. (CVS 4599)
FossilOrigin-Name: feef1b15d645d638b4a05742f214b0445fa7e176
2007-12-07 23:47:53 +00:00
drh
e5fe690d75
In shared-cache mode, make sure the busy hander invoked is the
...
busy handler associated with the database connection that caused
the lock contention in the first place. (CVS 4598)
FossilOrigin-Name: c9eb65912f61ce0a6b66fe253652a1827e46b12a
2007-12-07 18:55:28 +00:00
drh
b9175aed38
Get the LIKE and GLOB operators working again on systems using the
...
EBCDIC character set. (CVS 4597)
FossilOrigin-Name: 754298a74e3d889f3767daba058262613d20a601
2007-12-07 18:39:04 +00:00
drh
464fc33a82
Fix a leaking database connection in the vacuum2 test script.
...
Ticket #2827 . (CVS 4596)
FossilOrigin-Name: f29deb5f0bfcd6d00795aeb66dece717a6c1768a
2007-12-06 17:41:27 +00:00
drh
3c7f2dc4ca
Use the specified buffer length, not the maximum buffer length in
...
unixFullPathname() and related functions. (CVS 4595)
FossilOrigin-Name: f015a38771d98996366d66787b9b066f9ef5e248
2007-12-06 13:26:20 +00:00
drh
f5befa0339
Continuing work on the C/C++ interface requirements that appears as
...
comments in sqlite.h.in. (CVS 4594)
FossilOrigin-Name: 2130e7125187ca46df3f65237f933b0e568a36ed
2007-12-06 02:42:07 +00:00
drh
fddfa2d863
Begin adding requirements numbers to the C/C++ interface documentation. (CVS 4593)
...
FossilOrigin-Name: ae1936aadf00bec91750d41be7507cf1b81fc411
2007-12-05 18:05:16 +00:00
drh
ddac25c732
Add the ability to change the autovacuum status of an existing database
...
by setting the auto_vacuum pragma then running the VACUUM command. (CVS 4592)
FossilOrigin-Name: bdfc19e838b369a8c5d5d23663fad690f55ba3d7
2007-12-05 01:38:23 +00:00
drh
77658e2f0d
Make sure statement journals are initiated when doing DROP operations
...
(since the DROP might fail after sqlite_master changes). Also make
sure statement journals are initiated if there are pending SELECT
statements. Ticket #2820 . (CVS 4591)
FossilOrigin-Name: bf34284ff0c60ae6e735e09bb29cd48b158e8dce
2007-12-04 16:54:52 +00:00
drh
0349688fbc
Fix a bug in the TCL code for sqlite3_analyzer. (CVS 4590)
...
FossilOrigin-Name: 7c2cf4542852a81daf29a930ab103c52bb678326
2007-12-04 13:41:51 +00:00
drh
2dd62be503
Clarify the operation of sqlite3_blob_close() in the API documentation.
...
Ticket #2815 . (CVS 4589)
FossilOrigin-Name: 78f359dffa6f4af4d5b7e4523f451e0e405350c0
2007-12-04 13:22:43 +00:00
drh
275ac343df
Do not require os_other.h if compiling with -DOS_OTHER=1. (CVS 4588)
...
FossilOrigin-Name: 96ec39031e0b0b9a69e7b5647580326a87f94d2e
2007-12-03 21:52:09 +00:00
danielk1977
fe91033907
When parsing CREATE INDEX statements from the sqlite_master table, do not search the temp database schema for the corresponding table. Only consider the database for which the schema is being parsed. Ticket #2817 . (CVS 4587)
...
FossilOrigin-Name: e6f02aa5ae6da0befdf98fdd5884345f3cb7f5ea
2007-12-02 11:46:34 +00:00
drh
0c1cddbe86
Another fix to Makefile.in for mingw. (CVS 4586)
...
FossilOrigin-Name: cfaeb02554ab86fffbfb8eb2a78c7d8a59a9cba5
2007-12-01 19:25:17 +00:00
drh
4dd022aba8
Beginning attempts at casting the sqlite.h.in documentation into
...
formal requirements. (CVS 4585)
FossilOrigin-Name: 2ea78d2cbd86edda6f998fbb364800d3ecf76479
2007-12-01 19:23:19 +00:00
drh
afbd06bb93
Bug fix to Makefile.in to allow it to work with mingw. (CVS 4584)
...
FossilOrigin-Name: fdca98d1eb44c05ffb3c42acb9f87f57460c4cc8
2007-12-01 09:32:53 +00:00
drh
5fc102eac1
Add a few function requirements numbers to interfaces in the comments
...
of sqlite3.h.in. This is experimental. (CVS 4583)
FossilOrigin-Name: b829a64515e88e83aecd339342bad3b140c86bb0
2007-11-30 01:06:16 +00:00
drh
7fe3f7e918
Make sure we never try to "truncate" a file to a larger size. (CVS 4582)
...
FossilOrigin-Name: 7d2f6a1d6c5ab89a3b65fbcaf172abf6d81e206b
2007-11-29 18:44:27 +00:00
drh
ace03d1b3a
Add the optional (and experimental) mmap() memory allocator in the
...
mem4.c module. (CVS 4581)
FossilOrigin-Name: cfd683ac80fd043343e0f0af90805058daa3818d
2007-11-29 18:36:49 +00:00
danielk1977
21de2e755c
When using an index to scan a database table, read column data from the index in preference to the table. This increases the likelihood that the table will not be required at all. (CVS 4580)
...
FossilOrigin-Name: 061608c72ac0a96eacf3b64d638235e4739f96ba
2007-11-29 17:43:27 +00:00
danielk1977
9a96b66810
Optimisations for expressions of the form "<value> IN (SELECT <column> FROM <table>)". (CVS 4579)
...
FossilOrigin-Name: 56d0e32677744df8570b519fae1c04da4ea4984d
2007-11-29 17:05:18 +00:00
drh
ade8648301
Add the {quote: StrAccum} object
...
for accumulating strings. Revamp xprintf to use
the new object. Rewrite the group_concat() function to use the new object.
Productize and test the group_concat() function. (CVS 4578)
FossilOrigin-Name: 221aee72be040769e8026b91648f03c6366a8821
2007-11-28 22:36:40 +00:00
drh
26b7994a97
Change the BTree so that it uses the Pagers temporary page space when
...
reorganizing the rows on a page, rather than mallocing for space of
its own. In this way, we avoid having to deal with a malloc failure
deep down inside the page reorganizer. Ticket #2806 (CVS 4577)
FossilOrigin-Name: 98960132dc082da61652201f4bd2b559725350c0
2007-11-28 16:19:56 +00:00