pingcap / pingcap/docs-cn

除 SELECT ... INTO <variable> 外,MySQL 和 TiDB 支持的语法相同。

Open
#18,692 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.8k
Forks
1.2k
Avg merge
1d 16h
Merged PRs (30d)
31

Description

File: /release-8.1/user-defined-variables.md

除 SELECT ... INTO 外,MySQL 和 TiDB 支持的语法相同。
请问下为什么这个地方不做兼容?这个功能在大量sql执行中可以简化逻辑。不兼容有哪些考量?可有规划?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with release-8.1/user-defined-variables.md and review the statement about SELECT ... INTO compatibility between MySQL and TiDB. Determine whether the request concerns documentation, an implementation gap, or a planned feature, then document the compatibility rationale or link the relevant plan if one exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.