-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql-statement: improve consistency, fix small errors #4263
Conversation
Signed-off-by: Ran <huangran@pingcap.com>
Signed-off-by: Ran <huangran@pingcap.com>
Signed-off-by: Ran <huangran@pingcap.com>
239f2f9
to
a8b7a2f
Compare
Signed-off-by: Ran <huangran@pingcap.com>
constraints.md
Outdated
@@ -59,7 +59,7 @@ Query OK, 1 row affected (0.03 sec) | |||
|
|||
## 唯一约束 | |||
|
|||
在 TiDB 的乐观事务中,默认会对唯一约束进行[惰性检查](/transaction-overview.md#惰性检查)。通过在事务提交时再进行批量检查,TiDB 能够减少网络开销、提升性能。例如: | |||
根据不同的事务模式和 `tidb_constraint_check_in_place` 的值,TiDB 可能对唯一约束进行[惰性检查](/transaction-overview.md#惰性检查)。批量检查能够减少网络开销、提升性能。例如: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
默认
描述了默认行为,换成 可能
后,缺少了一层意思
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zz-jason @ran-huang 感觉这里可以就保持原来的中文?意思还比较清楚🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes reverted. PTAL~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that changes in sql-statements/sql-statement-use.md
are missed. Please check. Thanks!
Signed-off-by: Ran <huangran@pingcap.com>
Co-authored-by: Lilian Lee <lilin@pingcap.com>
@ran-huang, please update your pull request. |
Signed-off-by: Ran <huangran@pingcap.com>
Signed-off-by: Ran <huangran@pingcap.com>
@ran-huang, please update your pull request. |
@ran-huang, please update your pull request. |
@ran-huang, please update your pull request. |
No updates for a long time, close PR. |
I resolved two conflicts in 20f722a. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #4611 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: Ran <huangran@pingcap.com>
Signed-off-by: Ran huangran@pingcap.com
What is changed, added or deleted? (Required)
## MySQL compatibility
.Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?