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

samsarahq / thunder / 3000
66%

Build:
DEFAULT BRANCH: master
Ran 09 Jul 2020 07:59PM UTC
Jobs 1
Files 57
Run time 17s
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

09 Jul 2020 07:57PM UTC coverage: 65.393% (+0.009%) from 65.384%
3000

push

travis-ci

er9781
go sql: add option to panic on non-indexed queries

In this commit we add the ability to instrument a connection
with a boolean that, when enabled, will have a query panic
when no index is present in a sql explain for that query.

We also add the ability to bypass this check on any given query
in SelectOptions. Additionally we add some thin wrappers to our
query functions to set this option.

This will permit us to enable this check in
tests and have people explicitly make full table scan queries
when they fully intend to.

Implementation detail:
We check both key and possible keys since there are times where key
will be non-null (eg PRIMARY) while possible keys is null, and also
times when key is null, but possible keys is not null (eg when
mysql chooses a full scan despite the presence of an index due to small
table size)

5752 of 8796 relevant lines covered (65.39%)

12174.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3000.1 09 Jul 2020 07:59PM UTC 0
65.39
Travis Job 3000.1
Source Files on build 3000
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3000
  • 69f711c4 on github
  • Prev Build on master (#2964)
  • Next Build on master (#3001)
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