READLOCK
READLOCK(this, empty_result(DB_LOCK_ERROR), "r db::execute");
READLOCK(this, DB_LOCK_ERROR, "r db_dictionary::copyfile");
READLOCK(this, DB_LOCK_ERROR, "r db_dictionary::copyfile");
READLOCK(this, FALSE, "r db_dictionary::extract_entries");
READLOCK(this, -1, "r db_dictionary::dump");
READLOCK(this, NULL, "r db_dictionary::find_table_desc");
READLOCK(this, NULL, "r db_dictionary::find_table_desc_d");
READLOCK(this, NULL, "r db_dictionary::find_table");
READLOCK(this, NULL, "r db_dictionary::translate_to_query");
READLOCK(this, NULL, "r db_dictionary::get_table_names");
READLOCK(this, DB_LOCK_ERROR, "r db_dictionary::db_checkpoint");
READLOCK(this, DB_LOCK_ERROR, "r db_dictionary::db_checkpoint");
READLOCK(this, DB_LOCK_ERROR, "r db_dictionary::db_clone_bucket");
READLOCK(this, NULL, "r db_dictlog::get");
READLOCK(this, NULL, "r db_index::lookup");
READLOCK(this, NULL, "r db_log::get");
READLOCK(this, NULL, "r db_mindex::satisfy_query");
READLOCK(this, NULL, "r db_mindex::prepare_results");
READLOCK(this, NULL, "r db_mindex::extract_index_values_from_object");
READLOCK(this, DB_LOCK_ERROR, "r db_mindex::first");
READLOCK(this, DB_LOCK_ERROR, "r db_mindex::next");
READLOCK(this, DB_LOCK_ERROR, "r db_mindex::first");
READLOCK(this, DB_LOCK_ERROR, "r db_mindex::next");
READLOCK(this, DB_LOCK_ERROR, "r db_mindex::all");
READLOCK(dbm->table, LDAP_OPERATIONS_ERROR,
READLOCK(table, LDAP_OPERATIONS_ERROR,
READLOCK(this, FALSE, "r db_scheme::find_index");
READLOCK(this, -1, "r db_table::dump");
READLOCK(this, FALSE, "r db_table::entry_exists_p");
READLOCK(this, NULL, "r db_free_list::stats");
READLOCK(this, NULL, "r db_table::stats");
READLOCK(this, FALSE, "db_table::cacheValid r");
READLOCK(this, NULL, "r vers::nextmajor");
READLOCK(this, FALSE, "r vers::earlier_than");
READLOCK(this, FALSE, "r vers::equal");
READLOCK(this, NULL, "r vers::nextminor");