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

skeema / skeema / 5907318228
93%
main: 92%

Build:
Build:
LAST BUILD BRANCH: remove-sqlx-callsites
DEFAULT BRANCH: main
Ran 18 Aug 2023 09:48PM UTC
Jobs 1
Files 74
Run time 7min
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

18 Aug 2023 09:39PM UTC coverage: 93.121% (-0.06%) from 93.18%
5907318228

push

github

evanelias
diff/push: support ALTER PROCEDURE and ALTER FUNCTION

For some limited types of adjustments to a routine, MySQL and MariaDB both
support ALTER statements to modify the routine's characteristics in-place.
Previously, Skeema would never emit ALTER PROCEDURE or ALTER FUNCTION
statements in these cases; all modifications to routines were handled with
a DROP and CREATE pair in MySQL, or a single CREATE OR REPLACE in MariaDB.

This commit adds the ability for `skeema diff` and `skeema push` to generate
an ALTER statement whenever the desired modification to a routine can be
handled solely with such a statement. In other words, an ALTER will now be
generated for changes that only affect some combination of a routine's SQL
characteristic, SECURITY characteristic, or comment clause.

Such changes are always considered safe (not requiring --allow-unsafe even in
MySQL) because the change is atomic, and does not cause the routine to briefly
not exist.

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

9260 of 9944 relevant lines covered (93.12%)

1.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5907318228.1 18 Aug 2023 09:48PM UTC 0
93.12
GitHub Action Run
Source Files on build 5907318228
Detailed source file information is not available for this build.
  • Back to Repo
  • 0acd79b6 on github
  • Prev Build on routine-diff-refactor (#5872572661)
  • Next Build on routine-diff-refactor (#5907689321)
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