Skip to content

Commit 13aa162

Browse files
fulghumjycor
andauthored
Update sql/mysql_db/replica_source_info.go
Co-authored-by: James Cor <[email protected]>
1 parent 55165d7 commit 13aa162

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sql/mysql_db/replica_source_info.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,7 @@ func ReplicaSourceInfoFromRow(ctx *sql.Context, row sql.Row) (*ReplicaSourceInfo
7373
return nil, err
7474
}
7575

76-
ssl := false
77-
if row[replicaSourceInfoTblColIndex_Enabled_ssl] == 1 {
78-
ssl = true
79-
}
76+
ssl := row[replicaSourceInfoTblColIndex_Enabled_ssl] == 1
8077

8178
return &ReplicaSourceInfo{
8279
Host: row[replicaSourceInfoTblColIndex_Host].(string),

0 commit comments

Comments
 (0)