The structure view says when it could not tell the MySQL version
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 64/100
Research direction
Start by finding where the structure read decides the MySQL version: the issue says the read falls back to the greeting's version when the two version reports disagree or the version line cannot be read. From there, follow that value into the structure view renderer to see where the CHECK constraints and partial-revoke sections are built, and add a notice naming both when the version is unknown. The wording lives in datarig's en and ko message catalogs, so add both entries and pin the text with a test alongside the existing structure-view tests; done means the view shows the notice and the rest of the structure is unchanged.
Written by the indexing model from the issue text.
Description
When datarig cannot tell the MySQL server's version (the two version reports disagree, or the version line cannot be read), the structure view reads in the form for the version the server greets with.
Behind a proxy that greets as an older MySQL than the server really is (for example a greeting below 8.0.16 in front of 8.0.16 or later):
- CHECK constraints are not listed;
- a global privilege that a partial revoke has taken back for one schema may still be counted.
Nothing is written from this view. The limit is that the view is silent about it.
Plan
- When the version is not known, the structure view says so in datarig's own words (en and ko). It names what may be missing: CHECK constraints, and partial revokes.
- The rest of the structure is shown as today.
- Pin the wording with a test.
History
- Found while planning the per-engine structure reads (#353). The structure read keeps the greeting's version when the version is unknown, which is the current behaviour, so working setups do not lose their structure.
- Dominant language
- Rust
- Stars
- 166
- Forks
- 8
- Avg merge
- 4h 24m
- Merged PRs (30d)
- 291
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DokaDev/datarig
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
DokaDev/datarig#544 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 Half a day Newbie friendliness 55/100
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 62/100
Maintainers usually reply within 1 day
Similar issues
-
area:compat area:operations documentation ready-for-agent type:afk
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ZcashFoundation/zinder#552 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
storytold/vectorcraft#9229 ·
Maintainers usually reply within 1 day