Commit 27c16cf
Revert to old error and remove MySQL 8.4.5 error
- Use original ErrForeignKeyChildViolation error instead of MySQL 8.4.5 specific error
- Remove ErrForeignKeyChildViolationMySQL845 from error definitions and case statements
- Update tests to use old error
- Fix error message to include proper row data by passing row to validateDecimalConstraints
- Ensure error messages contain correct foreign key violation information
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent c213312 commit 27c16cf
File tree
3 files changed
+7
-10
lines changed- enginetest/queries
- sql
- plan
3 files changed
+7
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10538 | 10538 | | |
10539 | 10539 | | |
10540 | 10540 | | |
10541 | | - | |
| 10541 | + | |
10542 | 10542 | | |
10543 | 10543 | | |
10544 | 10544 | | |
| |||
10561 | 10561 | | |
10562 | 10562 | | |
10563 | 10563 | | |
10564 | | - | |
| 10564 | + | |
10565 | 10565 | | |
10566 | 10566 | | |
10567 | 10567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
| 422 | + | |
424 | 423 | | |
425 | 424 | | |
426 | 425 | | |
| |||
982 | 981 | | |
983 | 982 | | |
984 | 983 | | |
985 | | - | |
986 | 984 | | |
987 | 985 | | |
988 | 986 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
| 516 | + | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
| 547 | + | |
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
566 | | - | |
567 | | - | |
568 | | - | |
| 566 | + | |
| 567 | + | |
569 | 568 | | |
570 | 569 | | |
571 | 570 | | |
| |||
0 commit comments