Closed tomhoule closed 3 years ago
TODO: docs for Sqlite::new_in_memory()
and single::Quaint::new_in_memory()
.
Few tests fail on Windows. You could maybe fix them with your changes here?
test src\lib.rs - (line 32) ... FAILED
test src\lib.rs - (line 51) ... FAILED
failures:
---- src\lib.rs - (line 32) stdout ----
Test executable failed (exit code 1).
stderr:
Error: Error { kind: QueryError(SqliteFailure(Error { code: CannotOpen, extended_code: 14 }, Some("unable to open database file: ///tmp/example.db"))), original_code: Some("14"), original_message: Some("unable to open database file: ///tmp/example.db") }
---- src\lib.rs - (line 51) stdout ----
Test executable failed (exit code 1).
stderr:
Error: Error { kind: QueryError(SqliteFailure(Error { code: CannotOpen, extended_code: 14 }, Some("unable to open database file: ///tmp/example.db"))), original_code: Some("14"), original_message: Some("unable to open database file: ///tmp/example.db") }
failures:
src\lib.rs - (line 32)
src\lib.rs - (line 51)
test result: FAILED. 78 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out
Hmm, so these paths would need to be valid on windows. We can probably get valid windows paths from tempfile
.
There is intentionally no way to express in-memory databases as URLs. This would need to be discussed and thought through first.