MySQL: read setting names in backticks in SET

Open Beginner friendly
#450 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
69/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
mysql, rust, sql
Domain
cli, database

Research direction

Find the code that reads MySQL SET statements and the existing tests for accepted SET syntax. Start by comparing how plain setting names are parsed with backtick-quoted names. Add coverage showing SET sql_mode = ... is accepted, then confirm the existing plain-name case still passes.

Written by the indexing model from the issue text.

Description

bug
Need

SET \sql_mode` = ...` (a setting name in backticks) is refused as a statement datarig cannot read, although the same statement without backticks is accepted. Nothing wrong is run; it is only refused when it need not be.

Plan

Read backtick-quoted names in SET the same way as plain ones, with a test.

Dominant language
Rust
Stars
166
Forks
8
Avg merge
4h 24m
Merged PRs (30d)
291

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DokaDev/datarig

All issues in DokaDev/datarig

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.