Skip to content

Commit

Permalink
[parser] README: update replace parser version command (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
winkyao authored and ti-chi-bot committed Oct 9, 2021
1 parent fa3239e commit c66cad2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion parser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ Suppose the forked repository is `https://github.com/your-repo/parser`.
replace github.com/pingcap/parser => github.com/your-repo/parser v0.0.0-20181102150703-4acd198f5092
```

This change tells TiDB to use the modified parser from your repository.
This change tells TiDB to use the modified parser from your repository. You can just use below command to replace the dependent parser version:

```
GO111MODULE=on go mod edit -replace github.com/pingcap/parser=github.com/your-repo/parser@your-branch
```

2. You can get correct version information by running this command in your TiDB directory:

Expand Down

0 comments on commit c66cad2

Please sign in to comment.