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

preaction / Minion-Backend-mysql / 135
97%

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

pending completion
135

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

Jobs
ID Job ID Ran Files Coverage
13 135.13 (COVERAGE=1) 27 May 2021 10:18PM UTC 0
97.03
Travis Job 135.13
Source Files on build 135
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #135
  • aab2eb96 on github
  • Prev Build on master (#134)
  • Next Build on master (#137)
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