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

skeema / tengo
92%
main: 94%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.10.3
DEFAULT BRANCH: main
Repo Added 04 May 2018 05:02AM UTC
Files 18
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

LAST BUILD ON BRANCH routines
branch: routines
CHANGE BRANCH
x
Reset
  • routines
  • bulkdropopts
  • ci-golint-fix
  • col-reorder-algo
  • conn-refactor
  • dep-golang-19
  • fix-gomod-err
  • fk-order-mysql55
  • flavor-patch
  • foreign-keys
  • generated-cols
  • ghactions
  • index-ordering
  • introspection-params
  • key-col-name-only
  • main
  • mariadb106
  • master
  • partitioning
  • refs/tags/v0.10.0
  • refs/tags/v0.10.1
  • refs/tags/v0.10.3
  • refs/tags/v0.9.4
  • refs/tags/v0.9.5
  • refs/tags/v0.9.6
  • refs/tags/v0.9.7
  • remove-caching
  • reuse-containers
  • routines-rebased
  • v0.8.1
  • v0.8.10
  • v0.8.11
  • v0.8.12
  • v0.8.13
  • v0.8.14
  • v0.8.15
  • v0.8.16
  • v0.8.17
  • v0.8.18
  • v0.8.19
  • v0.8.2
  • v0.8.3
  • v0.8.4
  • v0.8.5
  • v0.8.7
  • v0.8.8
  • v0.8.9
  • v0.9.0
  • v0.9.1
  • v0.9.2
  • v0.9.3

18 Feb 2019 11:06PM UTC coverage: 91.776% (+0.1%) from 91.673%
113

push

travis-ci

evanelias
Routines: Query mysql.proc if available for faster introspection

In flavors where mysql.proc still exists (currently everything but MySQL 8.0
and Percona Server 8.0), introspection of routines now queries mysql.proc
once in bulk, instead of running concurrent SHOW CREATE queries. This is
potentially a major speed-up for pre-8.0 users who have a very large number
of routines.

This commit also fixes potential character conversion problems with the Body
field of the Routines struct. Previously it was always populated from
information_schema.routines.body, but that is not consistently suitable for
returning SQL that can be re-executed. Instead, the Body is now obtained from
either mysql.proc or by parsing SHOW CREATE output.

For more information on the problem with information_schema.routines.body, see
this excellent blog post by Peter Gulutzan:
https://ocelot.ca/blog/blog/2017/08/22/no-more-mysql-proc-in-mysql-8-0/

37 of 37 new or added lines in 2 files covered. (100.0%)

2388 of 2602 relevant lines covered (91.78%)

153.93 hits per line

Relevant lines Covered
Build:
Build:
2602 RELEVANT LINES 2388 COVERED LINES
153.93 HITS PER LINE
Source Files on routines
  • List 0
  • Changed 9
  • Source Changed 2
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
113 routines Routines: Query mysql.proc if available for faster introspection In flavors where mysql.proc still exists (currently everything but MySQL 8.0 and Percona Server 8.0), introspection of routines now queries mysql.proc once in bulk, instead of runni... push 19 Feb 2019 09:55PM UTC evanelias travis-ci
91.78
112 routines Add ObjectKey and Schema.ObjectDefinitions() This commit adds some reusable data structures and methods for interacting with DB objects that span multiple object types. This commit also removes SchemaDiff's tracking of unchanged objects, as this... push 14 Feb 2019 05:10PM UTC evanelias travis-ci
91.67
111 routines Add Schema.Dictionary() which contains objects of all types This commit adds some reusable data structures for interacting with a list of DB objects that span multiple object types. This commit also removes SchemaDiff's tracking of unchanged obj... push 13 Feb 2019 11:42PM UTC evanelias travis-ci
91.64
110 routines Add new ObjectType type, replacing magic strings and RoutineType This commit replaces the magic strings from ObjectDiff.ObjectType(), as well as the new RoutineType type, with a combined notion of ObjectType type that can represent tables, databa... push 09 Feb 2019 02:49AM UTC evanelias travis-ci
91.63
109 routines Routines: implement diff logic Each SchemaDiff value now includes DDL for creating or dropping routines. For now, any alter to a routine is handled by a DROP and re-CREATE. (Most routine modifications require this anyway, but some metadata-only c... push 08 Feb 2019 06:39AM UTC evanelias travis-ci
91.64
108 routines Routines: Add integration testing This commit also fixes a few bugs discovered from the test. push 06 Feb 2019 10:32PM UTC evanelias travis-ci
91.55
See All Builds (266)
  • Repo on GitHub
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

© 2025 Coveralls, Inc