Skip to content

Commit 404c02a

Browse files
julienschmidtmethane
authored andcommitted
Make gofmt happy (go-sql-driver#704)
1 parent 9492218 commit 404c02a

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
@@ -398,7 +398,6 @@ func parseDSNParams(cfg *Config, params string) (err error) {
398398

399399
// cfg params
400400
switch value := param[1]; param[0] {
401-
402401
// Disable INFILE whitelist / enable all files
403402
case "allowAllFiles":
404403
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)