Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Yancey1989 committed Sep 29, 2019
1 parent 24883eb commit 3f54014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsn.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func ParseDSN(dsn string) (*Config, error) {
for k, v := range querys {
// The query args such as hints_odps.sql.mapper.split_size=16
// would be converted to the maxcompute query hints: {"odps.sql.mapper.split_size": "16"}
if strings.HasPrefix(k, "hint_") {
if strings.HasPrefix(k, HINT_PREFIX) {
queryHints[k[5:]] = v[0]
}
}
Expand Down

0 comments on commit 3f54014

Please sign in to comment.