Skip to content

Commit 59b0f90

Browse files
julienschmidtBrigitte Lamarche
authored and
Brigitte Lamarche
committed
Make gofmt happy (go-sql-driver#704)
1 parent 4f10ee5 commit 59b0f90

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

driver_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,6 @@ func TestTimezoneConversion(t *testing.T) {
13751375

13761376
// Regression test for timezone handling
13771377
tzTest := func(dbt *DBTest) {
1378-
13791378
// Create table
13801379
dbt.mustExec("CREATE TABLE test (ts TIMESTAMP)")
13811380

dsn.go

-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ func parseDSNParams(cfg *Config, params string) (err error) {
399399

400400
// cfg params
401401
switch value := param[1]; param[0] {
402-
403402
// Disable INFILE whitelist / enable all files
404403
case "allowAllFiles":
405404
var isBool bool

utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,8 @@ func readLengthEncodedInteger(b []byte) (uint64, bool, int) {
566566
if len(b) == 0 {
567567
return 0, true, 1
568568
}
569-
switch b[0] {
570569

570+
switch b[0] {
571571
// 251: NULL
572572
case 0xfb:
573573
return 0, true, 1

0 commit comments

Comments
 (0)