Mercurial > dovecot > core-2.2
diff src/master/dict-process.c @ 7481:768231eb84cf HEAD
Added dict_db_config setting to point to a Berkeley DB config file.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 04 May 2008 18:12:28 +0300 |
parents | e6823d781317 |
children | 1a58b18652a6 |
line wrap: on
line diff
--- a/src/master/dict-process.c Sun May 04 17:05:12 2008 +0300 +++ b/src/master/dict-process.c Sun May 04 18:12:28 2008 +0300 @@ -84,6 +84,12 @@ child_process_init_env(); env_put(t_strconcat("DICT_LISTEN_FROM_FD=", process->path, NULL)); + if (settings_root->defaults->dict_db_config != NULL) { + env_put(t_strconcat("DB_CONFIG=", + settings_root->defaults->dict_db_config, + NULL)); + } + dicts = array_get(&settings_root->dicts, &count); i_assert((count % 2) == 0); for (i = 0; i < count; i += 2)