cubrid icon indicating copy to clipboard operation
cubrid copied to clipboard

[CBRD-25478] When using the 'SHOW ARCHIVE LOG HEADER' command, there is an issue where the archive log volumes cannot be retrieved

Open H2SU opened this issue 1 year ago • 0 comments

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

Purpose

보관로그볼륨이 존재하지 않는 폴더에서 SHOW ARCHIVE LOG HEADER 구문을 사용하여 보관로그볼륨 정보를 조회하지 못 하는 에러가 발생합니다.

원인은 보관로그볼륨 파일명으로 파일을 열 때 상대경로로 파일 열기를 시도하는데 이 때, 작업 폴더가 보관로그볼륨이 존재하는 위치가 아닌 다른 위치로 설정되어있어 파일을 찾을 수 없어 에러가 발생합니다.


Implementation

  • fileio_open 함수 호출 시 경로 값을 상대경로가 아닌 절대경로로 전달
    • log_Archive_path : 보관로그볼륨이 존재하는 경로를 가지고 있는 전역변수

H2SU avatar Aug 28 '24 11:08 H2SU