Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Nov 1, 2023
1 parent 32bc799 commit 746714c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sqllogictest/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1022,9 +1022,7 @@ impl<D: AsyncDB, M: MakeConnection<Conn = D>> Runner<D, M> {
for (idx, file) in files.enumerate() {
// for every slt file, we create a database against table conflict
let file = file.unwrap();
let db_name = file
.to_str()
.ok_or_else(|| anyhow!("not a UTF-8 filename"))?;
let db_name = file.to_str().expect("not a UTF-8 filename");
let db_name = db_name.replace([' ', '.', '-', '/'], "_");

self.conn
Expand Down

0 comments on commit 746714c

Please sign in to comment.