You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
685 B

  1. --- a/src/util/dict_db.c 2017-07-16 16:56:00.819659962 +0300
  2. +++ b/src/util/dict_db.c 2017-07-16 16:58:31.011401358 +0300
  3. @@ -733,8 +733,8 @@
  4. msg_fatal("create DB database: %m");
  5. if (db == 0)
  6. msg_panic("db_create null result");
  7. - if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0)
  8. - msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM);
  9. +// if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0)
  10. +// msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM);
  11. #if DB_VERSION_MAJOR == 6 || DB_VERSION_MAJOR == 5 || \
  12. (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
  13. if ((errno = db->open(db, 0, db_path, 0, type, db_flags, 0644)) != 0)