<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sqlite.git/test/delete.test, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/atom/test/delete.test?h=master</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/atom/test/delete.test?h=master'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/'/>
<updated>2023-03-16T10:17:30Z</updated>
<entry>
<title>Do not use the one-pass optimization on an UPDATE if there is a subquery</title>
<updated>2023-03-16T10:17:30Z</updated>
<author>
<name>drh</name>
<email></email>
</author>
<published>2023-03-16T10:17:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/commit/?id=7d5a5491215eb48acba22a81067aae2661bb2fd6'/>
<id>urn:sha1:7d5a5491215eb48acba22a81067aae2661bb2fd6</id>
<content type='text'>
in the WHERE clause, since if the subquery is hidden behind a short-circuit
operator, the subquery might not be evaluated until after one or more rows
have been updated.  Fix for the problem reported by
[forum:/forumpost/0007d1fdb1|forum post 0007d1fdb1].  This is the same
problem that was fixed by [73f0036f045bf371] only for UPDATE instead of
DELETE.

FossilOrigin-Name: 2c56b984a0bd3be5ec326a2109ea7b8f1d4ef63c8fc325caac9663cf2479eaff</content>
</entry>
<entry>
<title>Disallow the one-pass optimization for DELETE if the WHERE clause contains</title>
<updated>2023-03-15T17:58:51Z</updated>
<author>
<name>drh</name>
<email></email>
</author>
<published>2023-03-15T17:58:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/commit/?id=ffcad5893aa40c52629d02851b05de20cee60f0d'/>
<id>urn:sha1:ffcad5893aa40c52629d02851b05de20cee60f0d</id>
<content type='text'>
a subquery.  Fix for the problem reported by
[forum:/forumpost/e61252062c9d286d|forum post e61252062c9d286d].  This fix
is more restrictive than necessary.  It could be relaxed if the subquery does
not involve the table that is the subject of the DELETE.

FossilOrigin-Name: 73f0036f045bf37193b6e87ae45b578c5831614c530488257c69666178da3aa5</content>
</entry>
<entry>
<title>Fix a problem causing sqlite3_changes() to return an incorrect value following a "DELETE FROM tbl" command on an intkey table (because internal b+tree cells were being included in the count).</title>
<updated>2021-06-22T18:06:23Z</updated>
<author>
<name>dan</name>
<email>Dan Kennedy</email>
</author>
<published>2021-06-22T18:06:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/commit/?id=020c4f38308398795f4906b2f2669f6abb3d9137'/>
<id>urn:sha1:020c4f38308398795f4906b2f2669f6abb3d9137</id>
<content type='text'>
FossilOrigin-Name: f662ff4746aaa43e63e20710b8cbfeeceab3183e953ac1685c41846d2e9d124c</content>
</entry>
<entry>
<title>Fix the truncate optimization so that PRAGMA count_changes and changes()</title>
<updated>2021-06-03T18:51:51Z</updated>
<author>
<name>drh</name>
<email></email>
</author>
<published>2021-06-03T18:51:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/commit/?id=a6df0e693f0362c7f2b33d91ffa29770ae98b1ef'/>
<id>urn:sha1:a6df0e693f0362c7f2b33d91ffa29770ae98b1ef</id>
<content type='text'>
return correct values even for a WITHOUT ROWID table.
[forum:/forumpost/07dedbf9a1|Forum post 07dedbf9a1].

FossilOrigin-Name: 820ae3b117c2d8c117c0c5a4e440a7d06886772516c7fc0a84606388f91be195</content>
</entry>
<entry>
<title>Fix the table name aliasing on INSERT so that it occurs before the column list</title>
<updated>2018-04-19T11:45:16Z</updated>
<author>
<name>drh</name>
<email>drh@noemail.net</email>
</author>
<published>2018-04-19T11:45:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/commit/?id=5e3a6ebf34aac81972b2ca9809494b8e7485c8d4'/>
<id>urn:sha1:5e3a6ebf34aac81972b2ca9809494b8e7485c8d4</id>
<content type='text'>
rather than afterwards, just as it does for PostgreSQL.  Add table name
aliasing to UPDATE and DELETE.

FossilOrigin-Name: 861a2e2a4895f96a5d8e1730e744983b2ac4311d0c2cf201c0e59f409030d5d7</content>
</entry>
<entry>
<title>Fix a problem in internal function sqlite3OpenTableAndIndices causing an operand of an unrelated VM instruction to be overwritten. Fix for [ef360601].</title>
<updated>2016-08-26T12:00:50Z</updated>
<author>
<name>dan</name>
<email>dan@noemail.net</email>
</author>
<published>2016-08-26T12:00:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/commit/?id=61441c3493d91f377ad1dbc1557ee0d800a4ba90'/>
<id>urn:sha1:61441c3493d91f377ad1dbc1557ee0d800a4ba90</id>
<content type='text'>
FossilOrigin-Name: 7090147903337864d54ecfb2cd84a3f823973167</content>
</entry>
<entry>
<title>Experimental change to use a single-pass approach for DELETE statements on non-virtual tables that do not fire triggers or require foriegn-key processing.</title>
<updated>2015-09-12T19:26:11Z</updated>
<author>
<name>dan</name>
<email>dan@noemail.net</email>
</author>
<published>2015-09-12T19:26:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/commit/?id=f0ee1d3c127973f9e643786cfc5cb4b733224399'/>
<id>urn:sha1:f0ee1d3c127973f9e643786cfc5cb4b733224399</id>
<content type='text'>
FossilOrigin-Name: eaeb2b80f6f8f83679c8323a81bb39570ec946fe</content>
</entry>
<entry>
<title>Add retry logic for AV defense to winOpen.  Also, refactor test suite to allow the key Tcl file operations (e.g. copy and delete) to be retried.</title>
<updated>2011-08-02T00:57:34Z</updated>
<author>
<name>mistachkin</name>
<email>mistachkin@noemail.net</email>
</author>
<published>2011-08-02T00:57:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/commit/?id=fda06befd5d323355b2265e7e34628886282c433'/>
<id>urn:sha1:fda06befd5d323355b2265e7e34628886282c433</id>
<content type='text'>
FossilOrigin-Name: 9007586fdabed8dbcc78581ea9821cfd1f9a4c8c</content>
</entry>
<entry>
<title>Remove leftover "breakpoint" commands from test scripts.  Also remove blank</title>
<updated>2009-06-05T17:09:11Z</updated>
<author>
<name>drh</name>
<email>drh@noemail.net</email>
</author>
<published>2009-06-05T17:09:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/commit/?id=dda70fe38e62fee3971239bfb62d79d336ff3185'/>
<id>urn:sha1:dda70fe38e62fee3971239bfb62d79d336ff3185</id>
<content type='text'>
lines at the end of scripts. (CVS 6721)

FossilOrigin-Name: 1fef16ec2b89981770cf44f606a420fbe031a7a4</content>
</entry>
<entry>
<title>Have OP_IdxRowid handle the case where the index entry it is reading from is deleted. (CVS 6461)</title>
<updated>2009-04-07T09:16:56Z</updated>
<author>
<name>danielk1977</name>
<email>danielk1977@noemail.net</email>
</author>
<published>2009-04-07T09:16:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/sqlite.git/commit/?id=c4d201c632ae0f5daae3a60918e3e43bd40d0088'/>
<id>urn:sha1:c4d201c632ae0f5daae3a60918e3e43bd40d0088</id>
<content type='text'>
FossilOrigin-Name: cdad29b582ca832f6a717d8a6e3f3bca424e84a4</content>
</entry>
</feed>
