• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

joaoh82 / rust_sqlite / 26737133294
69%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 05:38AM UTC
Jobs 1
Files 62
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jun 2026 05:34AM UTC coverage: 68.985% (+0.2%) from 68.739%
26737133294

push

github

web-flow
SQLR-10 — honor CREATE TABLE IF NOT EXISTS + make sqlrite_master queryable (#151)

Two engine ergonomics gaps that every embedding SDK consumer hits when
writing idempotent "run my schema on startup" migrations:

1. `CREATE TABLE IF NOT EXISTS` was parsed but ignored — a second create
   of an existing table errored "table already exists", unlike
   `CREATE INDEX IF NOT EXISTS`. Now `CreateQuery` carries the
   `if_not_exists` flag and the executor treats a re-create as a no-op
   (by name only; no schema diff, matching SQLite).

2. The schema catalog wasn't reachable from SQL. Added:
   - `SELECT … FROM sqlrite_master` — synthesizes a read-only in-memory
     catalog table on demand (type/name/sql/rootpage/last_rowid), reusing
     the same SQL synthesis the persistence path uses. Works through the
     normal single-table SELECT path (WHERE/projection/ORDER BY/LIMIT);
     reflects live in-memory state. Writes remain rejected; joins against
     it are out of scope.
   - `PRAGMA table_list` — SQLite-canonical lightweight introspection
     (schema/name/type/ncol/wr/strict) listing tables + sqlrite_master.

Covers the REPL and every SDK (all route through execute_select_rows /
process_command). Docs (supported-sql.md, README) updated; the
go-collector example's now-stale workaround comments refreshed.

Tests: parser flag capture; IF NOT EXISTS idempotency + still-errors
without it + fresh-create; sqlrite_master listing/filtering/SELECT */
write-rejection/save-reopen; PRAGMA table_list listing + value-rejection.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

170 of 189 new or added lines in 5 files covered. (89.95%)

11357 of 16463 relevant lines covered (68.98%)

1.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
90.21
-0.37% src/sql/pager/mod.rs
7
92.79
-0.0% src/sql/mod.rs
1
95.91
0.61% src/sql/pragma.rs
Jobs
ID Job ID Ran Files Coverage
1 26737133294.1 01 Jun 2026 05:38AM UTC 62
68.98
GitHub Action Run
Source Files on build 26737133294
  • Tree
  • List 62
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 05fd59cc on github
  • Prev Build on main (#26721426700)
  • Next Build on main (#26738523030)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc