-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CBRD-25756] Update initialization method for 'lang_str' #5741
Conversation
@H2SU lang_string이 무엇인가요? |
lang_string은 en_US , ko_KR과 같은 locale을 이야기합니다. |
src/transaction/log_manager.c
Outdated
db_make_int (&lang_str, 1); | ||
db_make_null (&result); | ||
|
||
lang_set_flag_from_lang (lang_str, has_user_format, has_user_lang, &flag); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lang_set_flag_from_lang (lang_str, has_user_format, has_user_lang, &flag); | |
lang_set_flag_from_lang (NULL, false, false, &flag); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정하였습니다.
src/transaction/log_manager.c
Outdated
bool has_user_format = false; | ||
bool has_user_lang = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bool has_user_format = false; | |
bool has_user_lang = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정하였습니다.
src/transaction/log_manager.c
Outdated
const char *src, *end; | ||
char *lang_str = NULL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
char *lang_str = NULL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정하였습니다.
@@ -13626,8 +13631,9 @@ cdc_put_value_to_loginfo (db_value * new_value, char **data_ptr) | |||
const char *timestamp_frmt = "YYYY-MM-DD HH24:MI:SS"; | |||
const char *timestamptz_frmt = "YYYY-MM-DD HH24:MI:SS TZH:TZM"; | |||
const char *timestampltz_frmt = "YYYY-MM-DD HH24:MI:SS TZR"; | |||
db_make_int (&lang_str, 1); | |||
db_make_null (&result); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
db_make_null (&result); 제거는 의도된 것인가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정하였습니다.
d779a8d
to
4c47c38
Compare
http://jira.cubrid.org/browse/CBRD-25756
Purpose
에러를 return하도록 수정
checksum이 일치하지 않아 에러가 발생
주요 함수 및 변수
Implementation