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

go-sql-driver / mysql / 1265
83%

Build:
DEFAULT BRANCH: master
Ran 10 Jan 2018 11:33AM UTC
Jobs 7
Files 16
Run time 2min
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
1265

push

travis-ci

julienschmidt
Differentiate between BINARY and CHAR (#724)

* Differentiate between BINARY and CHAR

When looking up the database type name, we now check the character set
for the following field types:
 * CHAR
 * VARCHAR
 * BLOB
 * TINYBLOB
 * MEDIUMBLOB
 * LONGBLOB

If the character set is 63 (which is the binary pseudo character set),
we return the binary names, which are (respectively):
 * BINARY
 * VARBINARY
 * BLOB
 * TINYBLOB
 * MEDIUMBLOB
 * LONGBLOB

If any other character set is in use, we return the text names, which
are (again, respectively):
 * CHAR
 * VARCHAR
 * TEXT
 * TINYTEXT
 * MEDIUMTEXT
 * LONGTEXT

To facilitate this, mysqlField has been extended to include a uint8
field for character set, which is read from the appropriate packet.

Column type tests have been updated to ensure coverage of binary and
text types.

* Increase test coverage for column types

87 of 87 new or added lines in 3 files covered. (100.0%)

2431 of 3154 relevant lines covered (77.08%)

237640.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
40
100.0
fields.go
Jobs
ID Job ID Ran Files Coverage
1 1265.1 10 Jan 2018 11:33AM UTC 0
70.14
Travis Job 1265.1
2 1265.2 10 Jan 2018 11:34AM UTC 0
76.08
Travis Job 1265.2
3 1265.3 10 Jan 2018 11:33AM UTC 0
76.08
Travis Job 1265.3
4 1265.4 10 Jan 2018 11:36AM UTC 0
76.08
Travis Job 1265.4
5 1265.5 (DB=MYSQL57) 10 Jan 2018 11:34AM UTC 0
76.37
Travis Job 1265.5
6 1265.6 (DB=MARIA55) 10 Jan 2018 11:36AM UTC 0
75.7
Travis Job 1265.6
7 1265.7 (DB=MARIA10_1) 10 Jan 2018 11:36AM UTC 0
76.18
Travis Job 1265.7
Source Files on build 1265
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1265
  • 98894422 on github
  • Prev Build on master (#1258)
  • Next Build on master (#1266)
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