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

MobilityDB / MobilityDB / 23602072690
95%

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2026 03:18PM UTC
Jobs 1
Files 128
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

26 Mar 2026 03:13PM UTC coverage: 95.212%. Remained the same
23602072690

push

github

web-flow
Fix R-tree bugs: node_choose containment, id type, allocator, stack buffer (#771)

- node_choose() checked the root bounding box `&rtree->box` instead of
the i-th child's bbox `RTREE_NODE_BBOX_N(node, i)`, causing all
insertions to go into child 0 and degenerating the tree into a linked
list.

- Normalize id type to int everywhere. The node struct stored int64 ids
but internal functions `(node_insert`, `add_answer`, `node_swap`) and
`rtree_search` used int, silently truncating. An in-memory index won't
exceed `INT_MAX` entries, so int is sufficient and saves 256 bytes per
node.

- node_free/rtree_free used `free()` but nodes/tree are allocated with
`palloc0()`. Use `pfree()` consistently to match the allocator.

- node_swap() and unioned_area() used `STBox` as a stack buffer for
memcpy, relying on the implicit invariant that `STBox` is the largest
bbox type. Use `char buf[sizeof(STBox)]` to make this explicit and
self-documenting.

32652 of 34294 relevant lines covered (95.21%)

1141057.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23602072690.1 26 Mar 2026 03:18PM UTC 128
95.21
GitHub Action Run
Source Files on build 23602072690
  • Tree
  • List 128
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 629a9106 on github
  • Prev Build on master (#23436891017)
  • Next Build on master (#23604155451)
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