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

preaction / Minion-Backend-mysql / 135 / 13
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 27 May 2021 10:18PM UTC
Files 1
Run time 0s
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

27 May 2021 10:06PM UTC coverage: 97.026%. Remained the same
COVERAGE=1

push

travis-ci

preaction
add no_txn attribute to disable transactions

A common pattern is to build a database and then run tests in
transactions so that the changes can be rolled back after the test is
complete. However, MySQL does not support nested transactions, so every
`START TRANSACTION` automatically commits any current transaction. So,
this new attribute allows for disabling transactions during tests.

This is despite MySQL supporting `SAVEPOINT`, which is so close to
nested transactions that I don't know why they didn't just add nested
transactions (except, maybe, foolish levels of backwards compatibility).

261 of 269 relevant lines covered (97.03%)

55.27 hits per line

Source Files on job 135.13 (COVERAGE=1)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 118
  • Travis Job 135.13
  • aab2eb96 on github
  • Prev Job for COVERAGE=1 on master (#134.13)
  • Next Job for COVERAGE=1 on master (#137.13)
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