Skip to content

Commit 24fc507

Browse files
committed
fix linter
1 parent 984272a commit 24fc507

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/generate-system-variables.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ func getExtendedDescription(sv *variable.SysVar) string {
432432
case variable.TiDBEvolvePlanTaskStartTime:
433433
return "- This variable is used to set the start time of baseline evolution in a day."
434434
case variable.TiDBExecutorConcurrency:
435-
return "This variable is used to set the concurrency of the following SQL operators (to one value):\n" +
435+
return "\nThis variable is used to set the concurrency of the following SQL operators (to one value):\n" +
436436
"\n" +
437437
"- `index lookup`\n" +
438438
"- `index lookup join`\n" +
@@ -692,7 +692,7 @@ func getExtendedDescription(sv *variable.SysVar) string {
692692
case variable.TiDBSkipASCIICheck:
693693
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`."
694694
case variable.TiDBSkipIsolationLevelCheck:
695-
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" +
695+
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" +
696696
"```sql\n" +
697697
"tidb> set tx_isolation='serializable';\n" +
698698
"ERROR 8048 (HY000): The isolation level 'serializable' is not supported. Set tidb_skip_isolation_level_check=1 to skip this error\n" +

system-variables.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ Query OK, 0 rows affected (0.09 sec)
619619
- Scope: SESSION | GLOBAL
620620
- Default value: 5
621621
- Range: [1, 18446744073709551615]
622+
622623
This variable is used to set the concurrency of the following SQL operators (to one value):
623624

624625
- `index lookup`
@@ -1110,6 +1111,7 @@ SET tidb_query_log_max_len = 20
11101111
- Scope: SESSION | GLOBAL
11111112
- Default value: OFF
11121113
- 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.
1114+
11131115
```sql
11141116
tidb> set tx_isolation='serializable';
11151117
ERROR 8048 (HY000): The isolation level 'serializable' is not supported. Set tidb_skip_isolation_level_check=1 to skip this error

0 commit comments

Comments
 (0)