/ Check-in [da587d18]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add new sqlite3_prepare_v3() flag SQLITE_PREPARE_NO_VTAB, for preparing statements that are not allowed to use any virtual tables. Use this to prevent circular references in triggers on virtual table shadow tables from causing resource leaks.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: da587d18575ac06a6b65fec1d106f0cc65bc10f493ca6c6b99117a2162d15a52
User & Date: dan 2018-12-21 20:18:06
Context
2018-12-21
22:08
Improved detection of shadow table corruption in RTREE. check-in: b39bf435 user: drh tags: trunk
20:18
Add new sqlite3_prepare_v3() flag SQLITE_PREPARE_NO_VTAB, for preparing statements that are not allowed to use any virtual tables. Use this to prevent circular references in triggers on virtual table shadow tables from causing resource leaks. check-in: da587d18 user: dan tags: trunk
19:55
Use SQLITE_PREPARE_NO_VTAB in rtree as well. Closed-Leaf check-in: 82a2ae71 user: dan tags: prepare-no-vtab
18:51
In FTS3, avoid calling memcpy() with a NULL source pointer, even if the transfer amount is zero bytes. check-in: 1abb83d2 user: drh tags: trunk
Changes
Unified Diffs Side-by-Side Diffs Patch

Changes to ext/fts3/fts3_write.c.

Changes to ext/fts5/fts5_index.c.

Changes to ext/fts5/fts5_storage.c.

Added ext/fts5/test/fts5circref.test.

Changes to ext/rtree/rtree.c.

Added ext/rtree/rtreecirc.test.

Changes to src/build.c.

Changes to src/prepare.c.

Changes to src/sqlite.h.in.

Changes to src/sqliteInt.h.

Changes to src/trigger.c.

Changes to test/fts3aa.test.