Skip to content

Commit

Permalink
fix(inserter): make init_insert actually init the insert (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
laplab authored Jun 12, 2023
1 parent bd0c381 commit d9a4ee3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/inserter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ where
debug_assert!(self.insert.is_none());
let mut new_insert: Insert<T> = self.client.insert(&self.table)?;
new_insert.set_timeouts(self.send_timeout, self.end_timeout);
self.insert = Some(new_insert);
Ok(())
}
}

0 comments on commit d9a4ee3

Please sign in to comment.