Skip to content

Commit

Permalink
[CBRD-25354] The format specifier for the argument is incorrect and t…
Browse files Browse the repository at this point in the history
…he error_code argument is missing in vacuum_er_log_error(). (#5198) (#5322)

http://jira.cubrid.org/browse/CBRD-25354

Backport #5198
  • Loading branch information
H2SU authored Jul 16, 2024
1 parent 2bf7289 commit 102076f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/query/vacuum.c
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,7 @@ vacuum_heap (THREAD_ENTRY * thread_p, VACUUM_WORKER * worker, MVCCID threshold_m
vacuum_check_shutdown_interruption (thread_p, error_code);

vacuum_er_log_error (VACUUM_ER_LOG_HEAP, "Vacuum heap page %d|%d, error_code=%d.",
page_ptr->oid.volid, page_ptr->oid.pageid);
page_ptr->oid.volid, page_ptr->oid.pageid, error_code);

#if defined (NDEBUG)
if (!thread_p->shutdown)
Expand Down Expand Up @@ -2008,7 +2008,7 @@ vacuum_heap_prepare_record (THREAD_ENTRY * thread_p, VACUUM_HEAP_HELPER * helper
{
ASSERT_ERROR_AND_SET (error_code);
vacuum_check_shutdown_interruption (thread_p, error_code);
vacuum_er_log_error (VACUUM_ER_LOG_HEAP, "Failed to fix page %d|d.", VPID_AS_ARGS (&forward_vpid));
vacuum_er_log_error (VACUUM_ER_LOG_HEAP, "Failed to fix page %d|%d.", VPID_AS_ARGS (&forward_vpid));
return error_code;
}
/* Both pages fixed. */
Expand Down

0 comments on commit 102076f

Please sign in to comment.