dolthub / dolthub/dolt

Dolt shell does not ignore delimiters inside comments

Open
#10,862 0 comments 0 reactions 0 assignees View on GitHub
bug cli
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

Similar to #10861

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

MySQL
```
mysql> select /* ;
/*> */ null;
+------+
| NULL |
+------+
| NULL |
+------+
1 row in set (0.00 sec)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.