]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
23 years agoFix for ticket #145: Include the func.c source file in the build of testfixture
drh [Sat, 31 Aug 2002 16:33:25 +0000 (16:33 +0000)] 
Fix for ticket #145: Include the func.c source file in the build of testfixture
so that the "randstr()" function will be available. (CVS 734)

FossilOrigin-Name: c5e0c6a782aedc4a273aaf8bc2ef60918797e5f1

23 years agoIf the database is locked when sqlite_open() is called, sqlite_exec() should
drh [Thu, 29 Aug 2002 23:59:47 +0000 (23:59 +0000)] 
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

23 years agoSlightly faster INSERTs from a SELECT by avoiding an intermediate table.
drh [Wed, 28 Aug 2002 03:00:58 +0000 (03:00 +0000)] 
Slightly faster INSERTs from a SELECT by avoiding an intermediate table.
But it didn't make nearly as much difference as I had hoped. (CVS 732)

FossilOrigin-Name: 723362e74f79c784314d042e3a8c8a9bf07cbd5e

23 years agoChange the tokenizer to ignore C-style comments /*...*/ in accordance with
drh [Tue, 27 Aug 2002 14:28:29 +0000 (14:28 +0000)] 
Change the tokenizer to ignore C-style comments /*...*/ in accordance with
SQL99. (CVS 731)

FossilOrigin-Name: f1534489484afdb835ad8e6f97909fbe76dbe414

23 years agoFix for ticket #142: Make sure we get the correct sort order even when the
drh [Mon, 26 Aug 2002 19:55:07 +0000 (19:55 +0000)] 
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

23 years agoVersion 2.7.0 (CVS 729)
drh [Sun, 25 Aug 2002 20:58:11 +0000 (20:58 +0000)] 
Version 2.7.0 (CVS 729)

FossilOrigin-Name: 9e341d9c934c2111be6834743f1ce30463b095b6

23 years agoDocumentation updates prior to the releae of 2.7.0. (CVS 728)
drh [Sun, 25 Aug 2002 20:11:18 +0000 (20:11 +0000)] 
Documentation updates prior to the releae of 2.7.0. (CVS 728)

FossilOrigin-Name: e2d95f85a3c4beeb5f8e78498f52fc00475f38ed

23 years agoFix for ticket #136: Added the OP_RenameCursor VDBE instruction and used it
drh [Sun, 25 Aug 2002 19:20:40 +0000 (19:20 +0000)] 
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

23 years agoFix the memory leak introduced by check-in (725). (CVS 726)
drh [Sun, 25 Aug 2002 18:29:11 +0000 (18:29 +0000)] 
Fix the memory leak introduced by check-in (725). (CVS 726)

FossilOrigin-Name: b957dafc26383af514795df18bc7b8f367c9bd21

23 years agoChange the way token memory is allocated in an effort to fix ticket #136.
drh [Sat, 24 Aug 2002 18:24:51 +0000 (18:24 +0000)] 
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

23 years agoFix for ticket #138: Makefile doesn't use exec_prefix, has some install problems...
jadams [Thu, 22 Aug 2002 18:18:35 +0000 (18:18 +0000)] 
Fix for ticket #138: Makefile doesn't use exec_prefix, has some install problems (CVS 724)

FossilOrigin-Name: 97fc4a71a12b52cda67b5192c3bd7bd10ac0c7a6

23 years agoFix for ticket #137: Use getpwuid() instead of getpwent(). (CVS 723)
drh [Wed, 21 Aug 2002 11:26:41 +0000 (11:26 +0000)] 
Fix for ticket #137: Use getpwuid() instead of getpwent(). (CVS 723)

FossilOrigin-Name: ea011990c552a7a6019b63f9b4341ad6c8663479

23 years agoThis COLLATE keyword was not being parsed correctly inside CREATE TABLE
drh [Sun, 18 Aug 2002 22:41:22 +0000 (22:41 +0000)] 
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

23 years agoFix for ticket #110: return an error if trying to start a transaction within a
drh [Sun, 18 Aug 2002 20:28:06 +0000 (20:28 +0000)] 
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

23 years agoDocumentation updates. (CVS 720)
drh [Sun, 18 Aug 2002 19:09:22 +0000 (19:09 +0000)] 
Documentation updates. (CVS 720)

FossilOrigin-Name: e372a60be8de3332ab6e45d82f21227b8b9acf82

23 years agoFix for ticket #135: Remove unused variables from three files. (CVS 719)
drh [Thu, 15 Aug 2002 13:50:48 +0000 (13:50 +0000)] 
Fix for ticket #135: Remove unused variables from three files. (CVS 719)

FossilOrigin-Name: 8cf17f2a24ee9bd5d1ea66484922819626c412dd

23 years agoMore documentation updates. (CVS 718)
drh [Thu, 15 Aug 2002 13:45:17 +0000 (13:45 +0000)] 
More documentation updates. (CVS 718)

FossilOrigin-Name: 9c0400aa7a0244605828fa6450ea1cc723240b16

23 years agoAdditional test cases and documentation updates. (CVS 717)
drh [Thu, 15 Aug 2002 11:48:13 +0000 (11:48 +0000)] 
Additional test cases and documentation updates. (CVS 717)

FossilOrigin-Name: 048b16c111693727482642e2a19a74a91458fc80

23 years agoFixes and test improvements resulting from code coverage testing. (CVS 716)
drh [Thu, 15 Aug 2002 01:26:09 +0000 (01:26 +0000)] 
Fixes and test improvements resulting from code coverage testing. (CVS 716)

FossilOrigin-Name: 66a0f6a8e25e3eeed78eba4b63b097f921c79d99

23 years agoFix for ticket #134: Change the lemon.c sources to work around a problem with
drh [Wed, 14 Aug 2002 23:18:57 +0000 (23:18 +0000)] 
Fix for ticket #134: Change the lemon.c sources to work around a problem with
the AIX C compiler. (CVS 715)

FossilOrigin-Name: 07f6020bb56d6d1bffdd936017f61cfae5bd134b

23 years agoImplement probabilistic reader/writer locks under windows so that windows
drh [Wed, 14 Aug 2002 12:56:54 +0000 (12:56 +0000)] 
Implement probabilistic reader/writer locks under windows so that windows
can have multiple simultaneous readers. (CVS 714)

FossilOrigin-Name: 2127de3f03537ef2f18120e773f7603e0984ff81

23 years agoDisable sorting by indices if there is a COLLATE subclause in the
drh [Wed, 14 Aug 2002 03:03:57 +0000 (03:03 +0000)] 
Disable sorting by indices if there is a COLLATE subclause in the
ORDER BY clause. (CVS 713)

FossilOrigin-Name: 2438da791afb53b4f1c7a9ff9705d393c86f3cbd

23 years agoFix for ticket #132: make the working directory the last choice for where
drh [Wed, 14 Aug 2002 00:10:44 +0000 (00:10 +0000)] 
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

23 years agoUpdate documentation to better explain the typelessness of SQLite and to
drh [Wed, 14 Aug 2002 00:08:12 +0000 (00:08 +0000)] 
Update documentation to better explain the typelessness of SQLite and to
describe the distinction between text and numeric data. (CVS 711)

FossilOrigin-Name: 4ff0f578eca4a8672cf570923e6c015c3ba6b9f4

23 years agoMake the distinction between text and numeric data. (CVS 710)
drh [Tue, 13 Aug 2002 23:02:57 +0000 (23:02 +0000)] 
Make the distinction between text and numeric data. (CVS 710)

FossilOrigin-Name: 310ac4fbaf0ed63f98bfacb55259960be03b0c8b

23 years agoDocumentation and makefile updates. (CVS 709)
drh [Tue, 13 Aug 2002 20:45:39 +0000 (20:45 +0000)] 
Documentation and makefile updates. (CVS 709)

FossilOrigin-Name: 92c403f485390bbd83a5be472e61c974f76d46b1

23 years agoBug fix to the left outer join logic. (CVS 708)
drh [Tue, 13 Aug 2002 13:15:51 +0000 (13:15 +0000)] 
Bug fix to the left outer join logic. (CVS 708)

FossilOrigin-Name: f9d3d4c1230a7f1176b2002d72e94857e251c04e

23 years agoBug fix to the left outer join logic. (CVS 1726)
drh [Tue, 13 Aug 2002 13:15:49 +0000 (13:15 +0000)] 
Bug fix to the left outer join logic. (CVS 1726)

FossilOrigin-Name: 957d908e6b84cd599b5cfd82af80c8fac79c1dbd

23 years agoVersion 2.6.3 (CVS 707)
drh [Tue, 13 Aug 2002 00:02:10 +0000 (00:02 +0000)] 
Version 2.6.3 (CVS 707)

FossilOrigin-Name: ba706aca0af9ed1ecb64edd4ab327bd5a5a32044

23 years agoUpdates prior to release 2.6.3. (CVS 706)
drh [Tue, 13 Aug 2002 00:01:16 +0000 (00:01 +0000)] 
Updates prior to release 2.6.3. (CVS 706)

FossilOrigin-Name: 34c4149eea7a48927e36867f4e25ff7fac40c66e

23 years agoFix for ticket #9 (again). The rollback journal files should now also be
drh [Mon, 12 Aug 2002 12:29:56 +0000 (12:29 +0000)] 
Fix for ticket #9 (again).  The rollback journal files should now also be
byte-order independent. (CVS 705)

FossilOrigin-Name: 2fb3fdcdf06c1206bf14da640c2f9e599455f0eb

23 years agoFix for ticket #9: Add the ability to read little-endian database files
drh [Sun, 11 Aug 2002 20:10:47 +0000 (20:10 +0000)] 
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

23 years agoFix typos the source to webpages html files. (CVS 703)
drh [Tue, 6 Aug 2002 12:04:59 +0000 (12:04 +0000)] 
Fix typos the source to webpages html files. (CVS 703)

FossilOrigin-Name: 61bb3af7405aa7b54f3e5519537ea483879eed39

23 years agoFix for ticket #131: When a SELECT contains a GROUP BY clause it cannot
drh [Sun, 4 Aug 2002 00:52:38 +0000 (00:52 +0000)] 
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

23 years agoRemove the restriction that a transaction cannot be started by one linuxthread
drh [Fri, 2 Aug 2002 10:36:09 +0000 (10:36 +0000)] 
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

23 years agoFix for ticket #124: Fix a stack VDBE overflow problem on joins on an
drh [Wed, 31 Jul 2002 19:50:26 +0000 (19:50 +0000)] 
Fix for ticket #124: Fix a stack VDBE overflow problem on joins on an
INTEGER PRIMARY KEY. (CVS 700)

FossilOrigin-Name: fe329e078fa209faf62e08599a00c7efa75b8501

23 years agoVersion 2.6.2 (CVS 699)
drh [Wed, 31 Jul 2002 00:38:06 +0000 (00:38 +0000)] 
Version 2.6.2 (CVS 699)

FossilOrigin-Name: 223a2150ac1fa34d4bd01dd32b5fed9e90aa38d4

23 years agoUpdate version number and change log for the 2.6.2 release. (CVS 698)
drh [Wed, 31 Jul 2002 00:37:36 +0000 (00:37 +0000)] 
Update version number and change log for the 2.6.2 release. (CVS 698)

FossilOrigin-Name: 4f196de07d258dc44b6fd20d776120e2aadd3224

23 years agoFix for ticket #104: Make triggers on views work properly even after closing
drh [Wed, 31 Jul 2002 00:32:50 +0000 (00:32 +0000)] 
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

23 years agoFix for ticket #114: Correctly handle SQLITE_BUSY if it occurs during
drh [Tue, 30 Jul 2002 18:43:40 +0000 (18:43 +0000)] 
Fix for ticket #114: Correctly handle SQLITE_BUSY if it occurs during
database initialization. (CVS 696)

FossilOrigin-Name: 5b814b5df667ccc91d85fbb7f96e523483e9219b

23 years agoFix for ticket #111: Update the documentation to explain that you may not
drh [Tue, 30 Jul 2002 17:42:10 +0000 (17:42 +0000)] 
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

23 years agoFix for ticket #71: Correctly handle CR and CRLF line terminators in the
drh [Tue, 30 Jul 2002 17:20:40 +0000 (17:20 +0000)] 
Fix for ticket #71: Correctly handle CR and CRLF line terminators in the
input files for the COPY command. (CVS 694)

FossilOrigin-Name: be1315755ef801b5ec07f469134e0d33a3ece990

23 years agoUPDATE triggers on TEMP tables were broken. (CVS 693)
danielk1977 [Sun, 21 Jul 2002 23:09:55 +0000 (23:09 +0000)] 
UPDATE triggers on TEMP tables were broken. (CVS 693)

FossilOrigin-Name: c080ed01ea51628b86050762f097e702e3aeafdf

23 years agoVersion 2.6.1 (CVS 691)
drh [Fri, 19 Jul 2002 19:04:04 +0000 (19:04 +0000)] 
Version 2.6.1 (CVS 691)

FossilOrigin-Name: 610b7bc70a12b271994255bd01a76b3525421535

23 years agoRig the ident string so that it is not changed by RCS on checkin. (CVS 692)
drh [Fri, 19 Jul 2002 19:03:41 +0000 (19:03 +0000)] 
Rig the ident string so that it is not changed by RCS on checkin. (CVS 692)

FossilOrigin-Name: 773d36c8d94bdcd0c78401282e48432ddd9b61d6

23 years agoFix an assertion failure that occurs when attempting to delete all rows of
drh [Fri, 19 Jul 2002 18:52:40 +0000 (18:52 +0000)] 
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

23 years agoAdd static ident strings (such as picked up by the RCS "ident" command)
drh [Fri, 19 Jul 2002 18:13:35 +0000 (18:13 +0000)] 
Add static ident strings (such as picked up by the RCS "ident" command)
containing the library version number. (CVS 689)

FossilOrigin-Name: 712ee3914e988f0077e9a3d6170ff8db496a9600

23 years agoBetter detection and reporting of errors when initializing from the
drh [Fri, 19 Jul 2002 17:46:38 +0000 (17:46 +0000)] 
Better detection and reporting of errors when initializing from the
sqlite_master table. (CVS 688)

FossilOrigin-Name: c8a7b725b7cec792d2148455a4cecbce9dfebe80

23 years agoVersion 2.6.0 Release 2 (CVS 687)
drh [Thu, 18 Jul 2002 11:10:30 +0000 (11:10 +0000)] 
Version 2.6.0 Release 2 (CVS 687)

FossilOrigin-Name: cc4f824b155138326f1a62066a99c65d0f32fb8b

23 years agoFix a bug in the publish.sh script that was causing the windows DLL to not
drh [Thu, 18 Jul 2002 11:07:19 +0000 (11:07 +0000)] 
Fix a bug in the publish.sh script that was causing the windows DLL to not
be built. (CVS 686)

FossilOrigin-Name: ee8c2758a222251fed0197d2a364346d05728240

23 years agoChange the name of variable "near" to "nearby" since MSVC mistakenly belieaves
drh [Thu, 18 Jul 2002 11:01:47 +0000 (11:01 +0000)] 
Change the name of variable "near" to "nearby" since MSVC mistakenly belieaves
that "near" is a keyword. (CVS 685)

FossilOrigin-Name: 9761a2a0fbfd3e98f719a813bcc544950968aef2

23 years agoVersion 2.6.0 Release 1 (CVS 684)
drh [Thu, 18 Jul 2002 02:50:51 +0000 (02:50 +0000)] 
Version 2.6.0 Release 1 (CVS 684)

FossilOrigin-Name: dde65e9e060b9154e848d53d15272a0dcc7c2723

23 years agoUpdate documentation prior to the release of 2.6.0. (CVS 683)
drh [Thu, 18 Jul 2002 02:07:07 +0000 (02:07 +0000)] 
Update documentation prior to the release of 2.6.0. (CVS 683)

FossilOrigin-Name: f2d9191381e956900a14bd80e50678b9d49e19e5

23 years agoMake the automatic database upgrade work even if there are triggers. Add
drh [Thu, 18 Jul 2002 01:27:17 +0000 (01:27 +0000)] 
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

23 years agoFix for ticket #107: Fix a design defect in indices that was causing queries
drh [Thu, 18 Jul 2002 00:34:09 +0000 (00:34 +0000)] 
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

23 years agoFix for ticket #105: Fix the UPDATE command so that it works properly with
drh [Tue, 16 Jul 2002 17:22:50 +0000 (17:22 +0000)] 
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

23 years agoFix for ticket #100: Correctly handle ON and USING clauses of JOINs within
drh [Tue, 16 Jul 2002 02:05:43 +0000 (02:05 +0000)] 
Fix for ticket #100: Correctly handle ON and USING clauses of JOINs within
a VIEW. (CVS 679)

FossilOrigin-Name: 93710f7ed7e1baa6acbf4bc32982e046f61ffa44

23 years agoFix a syntax error in the tclsqlite.c file. (CVS 678)
drh [Mon, 15 Jul 2002 20:58:47 +0000 (20:58 +0000)] 
Fix a syntax error in the tclsqlite.c file. (CVS 678)

FossilOrigin-Name: 47997d7f3ad2dd486a00dc13b7a8c48bb4751e5d

23 years agoFix for ticket #102: Honor the ORDER BY clause in subqueries. (CVS 677)
drh [Mon, 15 Jul 2002 18:55:24 +0000 (18:55 +0000)] 
Fix for ticket #102: Honor the ORDER BY clause in subqueries. (CVS 677)

FossilOrigin-Name: 7e918c8b0df5120e3630811f164defb8c9fedd6d

23 years agoFix for ticket #64: Better error reporting in the shell. (CVS 676)
drh [Sat, 13 Jul 2002 17:33:45 +0000 (17:33 +0000)] 
Fix for ticket #64: Better error reporting in the shell. (CVS 676)

FossilOrigin-Name: e1842e04c4f47e1ce79575b5c787a164add5d559

23 years agoPartial fix for ticket #96: Return SQLITE_MISUSE from sqlite_exec() if called
drh [Sat, 13 Jul 2002 17:23:21 +0000 (17:23 +0000)] 
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

23 years agoFix for ticket #99: Added documentation on the sqlite_mprintf() API. (CVS 674)
drh [Sat, 13 Jul 2002 17:18:36 +0000 (17:18 +0000)] 
Fix for ticket #99:  Added documentation on the sqlite_mprintf() API. (CVS 674)

FossilOrigin-Name: d918de5f06d187c76aab0879b728c89a7d4ae55a

23 years agoAdded a document describing how to do a security audit. (CVS 673)
drh [Sat, 13 Jul 2002 16:52:35 +0000 (16:52 +0000)] 
Added a document describing how to do a security audit. (CVS 673)

FossilOrigin-Name: cff271837796d84471b09147c59cb7601d16b358

23 years agoFix for ticket #54: Export additional APIs to the Win32 DLL. (CVS 672)
drh [Sat, 13 Jul 2002 14:41:49 +0000 (14:41 +0000)] 
Fix for ticket #54: Export additional APIs to the Win32 DLL. (CVS 672)

FossilOrigin-Name: 072fd2ad588332b1f1f725515bedfbc0cf035315

23 years agoFix for ticket #95: Do not allow automatically created indices (associated
drh [Sat, 13 Jul 2002 03:11:52 +0000 (03:11 +0000)] 
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

23 years agoTurn of the reporting of datatypes in the 4th callback argument unless the
drh [Thu, 11 Jul 2002 12:18:16 +0000 (12:18 +0000)] 
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

23 years agoWhen reporting back the datatype of columns, use the text of the datatype
drh [Wed, 10 Jul 2002 21:26:00 +0000 (21:26 +0000)] 
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

23 years agoAdd support for TEMPORARY views. The code is here but it is mostly untested. (CVS...
drh [Mon, 8 Jul 2002 22:03:32 +0000 (22:03 +0000)] 
Add support for TEMPORARY views.  The code is here but it is mostly untested. (CVS 668)

FossilOrigin-Name: 87cd10c1f638db5d1f47bc12669f150485415b3e

23 years agoIn the BTree subsystem, when using pages from the freelist, attempt to select
drh [Mon, 8 Jul 2002 10:59:50 +0000 (10:59 +0000)] 
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

23 years agoMake the BTree balance() routine a little faster by reusing database
drh [Mon, 8 Jul 2002 02:16:37 +0000 (02:16 +0000)] 
Make the BTree balance() routine a little faster by reusing database
pages locally rather than freeing and reallocating them. (CVS 666)

FossilOrigin-Name: 3c2dea4310af491d6cb09856d4bc5236d6dc44ac

23 years agoVersion 2.5.6 (CVS 664)
drh [Sun, 7 Jul 2002 17:13:00 +0000 (17:13 +0000)] 
Version 2.5.6 (CVS 664)

FossilOrigin-Name: 111c78e6835306fcd8b6d22b9ae68dfb9ab4febe

23 years agoFix for Win32: The %p format on Win32 does not prepend a "0x" as it should. (CVS...
drh [Sun, 7 Jul 2002 17:12:36 +0000 (17:12 +0000)] 
Fix for Win32: The %p format on Win32 does not prepend a "0x" as it should. (CVS 665)

FossilOrigin-Name: ee86704daf184307fe98b5631f22ceb3d701afce

23 years agoMore rollback problems: Fix two more errors introduced by checking (410) that
drh [Sun, 7 Jul 2002 16:52:46 +0000 (16:52 +0000)] 
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

23 years agoVersion 2.5.5 (CVS 662)
drh [Sat, 6 Jul 2002 16:34:20 +0000 (16:34 +0000)] 
Version 2.5.5 (CVS 662)

FossilOrigin-Name: 6284c65c174bb2cd049fd1db81de52be3abf4000

23 years agoPrepare for the 2.5.5 release. (CVS 661)
drh [Sat, 6 Jul 2002 16:32:14 +0000 (16:32 +0000)] 
Prepare for the 2.5.5 release. (CVS 661)

FossilOrigin-Name: 00f83c2576f4a9689720d344788f66219c1f6827

23 years agoFix for bug #94: Be sure to journal pages that are added to the freelist then
drh [Sat, 6 Jul 2002 16:28:47 +0000 (16:28 +0000)] 
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

23 years agoAll the code is now in place for SQLite to distinguish between NUMERIC and
drh [Fri, 5 Jul 2002 21:42:36 +0000 (21:42 +0000)] 
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

23 years agoFix for ticket #92: Correct the sqliteExprCompare() function so that is takes
drh [Tue, 2 Jul 2002 13:05:04 +0000 (13:05 +0000)] 
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

23 years agoFix for ticket 91: Modify the "publish.sh" script to use the new mingw
drh [Tue, 2 Jul 2002 11:55:32 +0000 (11:55 +0000)] 
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

23 years agoVersion 2.5.4 (CVS 656)
drh [Mon, 1 Jul 2002 12:35:51 +0000 (12:35 +0000)] 
Version 2.5.4 (CVS 656)

FossilOrigin-Name: f7159fde6b8692f91fa8a3c928dc219d0f3d8884

23 years agoUpdate the change log and the version number for the next release. (CVS 655)
drh [Mon, 1 Jul 2002 12:34:36 +0000 (12:34 +0000)] 
Update the change log and the version number for the next release. (CVS 655)

FossilOrigin-Name: f9d77140aed301775b2b8dd88d464cc38edfe192

23 years agoFix for tickets #90 and #89: Make the AS keyword optional again. (CVS 654)
drh [Mon, 1 Jul 2002 12:27:09 +0000 (12:27 +0000)] 
Fix for tickets #90 and #89: Make the AS keyword optional again. (CVS 654)

FossilOrigin-Name: 1f8a73b1c3833e3924196458d4c1ecca90f63662

23 years agoAdded additional tests. No new errors found. (CVS 653)
drh [Mon, 1 Jul 2002 00:31:36 +0000 (00:31 +0000)] 
Added additional tests.  No new errors found. (CVS 653)

FossilOrigin-Name: 8924a7f5bab790ab552332d6359028d0d1825e4a

23 years agoAdd a few more tests and fix a few bugs that the tests uncovered. (CVS 652)
drh [Sat, 29 Jun 2002 02:20:08 +0000 (02:20 +0000)] 
Add a few more tests and fix a few bugs that the tests uncovered. (CVS 652)

FossilOrigin-Name: 91c0db66c86facb21b5b522afadd83d91a488256

23 years agoAdditional test cases added. The following bug fixed: A segfault was occurring
drh [Fri, 28 Jun 2002 12:18:47 +0000 (12:18 +0000)] 
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

23 years agoFix for ticket #84: If the WHERE clause is too complex, issue an error message
drh [Fri, 28 Jun 2002 01:02:38 +0000 (01:02 +0000)] 
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

23 years agoFix for ticket #88: A typo in the documention of the "sqlite" shell command. (CVS...
drh [Thu, 27 Jun 2002 13:21:01 +0000 (13:21 +0000)] 
Fix for ticket #88: A typo in the documention of the "sqlite" shell command. (CVS 649)

FossilOrigin-Name: 16552a7a29450a23765f0f05a9f4058638eafd74

23 years agoIn the TCL interface, the "sqlite" command now always returns the address
drh [Wed, 26 Jun 2002 20:06:05 +0000 (20:06 +0000)] 
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

23 years agoThe datatype of the i-th column in the result set is given by the
drh [Wed, 26 Jun 2002 02:45:03 +0000 (02:45 +0000)] 
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

23 years agoAdd the sqlite_open_aux_file() API. (CVS 646)
drh [Tue, 25 Jun 2002 19:31:18 +0000 (19:31 +0000)] 
Add the sqlite_open_aux_file() API. (CVS 646)

FossilOrigin-Name: 332164d6455658ca633a1dc49811d9fb0fd4b01c

23 years agoVersion 2.5.3 (CVS 645)
drh [Tue, 25 Jun 2002 15:19:02 +0000 (15:19 +0000)] 
Version 2.5.3 (CVS 645)

FossilOrigin-Name: d5cb675432cbaeac2c1a8a08181613b9d1eb5ca1

23 years agoFix a spelling error in the change log. (CVS 644)
drh [Tue, 25 Jun 2002 14:46:58 +0000 (14:46 +0000)] 
Fix a spelling error in the change log. (CVS 644)

FossilOrigin-Name: 37cc40442bab50506978f428001b77f23d3a4e4c

23 years agoBug fix: When the database file grows in size during a transaction, make sure
drh [Tue, 25 Jun 2002 14:43:57 +0000 (14:43 +0000)] 
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

23 years agoEnhance the INTEGRITY_CHECK pragma to test the auxiliary database file in
drh [Tue, 25 Jun 2002 13:16:02 +0000 (13:16 +0000)] 
Enhance the INTEGRITY_CHECK pragma to test the auxiliary database file in
addition to the main database file. (CVS 642)

FossilOrigin-Name: 52eba4de301121f254174b74042015bf6069ef11

23 years agoVersion 2.5.2 (CVS 641)
drh [Tue, 25 Jun 2002 01:09:30 +0000 (01:09 +0000)] 
Version 2.5.2 (CVS 641)

FossilOrigin-Name: 756310cad23668785eac679ef0842d1f37c306ee

23 years agoAdded support for the "sqlite_temp_master" table. Increased the version
drh [Tue, 25 Jun 2002 01:09:11 +0000 (01:09 +0000)] 
Added support for the "sqlite_temp_master" table.  Increased the version
number to 2.5.2. (CVS 640)

FossilOrigin-Name: 9c1432bf7485258e485bd652e3acdaeabbfe8850

23 years agoPartial fix for a problem with LEFT OUTER JOIN. It used to be that the test
drh [Mon, 24 Jun 2002 22:01:57 +0000 (22:01 +0000)] 
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

23 years agoFix a VDBE stack leak in LEFT OUTER JOIN. Fix a bug in the code generator
drh [Mon, 24 Jun 2002 12:20:23 +0000 (12:20 +0000)] 
Fix a VDBE stack leak in LEFT OUTER JOIN.  Fix a bug in the code generator
for JOIN ... USING(...). (CVS 638)

FossilOrigin-Name: d861489e1f7dffd1105c271fe8597f73e5b1703c

23 years agoAn optimization: avoid the use of an intermediate table on UNION ALL if there
drh [Sat, 22 Jun 2002 02:33:38 +0000 (02:33 +0000)] 
An optimization: avoid the use of an intermediate table on UNION ALL if there
is no ORDER BY clause. (CVS 637)

FossilOrigin-Name: 8aa73ce61268a50d353d9a5c878461290195525f

23 years agoFix for bugs #77 and #80: Rework the LIMIT mechanism to be reentrant and to
drh [Fri, 21 Jun 2002 23:01:49 +0000 (23:01 +0000)] 
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