fix nb of dbs

This commit is contained in:
Louis Dureuil 2023-05-03 14:11:20 +02:00
parent 1aaf24ccbf
commit d3e5b10e23
No known key found for this signature in database

View File

@ -166,7 +166,7 @@ impl Index {
) -> Result<Index> {
use db_name::*;
options.max_dbs(21);
options.max_dbs(23);
unsafe { options.flag(Flags::MdbAlwaysFreePages) };
let env = options.open(path)?;
@ -1461,11 +1461,11 @@ pub(crate) mod tests {
db_snap!(index, field_distribution);
db_snap!(index, field_distribution,
@"
@r###"
age 1
id 2
name 2
"
"###
);
// snapshot_index!(&index, "1", include: "^field_distribution$");