Skip to content

Commit b8fd688

Browse files
docs: make bare issue references clickable links
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 934a6fc commit b8fd688

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/design/restricted-diagram.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The original cascade delete worked by trial-and-error: attempt `DELETE` on the p
1010

1111
This approach has several problems:
1212

13-
- **MySQL 8 with limited privileges:** Returns error 1217 (`ROW_IS_REFERENCED`) instead of 1451 (`ROW_IS_REFERENCED_2`), which provides no table name. The cascade crashes (#1110).
13+
- **MySQL 8 with limited privileges:** Returns error 1217 (`ROW_IS_REFERENCED`) instead of 1451 (`ROW_IS_REFERENCED_2`), which provides no table name. The cascade crashes ([#1110](https://github.com/datajoint/datajoint-python/issues/1110)).
1414
- **PostgreSQL overhead:** PostgreSQL aborts the entire transaction on any error. Each failed delete attempt requires `SAVEPOINT` / `ROLLBACK TO SAVEPOINT` round-trips.
1515
- **Fragile parsing:** Different MySQL versions and privilege levels produce different error message formats.
1616

@@ -124,7 +124,7 @@ dj.Diagram(schema).cascade(PartTable & 'key=1', part_integrity="cascade").delete
124124

125125
| | Error-driven | Graph-driven |
126126
|---|---|---|
127-
| MySQL 8 + limited privileges | Crashes (#1110) | Works — no error parsing needed |
127+
| MySQL 8 + limited privileges | Crashes ([#1110](https://github.com/datajoint/datajoint-python/issues/1110)) | Works — no error parsing needed |
128128
| PostgreSQL | Savepoint overhead per attempt | No errors triggered |
129129
| Multiple FKs to same child | One-at-a-time via retry loop | All paths resolved upfront |
130130
| part_integrity enforcement | Post-hoc check after delete | Post-check with transaction rollback |

0 commit comments

Comments
 (0)