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 5710db3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-system-variables.go
Original file line number Diff line number Diff line change
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
1 change: 1 addition & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,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 5710db3

Please sign in to comment.