Skip to content

Escape table names when detecting full-text indexes - #931

Merged
simonw merged 3 commits into
simonw:mainfrom
IlyaKhalafi:campaign30/2026-11-06/sqlite-utils
Nov 29, 2026
Merged

simonw merged 3 commits into
simonw:mainfrom
IlyaKhalafi:campaign30/2026-11-06/sqlite-utils

Conversation

@IlyaKhalafi

@IlyaKhalafi IlyaKhalafi commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR fixes FTS detection selecting another table’s index when a table name contains _ or %. With this, searches use the index belonging to the requested table.

Fixes:

Both normal and autocommit test runs pass with 1,504 passed and 16 optional skips. Black, flake8, mypy and Pyright pass.


📚 Documentation preview 📚: https://sqlite-utils--931.org.readthedocs.build/en/931/

@simonw simonw added the bug Something isn't working label Nov 29, 2026
@simonw

simonw commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Good fix, thanks.

simonw and others added 2 commits November 29, 2026 13:02
Brings in the removal of a redundant cast flagged by newer ty and the
removal of the retired macos-14 runner, which were failing CI on this branch.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@simonw
simonw merged commit 588a14b into simonw:main Nov 29, 2026
41 checks passed
simonw added a commit that referenced this pull request Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants