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

skeema / tengo
88%
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 v0.8.1
branch: v0.8.1
CHANGE BRANCH
x
Reset
  • v0.8.1
  • 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
  • routines-rebased
  • 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

pending completion
54

push

travis-ci

evanelias
Fix sort order for foreign keys, especially re: underscores

SHOW CREATE TABLE shows foreign keys sorted by name, which Go La Tengo attempts
to reproduce when performing schema introspection. However, a BINARY sort order
is needed to correctly match the order in SHOW CREATE TABLE. In particular,
underscores need to be sorted as they are in ascii (after uppercase chars but
before lowercase chars), rather than as they are in non-binary MySQL collations
(after all chars regardless of case).

This commit also has TengoIntegrationSuite.TestInstanceSchemaIntrospection() now
confirm that foreign keys are in the correct order, by virtue of adding several
foreign keys to a fixture table that trigger the previous bug condition.

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

1755 of 2002 relevant lines covered (87.66%)

104.8 hits per line

Relevant lines Covered
Build:
Build:
2002 RELEVANT LINES 1755 COVERED LINES
104.8 HITS PER LINE
Source Files on v0.8.1
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
54 v0.8.1 Fix sort order for foreign keys, especially re: underscores SHOW CREATE TABLE shows foreign keys sorted by name, which Go La Tengo attempts to reproduce when performing schema introspection. However, a BINARY sort order is needed to correctly mat... push 13 Jul 2018 05:58AM UTC evanelias travis-ci pending completion  
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