-
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
update some system variable #11375
update some system variable #11375
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
system-variables.md
Outdated
@@ -205,6 +230,10 @@ mysql> SELECT * FROM t1; | |||
- 单位:秒 | |||
- 该变量表示交互式用户会话的空闲超时。交互式用户会话是指使用 `CLIENT_INTERACTIVE` 选项调用 [`mysql_real_connect()`](https://dev.mysql.com/doc/c-api/5.7/en/mysql-real-connect.html) API 建立的会话(例如:MySQL shell 客户端)。该变量与 MySQL 完全兼容。 | |||
|
|||
### `last_insert_id` <span class="version-mark">从 v5.3.0 版本开始引入</span> | |||
|
|||
- 返回 `LAST_INSERT_ID()` 的结果。与 MySQL 中的 `last_insert_id` 一致。 |
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.
是否有作用域呢?或者是否为只读变量呢?
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
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
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 3d6ccc8
|
In response to a cherrypick label: new pull request created: #11474. |
In response to a cherrypick label: new pull request created: #11475. |
* update doc * update * Update system-variables.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> * update doc Co-authored-by: xiongjiwei <xiongjiwei1996@outlook.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
* update doc * update * Update system-variables.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> * update doc Co-authored-by: xiongjiwei <xiongjiwei1996@outlook.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
In response to a cherrypick label: new pull request created: #11504. |
First-time contributors' checklist
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?