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
d2df27e41d
Version 2.7.0 (CVS 729)
...
FossilOrigin-Name: 9e341d9c934c2111be6834743f1ce30463b095b6
2002-08-25 20:58:11 +00:00
drh
305f99a0fb
Documentation updates prior to the releae of 2.7.0. (CVS 728)
...
FossilOrigin-Name: e2d95f85a3c4beeb5f8e78498f52fc00475f38ed
2002-08-25 20:11:18 +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
jadams
79983d03e8
Fix for ticket #138 : Makefile doesn't use exec_prefix, has some install problems (CVS 724)
...
FossilOrigin-Name: 97fc4a71a12b52cda67b5192c3bd7bd10ac0c7a6
2002-08-22 18:18:35 +00:00
drh
bd842babb5
Fix for ticket #137 : Use getpwuid() instead of getpwent(). (CVS 723)
...
FossilOrigin-Name: ea011990c552a7a6019b63f9b4341ad6c8663479
2002-08-21 11:26:41 +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
d8acdb3c36
Documentation updates. (CVS 720)
...
FossilOrigin-Name: e372a60be8de3332ab6e45d82f21227b8b9acf82
2002-08-18 19:09:22 +00:00
drh
cb48588297
Fix for ticket #135 : Remove unused variables from three files. (CVS 719)
...
FossilOrigin-Name: 8cf17f2a24ee9bd5d1ea66484922819626c412dd
2002-08-15 13:50:48 +00:00
drh
c277413089
More documentation updates. (CVS 718)
...
FossilOrigin-Name: 9c0400aa7a0244605828fa6450ea1cc723240b16
2002-08-15 13:45:17 +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
b27b83a941
Fix for ticket #134 : Change the lemon.c sources to work around a problem with
...
the AIX C compiler. (CVS 715)
FossilOrigin-Name: 07f6020bb56d6d1bffdd936017f61cfae5bd134b
2002-08-14 23:18:57 +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
0c44e2edf3
Fix for ticket #132 : make the working directory the last choice for where
...
to write temporary files, not the first choice. (CVS 712)
FossilOrigin-Name: 26a4e7e7a3eee62c170ce264cb964a92bc7f52c9
2002-08-14 00:10:44 +00:00
drh
fbe4375cae
Update documentation to better explain the typelessness of SQLite and to
...
describe the distinction between text and numeric data. (CVS 711)
FossilOrigin-Name: 4ff0f578eca4a8672cf570923e6c015c3ba6b9f4
2002-08-14 00:08:12 +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
76800328b2
Documentation and makefile updates. (CVS 709)
...
FossilOrigin-Name: 92c403f485390bbd83a5be472e61c974f76d46b1
2002-08-13 20:45:39 +00:00
drh
72ca3794ab
Bug fix to the left outer join logic. (CVS 708)
...
FossilOrigin-Name: f9d3d4c1230a7f1176b2002d72e94857e251c04e
2002-08-13 13:15:51 +00:00
drh
7f09b3e36b
Bug fix to the left outer join logic. (CVS 1726)
...
FossilOrigin-Name: 957d908e6b84cd599b5cfd82af80c8fac79c1dbd
2002-08-13 13:15:49 +00:00
drh
f8b593e964
Version 2.6.3 (CVS 707)
...
FossilOrigin-Name: ba706aca0af9ed1ecb64edd4ab327bd5a5a32044
2002-08-13 00:02:10 +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
6e397e447e
Fix typos the source to webpages html files. (CVS 703)
...
FossilOrigin-Name: 61bb3af7405aa7b54f3e5519537ea483879eed39
2002-08-06 12:04:59 +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
e0e5ef1471
Remove the restriction that a transaction cannot be started by one linuxthread
...
and continued by another. Leave in the documentation the warning about not
carrying a database connection across fork() but do not test for it any more.
Ticket #130 . (CVS 701)
FossilOrigin-Name: bdbdb866f2e76abd1f8f545adadc9a900ed0cd1a
2002-08-02 10:36:09 +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
4eb9c6b9fd
Version 2.6.2 (CVS 699)
...
FossilOrigin-Name: 223a2150ac1fa34d4bd01dd32b5fed9e90aa38d4
2002-07-31 00:38:06 +00:00
drh
4dec5b40ec
Update version number and change log for the 2.6.2 release. (CVS 698)
...
FossilOrigin-Name: 4f196de07d258dc44b6fd20d776120e2aadd3224
2002-07-31 00:37:36 +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
c51d204464
Fix for ticket #111 : Update the documentation to explain that you may not
...
start a transaction in one thread and complete it in another thread under
Linux Threads where each thread has its own process ID. (CVS 695)
FossilOrigin-Name: 0b0c0492cc1e55c1c4feba6e92765ea09896096c
2002-07-30 17:42:10 +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
77fc55904e
Version 2.6.1 (CVS 691)
...
FossilOrigin-Name: 610b7bc70a12b271994255bd01a76b3525421535
2002-07-19 19:04:04 +00:00
drh
096c497eb3
Rig the ident string so that it is not changed by RCS on checkin. (CVS 692)
...
FossilOrigin-Name: 773d36c8d94bdcd0c78401282e48432ddd9b61d6
2002-07-19 19:03:41 +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
426cc56a6b
Add static ident strings (such as picked up by the RCS "ident" command)
...
containing the library version number. (CVS 689)
FossilOrigin-Name: 712ee3914e988f0077e9a3d6170ff8db496a9600
2002-07-19 18:13:35 +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
b782325617
Version 2.6.0 Release 2 (CVS 687)
...
FossilOrigin-Name: cc4f824b155138326f1a62066a99c65d0f32fb8b
2002-07-18 11:10:30 +00:00
drh
ac729e224e
Fix a bug in the publish.sh script that was causing the windows DLL to not
...
be built. (CVS 686)
FossilOrigin-Name: ee8c2758a222251fed0197d2a364346d05728240
2002-07-18 11:07:19 +00:00
drh
199e3cf1b6
Change the name of variable "near" to "nearby" since MSVC mistakenly belieaves
...
that "near" is a keyword. (CVS 685)
FossilOrigin-Name: 9761a2a0fbfd3e98f719a813bcc544950968aef2
2002-07-18 11:01:47 +00:00
drh
bd44700073
Version 2.6.0 Release 1 (CVS 684)
...
FossilOrigin-Name: dde65e9e060b9154e848d53d15272a0dcc7c2723
2002-07-18 02:50:51 +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
704027f16d
Fix a syntax error in the tclsqlite.c file. (CVS 678)
...
FossilOrigin-Name: 47997d7f3ad2dd486a00dc13b7a8c48bb4751e5d
2002-07-15 20:58:47 +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
7f953e2052
Fix for ticket #64 : Better error reporting in the shell. (CVS 676)
...
FossilOrigin-Name: e1842e04c4f47e1ce79575b5c787a164add5d559
2002-07-13 17:33:45 +00:00
drh
70562cd342
Partial fix for ticket #96 : Return SQLITE_MISUSE from sqlite_exec() if called
...
from a child process with an active transaction that was started in the parent. (CVS 675)
FossilOrigin-Name: 72a609ec6492e7d740b6e6184fa14a5e6b04a5dc
2002-07-13 17:23:21 +00:00
drh
289f6c2336
Fix for ticket #99 : Added documentation on the sqlite_mprintf() API. (CVS 674)
...
FossilOrigin-Name: d918de5f06d187c76aab0879b728c89a7d4ae55a
2002-07-13 17:18:36 +00:00
drh
674d712126
Added a document describing how to do a security audit. (CVS 673)
...
FossilOrigin-Name: cff271837796d84471b09147c59cb7601d16b358
2002-07-13 16:52:35 +00:00
drh
25197f4835
Fix for ticket #54 : Export additional APIs to the Win32 DLL. (CVS 672)
...
FossilOrigin-Name: 072fd2ad588332b1f1f725515bedfbc0cf035315
2002-07-13 14:41:49 +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
5080aaa7ab
Turn of the reporting of datatypes in the 4th callback argument unless the
...
SHOW_DATATYPES pragma is ON. Eliminate the NULL pointer that used to separate
the beginning of datatypes from the end of column names so that the callback
can test to see whether or not datatypes are provided. This is an
incompatible changes, but since the prior behavior was never documented, we
will let it in. (CVS 670)
FossilOrigin-Name: b98727246d5fcc1b097b577be498a77e954c5dc4
2002-07-11 12:18:16 +00:00
drh
fa173a764a
When reporting back the datatype of columns, use the text of the datatype
...
as it appears in the CREATE TABLE statement, if available. Also: removed
the ".reindex" command from the shell. (CVS 669)
FossilOrigin-Name: ff8b6f4ee8099a7170cb786b8ead9a3e42ab5869
2002-07-10 21:26:00 +00:00
drh
6276c1cbf0
Add support for TEMPORARY views. The code is here but it is mostly untested. (CVS 668)
...
FossilOrigin-Name: 87cd10c1f638db5d1f47bc12669f150485415b3e
2002-07-08 22:03:32 +00:00
drh
bea00b9a2b
In the BTree subsystem, when using pages from the freelist, attempt to select
...
pages close to related pages in order to keep data structures near each other
in the database file. This improves access speed in some circumstances. (CVS 667)
FossilOrigin-Name: fd7e41f0eed80fb1c7e18eb84834ec3cea74a649
2002-07-08 10:59:50 +00:00
drh
6b30867ff6
Make the BTree balance() routine a little faster by reusing database
...
pages locally rather than freeing and reallocating them. (CVS 666)
FossilOrigin-Name: 3c2dea4310af491d6cb09856d4bc5236d6dc44ac
2002-07-08 02:16:37 +00:00
drh
6f08d709b1
Version 2.5.6 (CVS 664)
...
FossilOrigin-Name: 111c78e6835306fcd8b6d22b9ae68dfb9ab4febe
2002-07-07 17:13:00 +00:00
drh
5e5377fb80
Fix for Win32: The %p format on Win32 does not prepend a "0x" as it should. (CVS 665)
...
FossilOrigin-Name: ee86704daf184307fe98b5631f22ceb3d701afce
2002-07-07 17:12:36 +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
drh
af1c9661a4
Version 2.5.5 (CVS 662)
...
FossilOrigin-Name: 6284c65c174bb2cd049fd1db81de52be3abf4000
2002-07-06 16:34:20 +00:00
drh
0de8c11292
Prepare for the 2.5.5 release. (CVS 661)
...
FossilOrigin-Name: 00f83c2576f4a9689720d344788f66219c1f6827
2002-07-06 16:32:14 +00:00
drh
8e298f92f6
Fix for bug #94 : Be sure to journal pages that are added to the freelist then
...
removed from the freelist and reused during the same transaction. (CVS 660)
FossilOrigin-Name: db178646a01483d59e6f9af302e9bbe394956d93
2002-07-06 16:28:47 +00:00
drh
38640e15af
All the code is now in place for SQLite to distinguish between NUMERIC and
...
TEXT datatypes. Still need to turn on the new code and test it. (CVS 659)
FossilOrigin-Name: b4737a16c997a6c139d616211fb6bc4b0fae181c
2002-07-05 21:42:36 +00:00
drh
2f2c01e51d
Fix for ticket #92 : Correct the sqliteExprCompare() function so that is takes
...
into account the iTable and iColumn fields of the Expr structure. Otherwise,
"min(a)" and "min(b)" will compare equal to each other in views. (CVS 658)
FossilOrigin-Name: 85793a4f03250166c21007cab3525709592d0866
2002-07-02 13:05:04 +00:00
drh
1f66c57a9c
Fix for ticket 91: Modify the "publish.sh" script to use the new mingw
...
cross-compiler installed on the development platform. (CVS 657)
FossilOrigin-Name: 3cac283de4939538f09cd11e2cbdc84e9a9602f2
2002-07-02 11:55:32 +00:00
drh
ea1c936a1e
Version 2.5.4 (CVS 656)
...
FossilOrigin-Name: f7159fde6b8692f91fa8a3c928dc219d0f3d8884
2002-07-01 12:35:51 +00:00
drh
a4db7ee12d
Update the change log and the version number for the next release. (CVS 655)
...
FossilOrigin-Name: f9d77140aed301775b2b8dd88d464cc38edfe192
2002-07-01 12:34:36 +00:00
drh
5ad1a6c8c4
Fix for tickets #90 and #89 : Make the AS keyword optional again. (CVS 654)
...
FossilOrigin-Name: 1f8a73b1c3833e3924196458d4c1ecca90f63662
2002-07-01 12:27:09 +00:00
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