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

skeema / skeema / 5907318228 / 1
93%
main: 92%

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

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.

9260 of 9944 relevant lines covered (93.12%)

1.11 hits per line

Source Files on job 5907318228.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5907318228
  • 0acd79b6 on github
  • Prev Job for on routine-diff-refactor (#5872572661.1)
  • Next Job for on routine-diff-refactor (#5907689321.1)
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