/* * __backup_all -- * Backup all objects in the database. */ static int __backup_all(WT_SESSION_IMPL *session) { /* Build a list of the file objects that need to be copied. */ return (__wt_meta_apply_all( session, NULL, __backup_list_uri_append, NULL)); }
/* * __backup_all -- * Backup all objects in the database. */ static int __backup_all(WT_SESSION_IMPL *session) { WT_DECL_RET; /* Build a list of the file objects that need to be copied. */ WT_WITH_HANDLE_LIST_LOCK(session, ret = __wt_meta_apply_all(session, NULL, __backup_list_uri_append, NULL)); return (ret); }