This article is an opportunity for me to give you TiDB Contributor, depending on whether you want it or not.
This article was written under the leadership of Liu boss. I also hope that more people will be involved through such small activities. Although these tasks are very simple, these small tasks can reflect our TiDB team's perfect pursuit of code quality. This is what we should learn. This is an opportunity for you to improve/improve your code level. You shouldn't give up easily.
Overview of the problem
Some of the
% in TiDB's test cases enclose the statement with double quotes
"", but Github escaping it when displayed, so it will be marked with
% red, and we are doing a review of It doesn't look beautiful at the moment, so we need to change this and recommend replacing it with the Go language.
For examples: PR #5697
How to decide?
I can give you a reference note. If you use the Go syntax highlighting plug-in, then you can see that the unhighlighted part is escaping. It may be problematic. Then we need to make changes. [eg, 100%500, %W %r].