different behavior on foreign key with MySQL #18756
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
severity/critical
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
in MySQL 5.7.21
in TiDB v4.0.0 (also for master branch with git commit 9995ad7)
2. What did you expect to see? (Required)
no error reported.
3. What did you see instead (Required)
(1046, 'No database selected')
4. Affected version (Required)
v4.0.0 (other versions are not tested)
5. Root Cause Analysis
The text was updated successfully, but these errors were encountered: