Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
morgo committed May 28, 2021
1 parent 984272a commit 24fc507
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generate-system-variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ func getExtendedDescription(sv *variable.SysVar) string {
case variable.TiDBEvolvePlanTaskStartTime:
return "- This variable is used to set the start time of baseline evolution in a day."
case variable.TiDBExecutorConcurrency:
return "This variable is used to set the concurrency of the following SQL operators (to one value):\n" +
return "\nThis variable is used to set the concurrency of the following SQL operators (to one value):\n" +
"\n" +
"- `index lookup`\n" +
"- `index lookup join`\n" +
Expand Down Expand Up @@ -692,7 +692,7 @@ func getExtendedDescription(sv *variable.SysVar) string {
case variable.TiDBSkipASCIICheck:
return "- This variable is used to set whether to skip ASCII validation.\n- Validating ASCII characters affects the performance. When you are sure that the input characters are valid ASCII characters, you can set the variable value to `ON`."
case variable.TiDBSkipIsolationLevelCheck:
return "- After this switch is enabled, if an isolation level unsupported by TiDB is assigned to `tx_isolation`, no error is reported. This helps improve compatibility with applications that set (but do not depend on) a different isolation level.\n" +
return "- After this switch is enabled, if an isolation level unsupported by TiDB is assigned to `tx_isolation`, no error is reported. This helps improve compatibility with applications that set (but do not depend on) a different isolation level.\n\n" +
"```sql\n" +
"tidb> set tx_isolation='serializable';\n" +
"ERROR 8048 (HY000): The isolation level 'serializable' is not supported. Set tidb_skip_isolation_level_check=1 to skip this error\n" +
Expand Down
2 changes: 2 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ Query OK, 0 rows affected (0.09 sec)
- Scope: SESSION | GLOBAL
- Default value: 5
- Range: [1, 18446744073709551615]

This variable is used to set the concurrency of the following SQL operators (to one value):

- `index lookup`
Expand Down Expand Up @@ -1110,6 +1111,7 @@ SET tidb_query_log_max_len = 20
- Scope: SESSION | GLOBAL
- Default value: OFF
- After this switch is enabled, if an isolation level unsupported by TiDB is assigned to `tx_isolation`, no error is reported. This helps improve compatibility with applications that set (but do not depend on) a different isolation level.
```sql
tidb> set tx_isolation='serializable';
ERROR 8048 (HY000): The isolation level 'serializable' is not supported. Set tidb_skip_isolation_level_check=1 to skip this error
Expand Down

0 comments on commit 24fc507

Please sign in to comment.