Skip to content

sysvar: add tidb_enable_strict_not_null_check#22859

Open
qiancai wants to merge 5 commits intopingcap:masterfrom
qiancai:var-21600
Open

sysvar: add tidb_enable_strict_not_null_check#22859
qiancai wants to merge 5 commits intopingcap:masterfrom
qiancai:var-21600

Conversation

@qiancai
Copy link
Copy Markdown
Collaborator

@qiancai qiancai commented May 7, 2026

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).

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@qiancai qiancai added translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. v9.0-beta.3 This PR/issue applies to TiDB v9.0-beta.3. labels May 7, 2026
@ti-chi-bot ti-chi-bot Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 7, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a placeholder file temp.md. The reviewer noted that the content does not match the PR's intent to document tidb_enable_strict_not_null_check and requested full documentation, a TOC.md update, and a trailing newline.

I am having trouble creating individual review comments. Click here to see my feedback.

temp.md (1)

medium

The filename and content of this file are placeholders and do not provide the documentation for tidb_enable_strict_not_null_check as indicated by the pull request title. Please provide the complete documentation and include a link to it in TOC.md. Also, the file should end with a newline character.

References
  1. Documentation must be complete and follow the repository's structure. (link)

Synced from: pingcap/docs-cn#21600
Target PR: pingcap#22859
AI Provider: azure

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Auto-sync completed successfully

Source PR: pingcap/docs-cn#21600
Target PR: #22859

English documentation has been updated based on Chinese documentation changes.

@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented May 7, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign breezewish for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 7, 2026
@qiancai
Copy link
Copy Markdown
Collaborator Author

qiancai commented May 7, 2026

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds documentation for the new tidb_enable_strict_not_null_check system variable, which manages strict validation for NULL values in NOT NULL columns during INSERT statements. The review feedback provides several suggestions to improve the documentation's clarity and consistency with the style guide, specifically recommending the use of active voice, consistent terminology for hints, and addressing the user in the second person.

Comment thread system-variables.md Outdated
Comment thread system-variables.md Outdated
Comment thread system-variables.md Outdated
Comment thread system-variables.md Outdated
qiancai and others added 2 commits May 7, 2026 17:32
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Comment thread resources/terms.md Outdated
Comment thread system-variables.md Outdated
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot Bot commented May 7, 2026

@xhebox: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. v9.0-beta.3 This PR/issue applies to TiDB v9.0-beta.3.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants