Merge remote-tracking branch 'jgallagher/master' into vtab

This commit is contained in:
gwenn 2018-06-28 21:01:53 +02:00
commit 3b0423353d

View File

@ -212,7 +212,7 @@ impl Connection {
/// Will return `Err` if `path` cannot be converted to a C-compatible string or if the
/// underlying SQLite open call fails.
pub fn open<P: AsRef<Path>>(path: P) -> Result<Connection> {
let flags = Default::default();
let flags = OpenFlags::default();
Connection::open_with_flags(path, flags)
}
@ -222,7 +222,7 @@ impl Connection {
///
/// Will return `Err` if the underlying SQLite open call fails.
pub fn open_in_memory() -> Result<Connection> {
let flags = Default::default();
let flags = OpenFlags::default();
Connection::open_in_memory_with_flags(flags)
}