Skip to content

Commit 578c4c8

Browse files
authored
fix appengine (#950)
1 parent 93c3765 commit 578c4c8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: conncheck.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
77
// You can obtain one at http://mozilla.org/MPL/2.0/.
88

9-
// +build !windows
9+
// +build !windows,!appengine
1010

1111
package mysql
1212

Diff for: conncheck_windows.go renamed to conncheck_dummy.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
package mysql
2-
31
// Go MySQL Driver - A MySQL-Driver for Go's database/sql package
42
//
53
// Copyright 2019 The Go-MySQL-Driver Authors. All rights reserved.
@@ -8,6 +6,10 @@ package mysql
86
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
97
// You can obtain one at http://mozilla.org/MPL/2.0/.
108

9+
// +build windows appengine
10+
11+
package mysql
12+
1113
import "net"
1214

1315
func connCheck(c net.Conn) error {

0 commit comments

Comments
 (0)