Try to fix CI build

This commit is contained in:
gwenn 2020-11-05 22:24:55 +01:00
parent 549ceb59e2
commit bbd1ff5fb0

View File

@ -1890,11 +1890,12 @@ mod test {
#[test] #[test]
#[cfg(not(feature = "extra_check"))] #[cfg(not(feature = "extra_check"))]
fn test_alter_table() -> Result<usize> { fn test_alter_table() -> Result<()> {
let db = checked_memory_handle(); let db = checked_memory_handle();
db.execute_batch("CREATE TABLE x(t);")?; db.execute_batch("CREATE TABLE x(t);")?;
// `execute_batch` should be used but `execute` should also work // `execute_batch` should be used but `execute` should also work
db.execute("ALTER TABLE x RENAME TO y;", []) db.execute("ALTER TABLE x RENAME TO y;", [])?;
Ok(())
} }
#[test] #[test]