dolt
dolt copied to clipboard
Can't drop a database with a `-` in it
Shell 1:
dolt_new $ ls
charsets_collations er-diagram schema-merge
config.yaml er-diagram-2 us-housing-prices-v2
data_diff gc-repro
dolt_new $ dolt sql-server
Starting server with Config HP="localhost:3306"|T="28800000"|R="false"|L="info"
2022-09-12T15:10
Shell 2:
$ mysql -h 127.0.01 -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.7.9-Vitess
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>show databases;
+----------------------+
| Database |
+----------------------+
| charsets_collations |
| data_diff |
| er_diagram |
| er_diagram_2 |
| gc_repro |
| information_schema |
| mysql |
| schema_merge |
| us_housing_prices_v2 |
+----------------------+
9 rows in set (0.00 sec)
mysql> drop database gc_repro;
ERROR 1105 (HY000): database not found: gc_repro
Back in Shell 1:
2022-09-12T15:10:10-07:00 WARN [conn 1] error running query {connectTime=2022-09-12T15:10:03-07:00, connectionDb=information_schema, error=database not found: gc_repro, query=drop database gc_repro}
And after I Ctrl-C:
file does not exist