Skip to content
This repository was archived by the owner on Nov 19, 2023. It is now read-only.

Commit eb24344

Browse files
committed
fix: restore the comments that have been deleted
1 parent c21a149 commit eb24344

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,12 @@ fn main() -> Result<()> {
207207
if let Some(args_database) = args.database {
208208
database = args_database;
209209
if backend == Backend::auto {
210-
backend = Backend::duckdb;
210+
if database.starts_with("duckdb://") {
211+
backend = Backend::duckdb;
212+
} else {
213+
// FIXME: Replace this with connectorx when implemented
214+
backend = Backend::duckdb;
215+
}
211216
}
212217
} else {
213218
database = String::from("");

0 commit comments

Comments
 (0)