dolthub / dolthub/dolt

Dolt shell does not ignore delimiters inside quotes

Open
#10,861 0 comments 0 reactions 0 assignees View on GitHub
bug cli
Dominant language
Go
Stars
24.5k
Forks
873
Avg merge
1d 8h
Merged PRs (30d)
120

Description

Dolt
```
tmp/main*> select ';
syntax error at position 9 near 'select'
```

MySQL
```
mysql> select ';
'> ';
+----+
| ;
|
+----+
| ;
|
+----+
1 row in set (0.00 sec)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the query in the Dolt shell and trace the shell's SQL statement input handling. Compare its treatment of semicolons inside quoted strings with the MySQL example. Done means a semicolon within a quoted value no longer terminates the statement prematurely.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, mysql, sql
Domain
cli, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.