File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -227,8 +227,7 @@ int bdb_recovery_timestamp_fulfills_log_age_requirement(int32_t recovery_timesta
227
227
return (time (NULL ) - recovery_timestamp ) >= bdb_state -> attr -> min_keep_logs_age ;
228
228
}
229
229
230
- static int bdb_need_log_to_fulfill_log_age_requirement (int min_keep_logs_age ,
231
- int filenum )
230
+ static int bdb_need_log_to_fulfill_log_age_requirement (int filenum )
232
231
{
233
232
struct checkpoint_list * ckp = NULL ;
234
233
if (!ckp_lst_ready )
@@ -3900,8 +3899,7 @@ static void delete_log_files_int(bdb_state_type *bdb_state)
3900
3899
}
3901
3900
3902
3901
if ((gbl_new_snapisol_asof || gbl_modsnap_asof )
3903
- && bdb_need_log_to_fulfill_log_age_requirement (
3904
- bdb_state -> attr -> min_keep_logs_age , filenum )) {
3902
+ && bdb_need_log_to_fulfill_log_age_requirement (filenum )) {
3905
3903
Pthread_mutex_unlock (& bdb_gbl_recoverable_lsn_mutex );
3906
3904
if (bdb_state -> attr -> debug_log_deletion )
3907
3905
logmsg (LOGMSG_USER , "%s: not ok to delete log %s, log file needed "
You can’t perform that action at this time.
0 commit comments