Skip to content

Commit

Permalink
fix: dbms_scheduler job start_date has not read to local
Browse files Browse the repository at this point in the history
  • Loading branch information
junye committed Jan 19, 2024
1 parent 23dcd46 commit 37a4c62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/observer/dbms_scheduler/ob_dbms_sched_job_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ int ObDBMSSchedJobInfo::deep_copy(ObIAllocator &allocator, const ObDBMSSchedJobI
failures_ = other.failures_;
flag_ = other.flag_;
scheduler_flags_ = other.scheduler_flags_;
start_date_ = other.start_date_;
end_date_ = other.end_date_;
enabled_ = other.enabled_;
auto_drop_ = other.auto_drop_;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ do { \
EXTRACT_TIMESTAMP_FIELD_MYSQL_SKIP_RET(result, "this_date", job_info_local.this_date_);
EXTRACT_TIMESTAMP_FIELD_MYSQL_SKIP_RET(result, "next_date", job_info_local.next_date_);
EXTRACT_INT_FIELD_MYSQL_SKIP_RET(result, "total", job_info_local.total_, uint64_t);
EXTRACT_TIMESTAMP_FIELD_MYSQL_SKIP_RET(result, "start_date", job_info_local.start_date_);
EXTRACT_TIMESTAMP_FIELD_MYSQL_SKIP_RET(result, "end_date", job_info_local.end_date_);

#undef EXTRACT_NUMBER_FIELD_MYSQL_SKIP_RET
Expand Down

0 comments on commit 37a4c62

Please sign in to comment.