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

skeema / skeema / 15031388178
93%
main: 92%

Build:
Build:
LAST BUILD BRANCH: remove-sqlx-callsites
DEFAULT BRANCH: main
Ran 14 May 2025 09:27PM UTC
Jobs 1
Files 79
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

14 May 2025 09:22PM UTC coverage: 93.178% (+0.03%) from 93.15%
15031388178

push

github

evanelias
MariaDB: support role-based DEFINERs for stored objects

User roles are represented differently in MySQL vs MariaDB. In MySQL, they are
internally formatted like user names (user@host), although the host portion is
almost always "%" and is optional in hand-written SQL. Meanwhile in MariaDB,
the host portion is always omitted entirely; roles are essentially just bare
usernames with the @host portion.

This affects DEFINER clauses of stored programs, when using a role as the
DEFINER. Previously, Skeema was unable to operate on any MariaDB schema
using roles as DEFINERs. This commit fixes handling of such stored programs
across all commands.

This commit also improves lint-definer to allow role name patterns to be
listed in allow-definer. The default permissive allow-definer of %@%
intentionally now permits role-based definers, but otherwise allowed role
definers should be configured without the @ symbol or hostname portion.

101 of 103 new or added lines in 4 files covered. (98.06%)

10435 of 11199 relevant lines covered (93.18%)

1.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
97.3
internal/tengo/definer.go
Jobs
ID Job ID Ran Files Coverage
1 15031388178.1 14 May 2025 09:27PM UTC 79
93.18
GitHub Action Run
Source Files on build 15031388178
  • Tree
  • List 79
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ac6e8db6 on github
  • Prev Build on main (#14845206778)
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