drh
0660884ea0
Add missing VdbeCoverage() macro. Fix an off-by-one error in partial index
...
handling. New test cases. Ticket [c1e19e12046d23fe]
FossilOrigin-Name: 41cc8e3dab998f7efc898d18837ca7fdac94ea3f89954990c5231456bf725fee
2019-10-26 01:43:14 +00:00
drh
a407eccb61
If replace triggers are run during uniqueness checking, then rerun all
...
uniqueness checks a second time using the ABORT algorithm.
Fix for ticket [c1e19e12046d23fe]
FossilOrigin-Name: fbac0c65d8464b126d385262d176864add55452ec9e3d5eb76ffee06e820cb9c
2019-10-26 00:04:21 +00:00
drh
2da8d6fe74
If an AFTER DELETE trigger fires when a conflict row is deleted by REPLACE
...
conflict resolution, make sure the conflict really has been resolved and that
the trigger did not recreate the row before continuing.
Ticket [a8a4847a2d96f5de]
FossilOrigin-Name: eea1e7aa57e74c4329003f4550168e2aed9e33d2301a3ba84b10781a9cebbc1b
2019-10-16 14:56:03 +00:00
drh
554a19dbee
Make sure the btree cursor overflow cache is cleared when overwriting
...
a cell in sqlite3BtreeInsert(). Ticket [3cf9bb227e9a5d32]
FossilOrigin-Name: 7dae7b969ed314605a3a2da2cfdce4d81152740f5d3bfbc2a6e311b13ee325a7
2019-08-12 18:26:46 +00:00
drh
04fcef00ee
Fix a corner-case for the logic that cause an insert of a NULL into an
...
INTEGER PRIMARY KEY column to be converted into a valid integer key,
when the NULL results from a CASE expression that lacks an ELSE clause.
FossilOrigin-Name: 9a425051e7ba59e797636f5cf32b5f6efafdb21c8d5300e099b8008b829c1439
2019-01-17 04:40:04 +00:00
drh
ea64715976
Fix the column cache invalidation logic in the code for ROWID uniqueness
...
constraint checking in the INSERT command. This fixes ticket
[c2432ef9089ee73bd].
FossilOrigin-Name: 0b485a571c805a5bc431a231a196ff6034342c6548d92b09c52814dd57c89c75
2018-06-11 18:06:48 +00:00
drh
e48ae7157a
Make sure sufficient VDBE registers are allocated for an INSERT...SELECT
...
when there is an idlist on the insert table that includes an explicit
rowid. Ticket [9654505cfda93610585fde5a9bbf2e730c8a8d5]
FossilOrigin-Name: 9a2dd18776cc7003752980be0a0920a8799e5f35
2014-05-23 11:48:57 +00:00
drh
8be09304b7
Add a test case for OP_SoftNull.
...
FossilOrigin-Name: f29d194e03d6bcc78bf883b77e591dbccada02f0
2014-02-17 15:40:19 +00:00
drh
05a86c5c0f
Enhance the code generator for INSERT INTO ... SELECT so that the SELECT
...
generates output directly in the registers that INSERT INTO will be using,
in many cases, and OP_SCopy operations can thus be avoided.
FossilOrigin-Name: aa2d8b0e8154dd2f5e2c837dc11ab362b083495b
2014-02-16 01:55:49 +00:00
dan
2f56da3f26
Changes to various test scripts so that veryquick.test runs with OMIT_COMPOUND_SELECT defined.
...
FossilOrigin-Name: 76bb649ee2633226324130f5898622c348f93769
2012-02-13 10:00:35 +00:00
drh
7b113bab79
Add support for multiple rows of VALUES in an INSERT statement.
...
FossilOrigin-Name: eb3b6a0ceb8bfb9fd59ff5fec420f863a9b5c4e4
2012-01-28 15:22:22 +00:00
drh
7c4ac0c555
Improvements to coverage testing. (CVS 3810)
...
FossilOrigin-Name: 38af156da83a8469080ddb75a9a286be33ff6bef
2007-04-05 11:25:58 +00:00
drh
b9bb7c187e
Progress toward CREATE VIRTUAL TABLE. Still not even close to working... (CVS 3211)
...
FossilOrigin-Name: 898ec36b4102aaa03979f8f5c510936e57e2ae48
2006-06-11 23:41:55 +00:00
danielk1977
3bdca9c9a5
Test suite fixes for builds that define OMIT symbols. (CVS 2962)
...
FossilOrigin-Name: 3a54a33dcb7e765ee3773397407e8929a8cfe1a9
2006-01-17 09:35:01 +00:00
danielk1977
ff890793fc
Test file fixes for libaries compiled with various SQLITE_OMIT_ macros. (CVS 2961)
...
FossilOrigin-Name: c058f483a52c8043178b6329aa5e58bedf0c8277
2006-01-16 16:24:25 +00:00
drh
9170dd7e1c
Change the name of the OpenTemp opcode to OpenVirtual which is more
...
descriptive of what it does. (CVS 2541)
FossilOrigin-Name: 3bb9ce5f20d0a6bc19df31df9b8e82044c3e6004
2005-07-08 17:13:46 +00:00
danielk1977
a38b4134e7
Omit a couple of test cases if the library is compiled without subqueries. (CVS 2488)
...
FossilOrigin-Name: 6bc372978364a1a4bfa14732a818a6bba613b1e3
2005-05-29 14:23:12 +00:00
danielk1977
53c0f7480b
Add the SQLITE_OMIT_TEMPDB compile time macro. (CVS 2427)
...
FossilOrigin-Name: c41d55443c2dd532147962b87f542fb7d37075fd
2005-03-29 03:10:59 +00:00
drh
38fba69135
Fix an infinite loop in the code generator for INSERT. Ticket #1140 . (CVS 2410)
...
FossilOrigin-Name: 876d09d9145775956913e975c29e81d7553839ac
2005-03-21 01:20:58 +00:00
danielk1977
3e8c37e7f8
Modify test scripts to work when SQLITE_OMIT_SUBQUERY (along with other OMIT macros) is defined. (CVS 2251)
...
FossilOrigin-Name: bb0254ab14417f0ab40f10f37cb63a60507f070a
2005-01-21 03:12:14 +00:00
danielk1977
3719d7f9c4
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
2005-01-17 08:57:09 +00:00
danielk1977
45901d622c
Ensure the test suite can run with either SQLITE_OMIT_AUTOVACUUM or SQLITE_DEFAULT_AUTOVACUUM=1 defined. (CVS 2087)
...
FossilOrigin-Name: 0747b55882cf218c03b443e1eadec9eb19889554
2004-11-10 15:27:38 +00:00
drh
e497f0051f
Reindex tests added and bugs fixed. (CVS 2075)
...
FossilOrigin-Name: ad433ec2b6bd34e33dfe119668f38fbb978e889d
2004-11-07 13:01:49 +00:00
drh
6bf895708c
Update tests to work even if some features of the library are disabled. (CVS 2050)
...
FossilOrigin-Name: b11fc9b3f3a2711f98e7e45724aa1d30081197f3
2004-11-03 16:27:01 +00:00
drh
ef4ac8f9df
Change the name of the TCL command from "sqlite" to "sqlite3" so that both
...
SQLite version 2 and SQLite version 3 can be used by Tcl at the same time. (CVS 1626)
FossilOrigin-Name: d705d051bed2b92b6c3bbcc75fe5b056633b9c31
2004-06-19 00:16:31 +00:00
danielk1977
452c989fd8
Manifest types in indices. At the moment indices use manifest typing, but
...
some other parts of the SQL engine do not, which can lead to some strange
results. (CVS 1368)
FossilOrigin-Name: 9f2b6d9d3a07e25fcdb7e8290da7a182a65c37b2
2004-05-13 05:16:15 +00:00
danielk1977
bf57cfebc2
Fix a bug that was preventing the library from opening existing files. (CVS 1358)
...
FossilOrigin-Name: ad064bd429602fcac26b377841da90a1a56f5966
2004-05-11 09:50:02 +00:00
drh
ed717fe3b2
Enhance the "PRAGMA integrity_check" command to verify that all indices are
...
correctly constructed. New calls to integrity_check are made in the test
suite. These changes are intended to prevent any future problems such
as seen in ticket #334 . (CVS 1024)
FossilOrigin-Name: c9734c27074d2039a1896a8c6965c08d03711b13
2003-06-15 23:42:24 +00:00
drh
7d02cb73ca
Fix a bug in UPDATE OR REPLACE that was introduced by check-in (999).
...
Also clean up some compiler warnings for VC++. (CVS 1005)
FossilOrigin-Name: af6f2bdf59fb621ff3e1d061e429f01ebd7d0b42
2003-06-04 16:24:39 +00:00
drh
5383ae5c12
Avoid corrupting indices when doing a REPLACE on a table with an
...
INTEGER PRIMARY KEY that also has another index. Ticket #334 . (CVS 999)
FossilOrigin-Name: e813faae0e4086571d13c769f793add7f1f979af
2003-06-04 12:23:30 +00:00
drh
048c530c01
Use a intermediate table when inserting a TEMP table from a SELECT that
...
reads from that same TEMP table. Ticket #275 . (CVS 895)
FossilOrigin-Name: 087d1e83af12b3a9aedd4945f02774a1043b1eb4
2003-04-03 01:50:44 +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
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
aaab5725db
Change the name of the sanity_check PRAGMA to "integrity_check" and make
...
it available on all compiles. (CVS 381)
FossilOrigin-Name: c6e9048e66c8d8e2d5f6c62aa724eef3e9d9f572
2002-02-19 13:39:21 +00:00
drh
e64e7b203e
Allow general expressions in the VALUES clause of an INSERT statement. (CVS 376)
...
FossilOrigin-Name: ec1f3fae6f8cd8466892cd370e1802e492a76e6e
2002-02-18 13:56:36 +00:00
drh
24e97df9c7
Fix a serious bug in INSERT when the source is a SELECT. (CVS 366)
...
FossilOrigin-Name: 20ea737536700b016385c70105a2af8b2bffce2b
2002-02-03 19:06:02 +00:00
drh
b19a2bc603
Disclaimed copyright. Preparing for release 2.0. (CVS 250)
...
FossilOrigin-Name: 4e926efe2b59adfec4086eb1d2ba830238facb4c
2001-09-16 00:13:26 +00:00
drh
c4a3c779b1
Added transaction support (CVS 196)
...
FossilOrigin-Name: 35a8feed0d10e780c477f7440fbe80637fcf9906
2001-04-04 11:48:57 +00:00
drh
5974a30f1a
:-) (CVS 1697)
...
FossilOrigin-Name: 5d773b5d4e9c23b81f53afd0cef7bd2300fff329
2000-06-07 14:42:26 +00:00
drh
7020f6516c
added default values (CVS 46)
...
FossilOrigin-Name: 27c0678623de37f3166cb9952989fd03484cdb8d
2000-06-03 18:06:52 +00:00
drh
1d37e284f7
:-) (CVS 12)
...
FossilOrigin-Name: 20f2811fc19f937ed03bdb0e9d87a40c75452b17
2000-05-30 03:12:21 +00:00
drh
62c6819115
:-) (CVS 11)
...
FossilOrigin-Name: 9818723ee127bc535e79f6876546cc027b4999e6
2000-05-30 00:51:26 +00:00