<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/_sqlite, branch 3.10</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.10] gh-94321: Document sqlite3.PrepareProtocol (GH-94620) (#94671)</title>
<updated>2022-07-07T23:44:09+00:00</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2022-07-07T23:44:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=797745e749d06d7854605b184892dc07572d84bd'/>
<id>797745e749d06d7854605b184892dc07572d84bd</id>
<content type='text'>
(cherry picked from commit fb6dccae348b954d9f625031b54711a9a33da525)

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@protonmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit fb6dccae348b954d9f625031b54711a9a33da525)

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@protonmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] gh-90016: Reword sqlite3 adapter/converter docs (GH-93095) (#94273)</title>
<updated>2022-06-25T20:55:38+00:00</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2022-06-25T20:55:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=deb4d0457ff368141a8939de6b06edc04621e831'/>
<id>deb4d0457ff368141a8939de6b06edc04621e831</id>
<content type='text'>
Also add adapters and converter recipes.

Co-authored-by: CAM Gerlach &lt;CAM.Gerlach@Gerlach.CAM&gt;
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com.
(cherry picked from commit bd3c1c187e0e4fde5aec6835d180e9eddde8ceb6)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add adapters and converter recipes.

Co-authored-by: CAM Gerlach &lt;CAM.Gerlach@Gerlach.CAM&gt;
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com.
(cherry picked from commit bd3c1c187e0e4fde5aec6835d180e9eddde8ceb6)</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] gh-93925: Improve clarity of sqlite3 commit/rollback, and close docs (GH-93926) (#94011)</title>
<updated>2022-06-19T19:43:03+00:00</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@innova.no</email>
</author>
<published>2022-06-19T19:43:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c4440e6bc0d116a0dc7dfc1714bd2f5d3fee751e'/>
<id>c4440e6bc0d116a0dc7dfc1714bd2f5d3fee751e</id>
<content type='text'>
Co-authored-by: CAM Gerlach &lt;CAM.Gerlach@Gerlach.CAM&gt;.
(cherry picked from commit 6446592c89b0c581c00e170ae6278291e940755c)

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@innova.no&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: CAM Gerlach &lt;CAM.Gerlach@Gerlach.CAM&gt;.
(cherry picked from commit 6446592c89b0c581c00e170ae6278291e940755c)

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@innova.no&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] gh-79579: Improve DML query detection in sqlite3 (GH-93623) (#93801)</title>
<updated>2022-06-14T13:05:36+00:00</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@innova.no</email>
</author>
<published>2022-06-14T13:05:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2229d34a6ef9c03e476882f46bba4d7c83552d1e'/>
<id>2229d34a6ef9c03e476882f46bba4d7c83552d1e</id>
<content type='text'>
The fix involves using pysqlite_check_remaining_sql(), not only to check
for multiple statements, but now also to strip leading comments and
whitespace from SQL statements, so we can improve DML query detection.

pysqlite_check_remaining_sql() is renamed lstrip_sql(), to more
accurately reflect its function, and hardened to handle more SQL comment
corner cases.

(cherry picked from commit 46740073ef32bf83964c39609c7a7a4772c51ce3)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fix involves using pysqlite_check_remaining_sql(), not only to check
for multiple statements, but now also to strip leading comments and
whitespace from SQL statements, so we can improve DML query detection.

pysqlite_check_remaining_sql() is renamed lstrip_sql(), to more
accurately reflect its function, and hardened to handle more SQL comment
corner cases.

(cherry picked from commit 46740073ef32bf83964c39609c7a7a4772c51ce3)</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] gh-93421: Update sqlite3 cursor.rowcount only after SQLITE_DONE (GH-93526) (GH-93599)</title>
<updated>2022-06-08T11:31:14+00:00</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2022-06-08T11:31:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9cc0afcb8782c22575fa91756c54029c7e774dfb'/>
<id>9cc0afcb8782c22575fa91756c54029c7e774dfb</id>
<content type='text'>
(cherry picked from commit 875de61)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 875de61)</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] gh-80254: Disallow recursive usage of cursors in `sqlite3` converters (#92274)</title>
<updated>2022-05-05T19:46:21+00:00</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2022-05-05T19:46:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2a2421e538f9f7ceb419074909a313ba2c46f384'/>
<id>2a2421e538f9f7ceb419074909a313ba2c46f384</id>
<content type='text'>
* [3.10] gh-80254: Disallow recursive usage of cursors in `sqlite3` converters (#29054)

(cherry picked from commit f629dcfe835e349433e4c5099381d668e8fe69c8)

Co-authored-by: Sergey Fedoseev &lt;fedoseev.sergey@gmail.com&gt;
Co-authored-by: Jelle Zijlstra &lt;jelle.zijlstra@gmail.com&gt;

* Fix ref leak in pysqlite_cursor_iternext</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [3.10] gh-80254: Disallow recursive usage of cursors in `sqlite3` converters (#29054)

(cherry picked from commit f629dcfe835e349433e4c5099381d668e8fe69c8)

Co-authored-by: Sergey Fedoseev &lt;fedoseev.sergey@gmail.com&gt;
Co-authored-by: Jelle Zijlstra &lt;jelle.zijlstra@gmail.com&gt;

* Fix ref leak in pysqlite_cursor_iternext</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] gh-89301: Fix regression with bound values in traced SQLite statements (#92147)</title>
<updated>2022-05-02T16:21:13+00:00</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2022-05-02T16:21:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=178d79ae67848e129958172e8a9ca4838f8503b9'/>
<id>178d79ae67848e129958172e8a9ca4838f8503b9</id>
<content type='text'>
(cherry picked from commit 721aa96540bb96700f8c4bab0b4095b43491dca1)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 721aa96540bb96700f8c4bab0b4095b43491dca1)</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] sqlite3: normalise pre-acronym determiners (GH-31772) (GH-31806)</title>
<updated>2022-03-12T01:10:55+00:00</updated>
<author>
<name>Jelle Zijlstra</name>
<email>jelle.zijlstra@gmail.com</email>
</author>
<published>2022-03-12T01:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d8ba5c102c54a5f0944638df4b6cda689faba7fa'/>
<id>d8ba5c102c54a5f0944638df4b6cda689faba7fa</id>
<content type='text'>
For consistency, replace "a SQL" with "an SQL"..
(cherry picked from commit 2d5835a019a46573d5b1b614c8ef88d6b564d8d4)

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@innova.no&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For consistency, replace "a SQL" with "an SQL"..
(cherry picked from commit 2d5835a019a46573d5b1b614c8ef88d6b564d8d4)

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@innova.no&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] Docstring: replace pysqlite with sqlite3 (GH-31758) (GH-31777)</title>
<updated>2022-03-09T18:19:27+00:00</updated>
<author>
<name>Jelle Zijlstra</name>
<email>jelle.zijlstra@gmail.com</email>
</author>
<published>2022-03-09T18:19:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5dfe9817912cd020389f3e15e6d5ea98b08a543f'/>
<id>5dfe9817912cd020389f3e15e6d5ea98b08a543f</id>
<content type='text'>
Replace two instances of "pysqlite" with "sqlite3" in sqlite3
docstrings. Also reword "is a no-op" to "does nothing" for clarity..
(cherry picked from commit b33a1ae703338e09dc0af5fbfd8ffa01d3ff75da)

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@innova.no&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace two instances of "pysqlite" with "sqlite3" in sqlite3
docstrings. Also reword "is a no-op" to "does nothing" for clarity..
(cherry picked from commit b33a1ae703338e09dc0af5fbfd8ffa01d3ff75da)

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@innova.no&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] bpo-46878: Purge 'non-standard' from sqlite3 docstrings (GH-31612) (GH-31753)</title>
<updated>2022-03-08T15:30:14+00:00</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@innova.no</email>
</author>
<published>2022-03-08T15:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f3d3b2d5c5599272660f4bbd5103aa8abc7c48c4'/>
<id>f3d3b2d5c5599272660f4bbd5103aa8abc7c48c4</id>
<content type='text'>
(cherry picked from commit 4d95fa1ac5d31ff450fb2f31b55ce1eb99d6efcb)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 4d95fa1ac5d31ff450fb2f31b55ce1eb99d6efcb)</pre>
</div>
</content>
</entry>
</feed>
