Skip to content

Commit

Permalink
cherry pick pingcap#5268 to release-5.0
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
  • Loading branch information
dveeden authored and ti-srebot committed Apr 19, 2021
1 parent 12a1ea3 commit a5b200c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions user-defined-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,8 @@ SELECT @col FROM t;
+------+
```

## MySQL compatibility

Except for `SELECT ... INTO <variable>`, the syntax supported in MySQL and TiDB is identical.

For more information, see [User-Defined Variables in MySQL](https://dev.mysql.com/doc/refman/5.7/en/user-variables.html).

0 comments on commit a5b200c

Please sign in to comment.