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

skeema / skeema / 6241837645
92%

Build:
DEFAULT BRANCH: main
Ran 19 Sep 2023 11:14PM UTC
Jobs 1
Files 74
Run time 3s
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

19 Sep 2023 10:46PM UTC coverage: 93.236% (+0.008%) from 93.228%
6241837645

push

github

evanelias
lint-dupe-index: flag spatial indexes w/o SRID in MySQL 8

This commit enhances lint-dupe-index to flag SPATIAL indexes which lack an
SRID attribute. MySQL 8+ won't use such indexes in queries, as per
https://dev.mysql.com/doc/refman/8.0/en/spatial-index-optimization.html

Although such indexes aren't technically "duplicates", they do fall into the
general category of unnecessary indexes, which is lint-dupe-index's overall
purpose.

This change only takes effect if the database server is actually running
MySQL 8+. Older versions of MySQL lack the SRID attribute and do not ignore
spatial indexes in this way. And although MariaDB does support SRIDs, their
syntax and functionality differs from MySQL's, and they do not affect indexing
in this manner.

23 of 23 new or added lines in 1 file covered. (100.0%)

9414 of 10097 relevant lines covered (93.24%)

1.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6241837645.1 19 Sep 2023 11:14PM UTC 0
93.24
GitHub Action Run
Source Files on build 6241837645
Detailed source file information is not available for this build.
  • Back to Repo
  • 27686f0f on github
  • Prev Build on main (#6238577453)
  • Next Build on main (#6243217134)
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