Skip to content

Commit

Permalink
1) style: Fixed to make it clear to users when changing the SERIAL OW…
Browse files Browse the repository at this point in the history
…NER.
  • Loading branch information
jongmin-won committed Apr 28, 2024
1 parent c3e1196 commit 98e3a9c
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion msg/de_DE.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 Außer virtuellem Speicher: %1$d Bytes können nicht zugewiesen werden.
Expand Down
2 changes: 1 addition & 1 deletion msg/en_US.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 Out of virtual memory: unable to allocate %1$d bytes.
Expand Down
2 changes: 1 addition & 1 deletion msg/en_US/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 Out of virtual memory: unable to allocate %1$d bytes.
Expand Down
2 changes: 1 addition & 1 deletion msg/es_ES.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 Sin memoria virtual: incapaz de asignar %1$d bytes.
Expand Down
2 changes: 1 addition & 1 deletion msg/fr_FR.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 Mémoire virtuelle épuisée: impossible d'allouer %1$d octets.
Expand Down
2 changes: 1 addition & 1 deletion msg/it_IT.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 Fuori di memoria virtuale: Impossibile allocare %1$d byte.
Expand Down
2 changes: 1 addition & 1 deletion msg/ja_JP.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 バチャールメモリーが足りません。: %1$dバイトがアロケーションできません。
Expand Down
2 changes: 1 addition & 1 deletion msg/km_KH.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 Out of virtual memory: unable to allocate %1$d bytes.
Expand Down
2 changes: 1 addition & 1 deletion msg/ko_KR.euckr/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 �̸� �ٲٱ�� �����ڸ� ������ �� �����ϴ�.
316 �̸� �ٲٱ�� ���� �̸����� ������ �� �����ϴ�.
317 �ĺ��ڴ� LIMIT �� �ȿ� ���� �� �����ϴ�.
318 DBA �� DBA �׷� �������� %1$s��(��) ������ �� �ֽ��ϴ�.
318 DBA �� DBA �׷� �������� SERIAL OWNER�� ������ �� �ֽ��ϴ�.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 ���� �޸� ����: %1$d ����Ʈ�� �Ҵ��� �� �����ϴ�.
Expand Down
2 changes: 1 addition & 1 deletion msg/ko_KR.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 이름 바꾸기는 소유자를 변경할 수 없습니다.
316 이름 바꾸기는 같은 이름으로 변경할 수 없습니다.
317 식별자는 LIMIT 절 안에 있을 수 없습니다.
318 DBA 및 DBA 그룹 구성원만 %1$s을(를) 수행할 수 있습니다.
318 DBA 및 DBA 그룹 구성원만 SERIAL OWNER를 변경할 수 있습니다.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 가상 메모리 없음: %1$d 바이트를 할당할 수 없습니다.
Expand Down
2 changes: 1 addition & 1 deletion msg/ro_RO.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 Memorie virtuală epuizată: nu s-au putut aloca %1$d bytes.
Expand Down
2 changes: 1 addition & 1 deletion msg/tr_TR.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 Sanal bellek yetersiz: %1$d bayt bölüm ayıramadı.
Expand Down
2 changes: 1 addition & 1 deletion msg/vi_VN.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1939,7 +1939,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 Out of virtual memory: unable to allocate %1$d bytes.
Expand Down
2 changes: 1 addition & 1 deletion msg/zh_CN.utf8/cubrid.msg
Original file line number Diff line number Diff line change
Expand Up @@ -1933,7 +1933,7 @@ $set 8 MSGCAT_SET_PARSER_SEMANTIC
315 Rename cannot change owner.
316 Rename cannot be changed to the same name.
317 Identifiers cannot be in a LIMIT clause.
318 Only DBA and DBA group members can perform %1$s.
318 Only DBA and DBA group members can change the SERIAL OWNER.

$set 9 MSGCAT_SET_PARSER_RUNTIME
1 虚拟内存耗尽: 无法申请 %1$d 字节.
Expand Down
3 changes: 1 addition & 2 deletions src/parser/semantic_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -10026,8 +10026,7 @@ pt_check_alter_serial (PARSER_CONTEXT * parser, PT_NODE * node)

if (au_is_dba_group_member (Au_user) == false)
{
PT_ERRORmf (parser, node, MSGCAT_SET_PARSER_SEMANTIC, MSGCAT_SEMANTIC_SERIAL_NOT_OWNER,
"change_serial_owner");
PT_ERRORm (parser, node, MSGCAT_SET_PARSER_SEMANTIC, MSGCAT_SEMANTIC_SERIAL_NOT_OWNER);
return;
}
break;
Expand Down

0 comments on commit 98e3a9c

Please sign in to comment.