]> git.ipfire.org Git - thirdparty/sqlite.git/log
thirdparty/sqlite.git
20 years agoA few test cases were failing on windows due to mandatory locking. Omit them on that...
danielk1977 [Wed, 19 Jan 2005 03:47:15 +0000 (03:47 +0000)] 
A few test cases were failing on windows due to mandatory locking. Omit them on that platform. (CVS 2234)

FossilOrigin-Name: 441316f1af076fef42055d6abe524f2a8c5ced63

20 years agoMake sure USING and NATURAL work on joins even if the columns are renamed
drh [Tue, 18 Jan 2005 17:40:04 +0000 (17:40 +0000)] 
Make sure USING and NATURAL work on joins even if the columns are renamed
using an AS phrase.  Ticket #523. (CVS 2233)

FossilOrigin-Name: c06add57bf0ce17503181b584ea4197b39b9e538

20 years agoCREATE TABLE ... AS ... uses short names for columns. Ticket #1036. (CVS 2232)
drh [Tue, 18 Jan 2005 17:20:10 +0000 (17:20 +0000)] 
CREATE TABLE ... AS ... uses short names for columns.  Ticket #1036. (CVS 2232)

FossilOrigin-Name: b1d4c42d2be07adda68d31c570ba7cf8b115c3ad

20 years agoColumn names coming back from a SELECT are now just the name of the
drh [Tue, 18 Jan 2005 16:02:40 +0000 (16:02 +0000)] 
Column names coming back from a SELECT are now just the name of the
source column without the "table." prefix. In other words,
"PRAGMA short_column_names=ON" is now the default.
This makes the names of columns behave more like other SQL engines.
The old behavior can be restored by setting "PRAGMA short_column_names=OFF". (CVS 2231)

FossilOrigin-Name: 9295050af1bf2d9d4dc63adc225a2848d67cbe17

20 years agoContinue refactoring name resolution. Fix for ticket #1047. (CVS 2230)
drh [Tue, 18 Jan 2005 14:45:47 +0000 (14:45 +0000)] 
Continue refactoring name resolution.  Fix for ticket #1047. (CVS 2230)

FossilOrigin-Name: 88d4834fec7583a9b6400a1ce5b928c1f8a390dd

20 years agoRefinements to the name resolution logic. Change the name of the
drh [Tue, 18 Jan 2005 04:00:42 +0000 (04:00 +0000)] 
Refinements to the name resolution logic.  Change the name of the
keywordhash.c file to keywordhash.h. (CVS 2229)

FossilOrigin-Name: 0142ae6f0004bf18a1c2d8e49c09d2a9a27d6369

20 years agoInfrastructure changes to handle name resolution differently. This is needed
drh [Mon, 17 Jan 2005 22:08:19 +0000 (22:08 +0000)] 
Infrastructure changes to handle name resolution differently.  This is needed
to fix various long-standing problems with column names in joins.  It will
also make the implementation of correlated subqueries easier. (CVS 2228)

FossilOrigin-Name: 4a7534396a72ccb300303df28798bb2c50293782

20 years agoFix a bug reported on the mailing list concerning a conflict between "INSERT INTO...
danielk1977 [Mon, 17 Jan 2005 08:57:09 +0000 (08:57 +0000)] 
Fix a bug reported on the mailing list concerning a conflict between "INSERT INTO ... SELECT" statements and the "SELECT max(x) FROM tbl" optimization. (CVS 2227)

FossilOrigin-Name: 5a9da62ae303800ded99942aed30eadeb3863da3

20 years agoFix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226)
danielk1977 [Mon, 17 Jan 2005 07:53:44 +0000 (07:53 +0000)] 
Fix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226)

FossilOrigin-Name: 6244252915fa312a6c4d192464023d95aaef4661

20 years agoAdd incomplete, preliminary drafts of new documentation. (CVS 2225)
drh [Mon, 17 Jan 2005 03:42:52 +0000 (03:42 +0000)] 
Add incomplete, preliminary drafts of new documentation. (CVS 2225)

FossilOrigin-Name: a01159e8cb93199763d191b739da2a43ec88aab3

20 years agoFix a memory leak that occurs as a result of an IO error. (CVS 2224)
danielk1977 [Mon, 17 Jan 2005 03:40:08 +0000 (03:40 +0000)] 
Fix a memory leak that occurs as a result of an IO error. (CVS 2224)

FossilOrigin-Name: 1edfdcbf142b380172a26d094e6e4a3900db8463

20 years agoChange some assert()s that could fail if the database is corrupt to return SQLITE_COR...
danielk1977 [Mon, 17 Jan 2005 02:12:18 +0000 (02:12 +0000)] 
Change some assert()s that could fail if the database is corrupt to return SQLITE_CORRUPT instead. (CVS 2223)

FossilOrigin-Name: 2d58c0afa769d49c8819ea4982bc20ae39516f97

20 years agoHave sqlite3pager_get() return SQLITE_CORRUPT for a page number greater than 2^31...
danielk1977 [Mon, 17 Jan 2005 01:33:13 +0000 (01:33 +0000)] 
Have sqlite3pager_get() return SQLITE_CORRUPT for a page number greater than 2^31. (CVS 2222)

FossilOrigin-Name: feb49d10e83ecc186024d4e96b64ef92cf876715

20 years agoTurn on quick-balance by default. (CVS 2221)
drh [Sun, 16 Jan 2005 23:21:00 +0000 (23:21 +0000)] 
Turn on quick-balance by default. (CVS 2221)

FossilOrigin-Name: d0356dee55bd43f361ede1344e90d1ba6b5cde1e

20 years agoDrop support for MAC OS9. SQLite 3 has never worked for that OS because
drh [Sun, 16 Jan 2005 20:47:40 +0000 (20:47 +0000)] 
Drop support for MAC OS9.  SQLite 3 has never worked for that OS because
the developers do not have access to a machine running it and nobody from
the community has stepped forward to provide a port.  By moving the
os_mac.c file into the attic, we make the lack of support official. (CVS 2220)

FossilOrigin-Name: de9ad673d037f7bfca3a2d439259a63c9ed954db

20 years agoChanges to make sure tests work when SQLITE_DEFAULT_AUTOVACUUM is defined. (CVS 2219)
danielk1977 [Sun, 16 Jan 2005 11:07:06 +0000 (11:07 +0000)] 
Changes to make sure tests work when SQLITE_DEFAULT_AUTOVACUUM is defined. (CVS 2219)

FossilOrigin-Name: 6237c294d1211d5848bafb1310574e2486a43757

20 years agoFixes so that compiling and testing works when SQLITE_OMIT_AUTOVACUUM is defined...
danielk1977 [Sun, 16 Jan 2005 09:06:33 +0000 (09:06 +0000)] 
Fixes so that compiling and testing works when SQLITE_OMIT_AUTOVACUUM is defined. (CVS 2218)

FossilOrigin-Name: fe548561a0e7a696fd453372f4427cf3e3f19d20

20 years agoMove duplicate code to update pointer-map wrt overflow pages into a function. (CVS...
danielk1977 [Sun, 16 Jan 2005 08:00:01 +0000 (08:00 +0000)] 
Move duplicate code to update pointer-map wrt overflow pages into a function. (CVS 2217)

FossilOrigin-Name: a5c2121410476ee1bf81881fdf5917e3e16f0399

20 years agoEnhance the performance of auto-vacuum databases by reducing the number of pointer...
danielk1977 [Sat, 15 Jan 2005 12:45:51 +0000 (12:45 +0000)] 
Enhance the performance of auto-vacuum databases by reducing the number of pointer-map entries written during tree balancing. Also fix bugs in balance_quick(). (CVS 2216)

FossilOrigin-Name: 0ae29538ccccfc237904cbcfb4507074db0f5905

20 years agoTest coverage improvements. (CVS 2215)
drh [Sat, 15 Jan 2005 01:52:31 +0000 (01:52 +0000)] 
Test coverage improvements. (CVS 2215)

FossilOrigin-Name: 92f9d2b2f480fccfa6e8b70a1d19058b92a4ea8f

20 years agoImproved test coverage for update.c. (CVS 2214)
drh [Sat, 15 Jan 2005 00:40:42 +0000 (00:40 +0000)] 
Improved test coverage for update.c. (CVS 2214)

FossilOrigin-Name: 3ef95d5fe98e7451f8b87b3f5259163f3e7d0289

20 years agoImproved coverage for insert.c. (CVS 2213)
drh [Sat, 15 Jan 2005 00:36:36 +0000 (00:36 +0000)] 
Improved coverage for insert.c. (CVS 2213)

FossilOrigin-Name: 997d8afff9b316aef4c5e2127c2207758ff4a703

20 years agoAdd comments to the new balance_quick() routine. (CVS 2212)
drh [Fri, 14 Jan 2005 22:55:49 +0000 (22:55 +0000)] 
Add comments to the new balance_quick() routine. (CVS 2212)

FossilOrigin-Name: 183c42eac82b41da7905e44a43913f04acc46ade

20 years agoExperimental patch to balance() (use -DSQLITE_BALANCE_QUICK). (CVS 2211)
danielk1977 [Fri, 14 Jan 2005 13:50:11 +0000 (13:50 +0000)] 
Experimental patch to balance() (use -DSQLITE_BALANCE_QUICK). (CVS 2211)

FossilOrigin-Name: c550d80c25ec88fceb20acabd00c21faa2d552f5

20 years agoImproved test coverage on insert.c. (CVS 2210)
drh [Fri, 14 Jan 2005 01:22:00 +0000 (01:22 +0000)] 
Improved test coverage on insert.c. (CVS 2210)

FossilOrigin-Name: c772f75166d55192132e732e8a0ddda5926f00f2

20 years agoNeed SQLITE_MEMDEBUG instead of SQLITE_DEBUG in tclsqlite.c. (CVS 2209)
drh [Thu, 13 Jan 2005 23:54:32 +0000 (23:54 +0000)] 
Need SQLITE_MEMDEBUG instead of SQLITE_DEBUG in tclsqlite.c. (CVS 2209)

FossilOrigin-Name: 6e905270a933fd4c99f6db6707ed79166f6484ee

20 years agoFix a bug in lemon that does not effect SQLite. Ticket #1068. (CVS 2208)
drh [Thu, 13 Jan 2005 23:54:06 +0000 (23:54 +0000)] 
Fix a bug in lemon that does not effect SQLite.  Ticket #1068. (CVS 2208)

FossilOrigin-Name: 7113b5ed8d51718356ce1cc51896a3070875a7e2

20 years agoTidy up malloc.test a bit. (CVS 2207)
danielk1977 [Thu, 13 Jan 2005 13:35:57 +0000 (13:35 +0000)] 
Tidy up malloc.test a bit. (CVS 2207)

FossilOrigin-Name: 94cf91cc5dc0d656636211d23350a1ec29aced8a

20 years agoFix typo in shell .help. Ticket #1071. (CVS 2206)
danielk1977 [Thu, 13 Jan 2005 11:10:25 +0000 (11:10 +0000)] 
Fix typo in shell .help. Ticket #1071. (CVS 2206)

FossilOrigin-Name: 2c7a1a1698851914de705a0a942ebaaad5545fbc

20 years agoTest cases to improve coverage of pager.c. (CVS 2205)
danielk1977 [Thu, 13 Jan 2005 11:07:52 +0000 (11:07 +0000)] 
Test cases to improve coverage of pager.c. (CVS 2205)

FossilOrigin-Name: 0428a1480126f7e73dc1e24b6fbfa185d2d83dd3

20 years agoFixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204)
danielk1977 [Thu, 13 Jan 2005 02:14:23 +0000 (02:14 +0000)] 
Fixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204)

FossilOrigin-Name: 8378455f32c3010ccc28181048c746ecb8a9fa67

20 years agoFix a test bug introduce with the previous commit. (CVS 2203)
danielk1977 [Wed, 12 Jan 2005 13:04:54 +0000 (13:04 +0000)] 
Fix a test bug introduce with the previous commit. (CVS 2203)

FossilOrigin-Name: 1c19e8bdca24484fcb9f068b38ebfbce3e24ada5

20 years agoTests to improve coverage of main.c. (CVS 2202)
danielk1977 [Wed, 12 Jan 2005 12:44:03 +0000 (12:44 +0000)] 
Tests to improve coverage of main.c. (CVS 2202)

FossilOrigin-Name: 4e28c82adabb58ad9f79ed829734a2ff569a7c05

20 years agoTests to improve coverage of vdbeaux.c. (CVS 2201)
danielk1977 [Wed, 12 Jan 2005 09:10:39 +0000 (09:10 +0000)] 
Tests to improve coverage of vdbeaux.c. (CVS 2201)

FossilOrigin-Name: 2b3e21ce2e8126ec2851751546094c3a2c831942

20 years agoTests to improve coverage of vdbemem.c. (CVS 2200)
danielk1977 [Wed, 12 Jan 2005 07:15:04 +0000 (07:15 +0000)] 
Tests to improve coverage of vdbemem.c. (CVS 2200)

FossilOrigin-Name: 319bb4a9064deb062a888fdc31067619c9b749bb

20 years agoFix a bug in tclsqlite.c. (CVS 2199)
drh [Wed, 12 Jan 2005 00:08:24 +0000 (00:08 +0000)] 
Fix a bug in tclsqlite.c. (CVS 2199)

FossilOrigin-Name: 50f1e229652610b386745bb39fed45549cc74aa7

20 years agoFix for ticket #1062: Correctly handle redundant terms in a WHERE clause. (CVS 2198)
drh [Tue, 11 Jan 2005 18:13:56 +0000 (18:13 +0000)] 
Fix for ticket #1062: Correctly handle redundant terms in a WHERE clause. (CVS 2198)

FossilOrigin-Name: 1bee1bb91d39ff8a33efe662b6cab6dbd2d50e3c

20 years agoAllow '$' in the middle of identifiers. Ticket #1066. This is an
drh [Tue, 11 Jan 2005 17:59:47 +0000 (17:59 +0000)] 
Allow '$' in the middle of identifiers.  Ticket #1066.  This is an
experimental change.  It might be backed out at a later date. (CVS 2197)

FossilOrigin-Name: 00a352ea79e0e1e855282c54d0e470161215f25e

20 years agoTest coverage improvements on tokenize.c. (CVS 2196)
drh [Tue, 11 Jan 2005 17:46:41 +0000 (17:46 +0000)] 
Test coverage improvements on tokenize.c. (CVS 2196)

FossilOrigin-Name: 5767850ccadb3b53d14bca547e50f65de1d3092e

20 years agoImproved test coverage for vdbeaux.c. (CVS 2195)
drh [Tue, 11 Jan 2005 16:54:14 +0000 (16:54 +0000)] 
Improved test coverage for vdbeaux.c. (CVS 2195)

FossilOrigin-Name: 3f46cd7767cf7c48dd1de7ae1c4104d6d1a609be

20 years agoImproved test coverage for util.c. (CVS 2194)
drh [Tue, 11 Jan 2005 15:28:33 +0000 (15:28 +0000)] 
Improved test coverage for util.c. (CVS 2194)

FossilOrigin-Name: ad451a2ddc7993035768f2801d590311807f4397

20 years agoTest cases to improve coverage of vdbe.c. (CVS 2193)
danielk1977 [Tue, 11 Jan 2005 13:02:33 +0000 (13:02 +0000)] 
Test cases to improve coverage of vdbe.c. (CVS 2193)

FossilOrigin-Name: a6b45722071bde543c4ea28a432339d8708a5cac

20 years agoRemove a C++ style comment that went in with the previous commit. (CVS 2192)
danielk1977 [Tue, 11 Jan 2005 11:08:22 +0000 (11:08 +0000)] 
Remove a C++ style comment that went in with the previous commit. (CVS 2192)

FossilOrigin-Name: ce8e4e885a46cec35b64a81925eb330048ea5cbb

20 years agoTest cases to improve coverage of btree.c (and minor bugfixes). (CVS 2191)
danielk1977 [Tue, 11 Jan 2005 10:25:06 +0000 (10:25 +0000)] 
Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2191)

FossilOrigin-Name: a37e0108dea4896d8aaf84cc590b5cecbdefee6c

20 years agoTest cases to improve coverage of btree.c (and minor bugfixes). (CVS 2190)
danielk1977 [Tue, 11 Jan 2005 10:25:06 +0000 (10:25 +0000)] 
Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2190)

FossilOrigin-Name: 8ced491588764b1e1066787d0abf3cde8b60970b

20 years agoExtra test cases to improve coverage of btree.c (CVS 2189)
danielk1977 [Mon, 10 Jan 2005 12:59:51 +0000 (12:59 +0000)] 
Extra test cases to improve coverage of btree.c (CVS 2189)

FossilOrigin-Name: a461988661368bce799ef3d498a18e88559e14c7

20 years agoUpdate some documentation for version 3.1. (CVS 2188)
danielk1977 [Mon, 10 Jan 2005 06:39:56 +0000 (06:39 +0000)] 
Update some documentation for version 3.1. (CVS 2188)

FossilOrigin-Name: 5b7a5a4d69be425163135698d889797d15f56492

20 years agoFix an assertion failure due to interaction between the count_changes pragma and...
danielk1977 [Mon, 10 Jan 2005 02:48:49 +0000 (02:48 +0000)] 
Fix an assertion failure due to interaction between the count_changes pragma and triggers. (CVS 2187)

FossilOrigin-Name: 6c7bec1b3aee0287e30f43c1d6a7b67b1c47e774

20 years agoTcl interface does as sqlite3 or as sqlite. A compile-time option allows
drh [Sat, 8 Jan 2005 18:42:28 +0000 (18:42 +0000)] 
Tcl interface does as sqlite3 or as sqlite.  A compile-time option allows
duel linking.  Also fix a bug in the pragma change from earlier today. (CVS 2186)

FossilOrigin-Name: ad10953799f3aa15fde41cbbd5911a3b56c326ec

20 years agoFixes to the temp_store_directory pragma. (CVS 2185)
drh [Sat, 8 Jan 2005 15:44:25 +0000 (15:44 +0000)] 
Fixes to the temp_store_directory pragma. (CVS 2185)

FossilOrigin-Name: 0a90eaf398aa4a689cd8326cd017951513ca748a

20 years agoFix a comment. (CVS 2184)
drh [Sat, 8 Jan 2005 15:43:18 +0000 (15:43 +0000)] 
Fix a comment. (CVS 2184)

FossilOrigin-Name: 26fbac8f031b305fe98add4422ab606ed116844a

20 years agoFix a problem with auto-vacuum databases and the VACUUM command. Also add "pages...
danielk1977 [Sat, 8 Jan 2005 12:42:39 +0000 (12:42 +0000)] 
Fix a problem with auto-vacuum databases and the VACUUM command. Also add "pages read" and "pages written" statistics to the pager layer. (CVS 2183)

FossilOrigin-Name: fb3bf68d0e83b463c7e2f95b4502ba6f8158c074

20 years agoMinor test script changes to allow all.test to run when SQLITE_DEFAULT_AUTOVACUUM...
danielk1977 [Sat, 8 Jan 2005 02:35:44 +0000 (02:35 +0000)] 
Minor test script changes to allow all.test to run when SQLITE_DEFAULT_AUTOVACUUM=1 is defined. (CVS 2182)

FossilOrigin-Name: 5023b1dba2e61bb10d1b488874e3d3eea3973145

20 years agoReset the temp_store_directory each iteration of tests in all.test. (CVS 2181)
danielk1977 [Fri, 7 Jan 2005 10:42:48 +0000 (10:42 +0000)] 
Reset the temp_store_directory each iteration of tests in all.test. (CVS 2181)

FossilOrigin-Name: 7373a5d4cf2db921b33132c736ad62ab702d7cde

20 years agoFix a read of invalid memory that could occur in btree.c. (CVS 2180)
danielk1977 [Fri, 7 Jan 2005 08:56:44 +0000 (08:56 +0000)] 
Fix a read of invalid memory that could occur in btree.c. (CVS 2180)

FossilOrigin-Name: 929745c1833e7f4323884a1bc0c632f5b319da35

20 years agoRemove incorrect assert() and add extra option to account for non-standard 'sort...
danielk1977 [Fri, 7 Jan 2005 01:56:17 +0000 (01:56 +0000)] 
Remove incorrect assert() and add extra option to account for non-standard 'sort' program in some linux versions. (CVS 2179)

FossilOrigin-Name: bf14387697459d8d348a35ca50e2ee9407dcf1e1

20 years agoadd --enable-debug to configure options, controls -DNDEBUG flag (CVS 2178)
tpoindex [Mon, 3 Jan 2005 21:28:56 +0000 (21:28 +0000)] 
add --enable-debug to configure options, controls -DNDEBUG flag (CVS 2178)

FossilOrigin-Name: 9d674d1dc09f72c64ef7f37cd9838c7a9c50b746

20 years agoadd comment that table is accessed by primary key (CVS 2177)
tpoindex [Mon, 3 Jan 2005 18:13:18 +0000 (18:13 +0000)] 
add comment that table is accessed by primary key (CVS 2177)

FossilOrigin-Name: 707690c5f2e1340bbbb4cb06e6b2b76a2a3b5f0d

20 years agoAllow GROUP BY on aggregate queries only. Ticket #1039. (CVS 2176)
drh [Mon, 3 Jan 2005 02:26:54 +0000 (02:26 +0000)] 
Allow GROUP BY on aggregate queries only.  Ticket #1039. (CVS 2176)

FossilOrigin-Name: 8ef2c644ebce851d7a3e0db3b2266fc2519485cd

20 years agoFix typos in comments in test code.
drh [Mon, 3 Jan 2005 01:32:59 +0000 (01:32 +0000)] 
Fix typos in comments in test code.
(Oops.  This check-in also picked up some unrelated
changes to documentation.) (CVS 2175)

FossilOrigin-Name: 586acc85b170f84d6e0dbd2e293da19551242f5a

20 years agoFix a typo in a comment. No code changes. Ticket #1052. (CVS 2174)
drh [Mon, 3 Jan 2005 01:28:51 +0000 (01:28 +0000)] 
Fix a typo in a comment.  No code changes.  Ticket #1052. (CVS 2174)

FossilOrigin-Name: 9fb1402f0835b214c9174866653e95416b32f860

20 years agoFix comment typos. no code changes. (CVS 2173)
drh [Mon, 3 Jan 2005 01:27:18 +0000 (01:27 +0000)] 
Fix comment typos.  no code changes. (CVS 2173)

FossilOrigin-Name: 4165217e5114f5377f0823c63ff2aba879927ce7

20 years agoFix ticket #1046 by removing code and simplifying the query optimizer.
drh [Sat, 25 Dec 2004 01:03:13 +0000 (01:03 +0000)] 
Fix ticket #1046 by removing code and simplifying the query optimizer.
Remarkably, this simplification also makes the optimizer do a better job.
Ticket #1051 was fixed as a side-effect. (CVS 2172)

FossilOrigin-Name: 5fd1f4711885e3dd6fb2c2700287f78bb0ea178a

20 years agoAdd PRAGMA 'temp_store_directory'. Added os_*.c function
tpoindex [Mon, 20 Dec 2004 19:01:32 +0000 (19:01 +0000)] 
Add PRAGMA 'temp_store_directory'.  Added os_*.c function
sqlite3OsIsDirWritable(), split pragma.c changeTempStorage() function into
invalidateTempStorage(). (CVS 2171)

FossilOrigin-Name: 772e22cbd69463be41c2e73b4fd4eb33946193c4

20 years agoThe optimizer now uses only the index and ignores the table if it can get
drh [Sun, 19 Dec 2004 00:11:35 +0000 (00:11 +0000)] 
The optimizer now uses only the index and ignores the table if it can get
away with doing so, thus saving a single BTree search per row of result.
This could potentially double the speed of certain queries.  The
code passes all regression tests but new tests to exercise the new
functionality are yet to be added. (CVS 2170)

FossilOrigin-Name: e5aa489453bf31126da6473ef93c89ec27935cde

20 years agoImprovements to the query optimizer. This is a work in progress. (CVS 2169)
drh [Sat, 18 Dec 2004 18:40:26 +0000 (18:40 +0000)] 
Improvements to the query optimizer.  This is a work in progress. (CVS 2169)

FossilOrigin-Name: 9b86993ff721b577b920c7c67fb41d3d4355fe88

20 years agoFix a C++-ism in the previous change to tclsqlite.c. (CVS 2168)
drh [Fri, 17 Dec 2004 20:48:06 +0000 (20:48 +0000)] 
Fix a C++-ism in the previous change to tclsqlite.c. (CVS 2168)

FossilOrigin-Name: b49b8fdd11a5a4aac15ceda58a28bbc852f6f239

20 years agoAdd 'copy' method for tcl interface. Behaves similar to shell .import or COPY statme...
tpoindex [Fri, 17 Dec 2004 15:41:11 +0000 (15:41 +0000)] 
Add 'copy' method for tcl interface.  Behaves similar to shell .import or COPY statment in 2.x. (CVS 2167)

FossilOrigin-Name: a9311d9df054a91e231d4e4332df0d661675744d

20 years agoMake sure LIMITs are handled correctly on UNION operators. Ticket #1035. (CVS 2166)
drh [Thu, 16 Dec 2004 21:09:16 +0000 (21:09 +0000)] 
Make sure LIMITs are handled correctly on UNION operators.  Ticket #1035. (CVS 2166)

FossilOrigin-Name: ece0085f86bd715c95a6c59f41b4a97de2555faf

20 years agoMinor code and comment cleanup. (CVS 2165)
drh [Tue, 14 Dec 2004 03:34:34 +0000 (03:34 +0000)] 
Minor code and comment cleanup. (CVS 2165)

FossilOrigin-Name: d012628a78edaa8d3cb438a7dcc3770b2eb8588b

20 years agoFactor the test for zName==NULL out of the loop. Ticket #1032. (CVS 2164)
drh [Fri, 10 Dec 2004 18:00:04 +0000 (18:00 +0000)] 
Factor the test for zName==NULL out of the loop.  Ticket #1032. (CVS 2164)

FossilOrigin-Name: 7f38f67c7b427ea46db2e95fdfadc1aae064c704

20 years agoFix a problem with the automatic generation of the opcode name table. (CVS 2163)
drh [Fri, 10 Dec 2004 17:17:18 +0000 (17:17 +0000)] 
Fix a problem with the automatic generation of the opcode name table. (CVS 2163)

FossilOrigin-Name: 9eefabc92d3924bcaa2ae0f425fe5635824c64ec

20 years agoBack out the USE_TCL_STUBS changes because it breaks the build. I think
drh [Fri, 10 Dec 2004 03:08:12 +0000 (03:08 +0000)] 
Back out the USE_TCL_STUBS changes because it breaks the build.  I think
the strategy needs to be to abandon libtool and use tcl.m4 to figure out how
to build our own shared libraries.  Ticket #1034. (CVS 2162)

FossilOrigin-Name: 7f4679b92ec764bf5c11a0f19876073a94742092

20 years agoImprovements to the --help option to configure. Ticket #1033. (CVS 2161)
drh [Fri, 10 Dec 2004 02:20:27 +0000 (02:20 +0000)] 
Improvements to the --help option to configure.  Ticket #1033. (CVS 2161)

FossilOrigin-Name: 3032cc2b88800e7226e6fab8f5ca7a7e8dbac36e

20 years agoAdd a -DUSE_TCL_STUBS to the standard Makefile. This might help with
drh [Fri, 10 Dec 2004 02:08:41 +0000 (02:08 +0000)] 
Add a -DUSE_TCL_STUBS to the standard Makefile.  This might help with
ticket #1034.  Or maybe not. (CVS 2160)

FossilOrigin-Name: 4c30c373ef674505d275e4a1e8868c9f72a3a1ef

20 years agoEnhance sqlite3_bind_parameter_index so that is does not segfault if
drh [Thu, 9 Dec 2004 18:29:13 +0000 (18:29 +0000)] 
Enhance sqlite3_bind_parameter_index so that is does not segfault if
you call it incorrectly by passing NULL in place of the parameter name.
Ticket #1032. (CVS 2159)

FossilOrigin-Name: bf81aabff1303b66f12d28b730d19b7cbdb2de6a

20 years agoOnly evaluate expressions once for UPDATE and INSERT statements that
drh [Tue, 7 Dec 2004 15:41:48 +0000 (15:41 +0000)] 
Only evaluate expressions once for UPDATE and INSERT statements that
have BEFORE triggers.  Fix for ticket #980. (CVS 2158)

FossilOrigin-Name: 4852186aca3be6ea40069b6831079197e5fa757a

20 years agoSimplify the trigger logic for DELETE, INSERT, and UPDATE. (CVS 2157)
drh [Tue, 7 Dec 2004 14:06:13 +0000 (14:06 +0000)] 
Simplify the trigger logic for DELETE, INSERT, and UPDATE. (CVS 2157)

FossilOrigin-Name: 8e164ab27771aced9a592ea4b7c27e9f184181a5

20 years agoRemove the unused sqlite3_context.isStep element. (CVS 2156)
drh [Tue, 7 Dec 2004 12:29:17 +0000 (12:29 +0000)] 
Remove the unused sqlite3_context.isStep element. (CVS 2156)

FossilOrigin-Name: 7b20f2b71f679e72b6cb3b78ccb31b4e7c4bd48b

20 years agoUpdates to API documentation and comments in sqlite3.h. (CVS 2155)
drh [Tue, 7 Dec 2004 02:14:51 +0000 (02:14 +0000)] 
Updates to API documentation and comments in sqlite3.h. (CVS 2155)

FossilOrigin-Name: 46584348f3cc10c0c6e9ba42110a6c03caf1497e

20 years agoGet the build of sqlite3_analyzer working with Makefile.in. (CVS 2154)
drh [Thu, 2 Dec 2004 20:17:00 +0000 (20:17 +0000)] 
Get the build of sqlite3_analyzer working with Makefile.in. (CVS 2154)

FossilOrigin-Name: f7415a0d6433980ff6c25cf2238f5e9881c38873

20 years agoDisable the cursors. "make install" now builds and installs a TCL package
drh [Sat, 27 Nov 2004 15:52:16 +0000 (15:52 +0000)] 
Disable the cursors.  "make install" now builds and installs a TCL package
for SQLite if TCL is installed on the system. (CVS 2153)

FossilOrigin-Name: d75014c299496a02f6850545beb0ab669802bf87

20 years agoThe configure script now automatically detects tclConfig.sh and builds the
drh [Thu, 25 Nov 2004 13:50:01 +0000 (13:50 +0000)] 
The configure script now automatically detects tclConfig.sh and builds the
Tcl extension only if tclConfig.sh is present.  The Tcl extension can be
disabled using --disable-tcl. (CVS 2152)

FossilOrigin-Name: 12424bef7770f3d256d386251477a1da78be2bde

20 years agoFix a memory leak in pager.c. (CVS 2151)
drh [Wed, 24 Nov 2004 01:16:43 +0000 (01:16 +0000)] 
Fix a memory leak in pager.c. (CVS 2151)

FossilOrigin-Name: 0ad4ed87ce1112663ca94805dea167372485396a

20 years agofulltest runs now, but still finds a memory leak. (CVS 2150)
drh [Tue, 23 Nov 2004 22:16:39 +0000 (22:16 +0000)] 
fulltest runs now, but still finds a memory leak. (CVS 2150)

FossilOrigin-Name: 5944d51e6c164270301b57e4351add4cb6137be6

20 years agoFix a memory leak in ALTER TABLE. (CVS 2149)
danielk1977 [Tue, 23 Nov 2004 16:31:16 +0000 (16:31 +0000)] 
Fix a memory leak in ALTER TABLE. (CVS 2149)

FossilOrigin-Name: ba71716ce21ae99b10b2d0b61092497872770ef7

20 years agoAdd authorization callbacks for REINDEX. (CVS 2148)
danielk1977 [Tue, 23 Nov 2004 15:41:16 +0000 (15:41 +0000)] 
Add authorization callbacks for REINDEX. (CVS 2148)

FossilOrigin-Name: 9f0d744ee4d99f44e88c6f799821791c3b5f31b6

20 years agoInclude the 'FOR' keyword in builds that include cursors but not triggers. (CVS 2147)
danielk1977 [Tue, 23 Nov 2004 12:24:13 +0000 (12:24 +0000)] 
Include the 'FOR' keyword in builds that include cursors but not triggers. (CVS 2147)

FossilOrigin-Name: 3053d82d7192ff77ff5f1fee143d784d5d51772a

20 years agoMake the test suite pass when SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS is defined. (CVS...
danielk1977 [Tue, 23 Nov 2004 11:16:42 +0000 (11:16 +0000)] 
Make the test suite pass when SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS is defined. (CVS 2146)

FossilOrigin-Name: ff20c623c64d67b19c13c4fd3afe8ea137bb8a0b

20 years agoEnsure the test suite runs with SQLITE_OMIT_PAGER_PRAGMAS defined. (CVS 2145)
danielk1977 [Tue, 23 Nov 2004 10:52:51 +0000 (10:52 +0000)] 
Ensure the test suite runs with SQLITE_OMIT_PAGER_PRAGMAS defined. (CVS 2145)

FossilOrigin-Name: 2d1f0b923d3c5a669959a03a4344fddcb69c7a98

20 years agoHave tests pass when SQLITE_OMIT_SCHEMA_PRAGMAS is defined. (CVS 2144)
danielk1977 [Tue, 23 Nov 2004 10:13:03 +0000 (10:13 +0000)] 
Have tests pass when SQLITE_OMIT_SCHEMA_PRAGMAS is defined. (CVS 2144)

FossilOrigin-Name: 6ccb589bd94fc7d33e07caa39e011c3628563e9b

20 years agoFix a bug involving balance_shallow() and the sqlite_master table. (CVS 2143)
danielk1977 [Tue, 23 Nov 2004 09:06:55 +0000 (09:06 +0000)] 
Fix a bug involving balance_shallow() and the sqlite_master table. (CVS 2143)

FossilOrigin-Name: 557be3ff5b1c46a3f3836ea3a9d9dede5dc46998

20 years agoMore work on the implementation of cursors, but they are still not
drh [Tue, 23 Nov 2004 01:47:30 +0000 (01:47 +0000)] 
More work on the implementation of cursors, but they are still not
functioning. (CVS 2142)

FossilOrigin-Name: 8b61d1ae1ca469b80f2b344d550c3b363448b193

20 years agoAdd initial infrastructure for cursors. In where.c, optimize out clauses
drh [Mon, 22 Nov 2004 19:12:19 +0000 (19:12 +0000)] 
Add initial infrastructure for cursors.  In where.c, optimize out clauses
of the form "ORDER BY rowid" if a table scan is being performed.  Do a
reverse table scan if "ORDER BY rowid DESC" is present. (CVS 2141)

FossilOrigin-Name: fc8c1393c86017a816beb52725b68af3b973f979

20 years agoFix a long-standing bug in btree.c in the sqlite3BtreePrevious() routine.
drh [Mon, 22 Nov 2004 19:07:09 +0000 (19:07 +0000)] 
Fix a long-standing bug in btree.c in the sqlite3BtreePrevious() routine.
The problem has gone unnoticed before now because it only occurs when you
use the OP_Prev opcode on a B+Tree. (CVS 2140)

FossilOrigin-Name: 3d2536c479c943b3a55047898068625f91c872ae

20 years agoFix a couple of extra test-suite problems with SQLITE_OMIT_VIEW. (CVS 2139)
danielk1977 [Mon, 22 Nov 2004 15:05:58 +0000 (15:05 +0000)] 
Fix a couple of extra test-suite problems with SQLITE_OMIT_VIEW. (CVS 2139)

FossilOrigin-Name: 894c142d115b31506b6b8212e1b850ea28c4ca11

20 years agoEnsure tests pass when SQLITE_OMIT_COMPOUND_SELECT is defined. (CVS 2138)
danielk1977 [Mon, 22 Nov 2004 13:35:41 +0000 (13:35 +0000)] 
Ensure tests pass when SQLITE_OMIT_COMPOUND_SELECT is defined. (CVS 2138)

FossilOrigin-Name: 007be591b7829f9ff38e4b14ba5a5043796c2ff3

20 years agoEnsure tests pass when SQLITE_OMIT_TRIGGER is defined. (CVS 2137)
danielk1977 [Mon, 22 Nov 2004 11:51:13 +0000 (11:51 +0000)] 
Ensure tests pass when SQLITE_OMIT_TRIGGER is defined. (CVS 2137)

FossilOrigin-Name: 53894988ac1ad44ec65a1e1c420e2a26eb4c2efd

20 years agoFix a test-suite error made in check-in (2132) (CVS 2136)
danielk1977 [Mon, 22 Nov 2004 10:20:13 +0000 (10:20 +0000)] 
Fix a test-suite error made in check-in (2132) (CVS 2136)

FossilOrigin-Name: 48c7eb7fb9fbc2166aaa7dbdb7c7e92c68f8eff3

20 years agoBack out changes allowing writes to tables that have open cursors. (CVS 2135)
danielk1977 [Mon, 22 Nov 2004 10:02:23 +0000 (10:02 +0000)] 
Back out changes allowing writes to tables that have open cursors. (CVS 2135)

FossilOrigin-Name: ec6b48f4b2abea231b050a8a9d18c2ab12579c8e