without.crypto
Boyu Yang 6 years ago
parent 4c86d591be
commit c85d3657a7
No known key found for this signature in database
GPG Key ID: 8541EBA40EF41840
  1. 4
      src/environment.rs

@ -439,8 +439,8 @@ impl EnvironmentBuilder {
/// Currently a moderate number of slots are cheap but a huge number gets
/// expensive: 7-120 words per transaction, and every `Transaction::open_db`
/// does a linear search of the opened slots.
pub fn set_max_dbs(&mut self, max_readers: c_uint) -> &mut EnvironmentBuilder {
self.max_dbs = Some(max_readers);
pub fn set_max_dbs(&mut self, max_dbs: c_uint) -> &mut EnvironmentBuilder {
self.max_dbs = Some(max_dbs);
self
}

Loading…
Cancel
Save