Merge pull request #1168 from gwenn/returning

Bundled SQLCipher is now based on SQLite > 3.35
This commit is contained in:
gwenn 2022-04-21 13:59:58 +02:00 committed by GitHub
commit 20e626e0de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2098,7 +2098,7 @@ mod test {
} }
#[test] #[test]
#[cfg(all(feature = "bundled", not(feature = "bundled-sqlcipher")))] // SQLite >= 3.35.0 #[cfg(feature = "modern_sqlite")]
fn test_returning() -> Result<()> { fn test_returning() -> Result<()> {
let db = Connection::open_in_memory()?; let db = Connection::open_in_memory()?;
db.execute_batch("CREATE TABLE foo(x INTEGER PRIMARY KEY)")?; db.execute_batch("CREATE TABLE foo(x INTEGER PRIMARY KEY)")?;