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

codenotary / immudb / 28191445813
85%

Build:
DEFAULT BRANCH: master
Ran 25 Jun 2026 06:31PM UTC
Jobs 1
Files 311
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

25 Jun 2026 06:22PM UTC coverage: 84.981%. Remained the same
28191445813

push

gh-ci

vchaindz
fix(sql): prevent two SQL engine panics introduced in 1.11.0 (#2100)

Two server-crashing panics were reachable from ordinary, valid client
traffic after upgrading to 1.11.0:

1. nil pointer dereference in the disk-spill sort path. The 1.11.0
   projection-pushdown optimization leaves Row.ValuesByPosition[i] nil for
   columns a query does not reference, assuming those slots are never
   accessed. The new file-sort encode path (fileSorter.encodeRow) walked
   every position and called v.Type() on the nil slots, crashing on large
   ORDER BY ... OFFSET result sets that spill to a temp file. encodeRow is
   now a *fileSorter method that substitutes a typed NULL
   (&NullValue{t: s.colTypes[i]}) for nil slots, which round-trips through
   the temp file as SQL NULL.

2. index out of range [0] in db.SQLQuery. Since 1.11.0 the grammar accepts
   empty/comment-only input and ParseSQL returns an empty statement slice
   with no error, so empty probe queries panicked on stmts[0]. Added a
   len(stmts) == 0 guard returning ErrExpectingDQLStmt, matching the
   guard db.SQLExec already uses.

Adds regression tests reproducing both panics.

13 of 13 new or added lines in 2 files covered. (100.0%)

6 existing lines in 3 files now uncovered.

45228 of 53221 relevant lines covered (84.98%)

125406.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
86.92
0.45% embedded/appendable/multiapp/multi_app.go
2
84.23
-0.37% embedded/sql/row_reader.go
2
88.09
-0.36% pkg/server/user.go
Jobs
ID Job ID Ran Files Coverage
1 28191445813.1 25 Jun 2026 06:31PM UTC 311
84.98
Source Files on build 28191445813
  • Tree
  • List 311
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 37ebcefe on github
  • Prev Build on master (#28175662551)
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