-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
When lightning is less capabile than downstream, USE <database>
may miss so failed with "no database selected"
#51800
Labels
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
component/lightning
This issue is related to Lightning of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Comments
jebter
added
component/lightning
This issue is related to Lightning of TiDB.
severity/major
labels
Mar 15, 2024
ti-chi-bot
bot
added
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
labels
Mar 15, 2024
lance6716
changed the title
When lightning failed to rewrite statement for schema files,
When lightning failed to rewrite statement for schema files, Mar 15, 2024
USE <database>
is missingUSE <database>
is missing so failed with "no database selected"
Merged
13 tasks
lance6716
added
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
labels
Mar 15, 2024
ti-chi-bot
bot
removed
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-7.1
may-affects-6.1
may-affects-7.5
may-affects-6.5
labels
Mar 15, 2024
lance6716
changed the title
When lightning failed to rewrite statement for schema files,
When lightning is less capabile than downstream, Mar 15, 2024
USE <database>
is missing so failed with "no database selected"USE <database>
may miss so failed with "no database selected"
13 tasks
This was referenced Apr 8, 2024
13 tasks
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
component/lightning
This issue is related to Lightning of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
The source schema files may contain some unsupported feature, like unsupported chatset. When lightning failed to rewrite the statement, it directly uses the source file content. However,
USE <database>
is missingtidb/br/pkg/lightning/importer/import.go
Lines 625 to 638 in c1e3dae
The text was updated successfully, but these errors were encountered: