@@ -49,7 +49,7 @@ func loadSchedules(
4949 }
5050
5151 execCfg := p .ExecCfg ()
52- env := sql .JobSchedulerEnv (execCfg .JobsKnobs ())
52+ env := jobs .JobSchedulerEnv (execCfg .JobsKnobs ())
5353 schedules := jobs .ScheduledJobTxn (p .InternalSQLTxn ())
5454 schedule , err := schedules .Load (ctx , env , scheduleID )
5555 if err != nil {
@@ -434,7 +434,7 @@ func processFullBackupRecurrence(
434434 return s , nil
435435 }
436436
437- env := sql .JobSchedulerEnv (p .ExecCfg ().JobsKnobs ())
437+ env := jobs .JobSchedulerEnv (p .ExecCfg ().JobsKnobs ())
438438 scheduledJobs := jobs .ScheduledJobTxn (p .InternalSQLTxn ())
439439 if fullBackupAlways {
440440 if s .incJob == nil {
@@ -535,7 +535,7 @@ func validateFullIncrementalFrequencies(p sql.PlanHookState, s scheduleDetails)
535535 if s .incJob == nil {
536536 return nil
537537 }
538- env := sql .JobSchedulerEnv (p .ExecCfg ().JobsKnobs ())
538+ env := jobs .JobSchedulerEnv (p .ExecCfg ().JobsKnobs ())
539539 now := env .Now ()
540540
541541 fullFreq , err := frequencyFromCron (now , s .fullJob .ScheduleExpr ())
@@ -594,7 +594,7 @@ func processInto(p sql.PlanHookState, spec *alterBackupScheduleSpec, s scheduleD
594594 // so we can unpause incrementals. This mirrors the behavior of
595595 // CREATE SCHEDULE FOR BACKUP.
596596 if ! incPaused {
597- env := sql .JobSchedulerEnv (p .ExecCfg ().JobsKnobs ())
597+ env := jobs .JobSchedulerEnv (p .ExecCfg ().JobsKnobs ())
598598 s .fullJob .SetNextRun (env .Now ())
599599 }
600600
@@ -608,7 +608,7 @@ func processNextRunNow(
608608 return nil
609609 }
610610
611- env := sql .JobSchedulerEnv (p .ExecCfg ().JobsKnobs ())
611+ env := jobs .JobSchedulerEnv (p .ExecCfg ().JobsKnobs ())
612612
613613 // Trigger the full schedule, unless there is an inc schedule and the user did
614614 // not explicitly specify the full.
0 commit comments