Skip to content

Commit fc9cbb1

Browse files
Try pointer for Port
1 parent e7ae420 commit fc9cbb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/mysql/server_info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ package mysql
88
import gosql "database/sql"
99

1010
// Port represents a MySQL server port.
11-
type Port gosql.NullInt64
11+
type Port *gosql.NullInt64
1212

1313
// NewPort creates a new Port.
1414
func NewPort(port int64) Port {

0 commit comments

Comments
 (0)