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

geoalchemy / geoalchemy2 / 41672154898
94%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 04:22PM UTC
Jobs 5
Files 31
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

03 Nov 2026 04:14PM UTC coverage: 94.262% (+0.02%) from 94.239%
41672154898

push

github

web-flow
Fix: Render boolean functions bare in MySQL and MariaDB filters (#625)

Since 0.18 (#540), spatial predicates like ST_Contains have a Boolean
return type. MySQL and MariaDB do not support native booleans, so
SQLAlchemy rendered them as `ST_Contains(...) = 1` when used as filters,
which prevents these servers from using spatial indexes (MySQL bug
#76384) and leads to full table scans.

Compile GeoAlchemy2 boolean functions used as filters bare on MySQL and
MariaDB (`ST_Contains(...)` and `NOT ST_Contains(...)`). Other dialects
keep the comparison, which is required by MSSQL and by SpatiaLite, whose
predicates return -1 for NULL arguments. Other boolean expressions are
not affected.

1244 of 1458 branches covered (85.32%)

3943 of 4183 relevant lines covered (94.26%)

9.88 hits per line

Coverage Regressions

Lines Coverage ∆ File
42
91.13
0.19% admin/dialects/mysql.py
1
99.15
0.04% admin/dialects/mariadb.py
Jobs
ID Job ID Ran Files Coverage
1 run-pypy3.11 - 41672154898.1 03 Nov 2026 04:22PM UTC 62
79.58
GitHub Action Run
2 run-3.12 - 41672154898.2 03 Nov 2026 04:23PM UTC 93
92.41
GitHub Action Run
3 run-3.10 - 41672154898.3 03 Nov 2026 04:23PM UTC 62
91.86
GitHub Action Run
4 run-3.13 - 41672154898.4 03 Nov 2026 04:24PM UTC 62
91.86
GitHub Action Run
5 run-3.11 - 41672154898.5 03 Nov 2026 04:22PM UTC 62
91.86
GitHub Action Run
Source Files on build 41672154898
  • Tree
  • List 31
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41672154898
  • 8a645d5d on github
  • Prev Build on main (#41623566302)
  • Next Build on main (#41813782373)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc