Merge pull request #824 from gwenn/progress_handler

Expose query progress information
This commit is contained in:
gwenn
2020-11-03 18:14:36 +01:00
committed by GitHub
12 changed files with 269 additions and 109 deletions

View File

@@ -819,9 +819,7 @@ mod test {
db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);")
.unwrap();
lazy_static::lazy_static! {
static ref CALLED: AtomicBool = AtomicBool::new(false);
}
static CALLED: AtomicBool = AtomicBool::new(false);
db.apply(
&changeset,
None::<fn(&str) -> bool>,