Skip to content
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-25352] Add a user schema to your stored procedures for consistency with other objects #5258

Merged

Commits on Jun 14, 2024

  1. Merge the code from the main development branch (CBRD-25352) into the…

    … feature/plcsql-p1n branch to add a user schema to a stored procedure.
    jongmin-won committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    76f3145 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Modify to execute the CALL PROCEDURE/FUNCTION statement correctly. Ad…

    …ditionally, class methods are system tables and do not require user_schema. ex) 'add_user', 'drop_user', 'find_user'
    jongmin-won committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    1ce9ff5 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Modify to execute the SELECT PROCEDURE/FUNCTION statement correctly. …

    …Additionally, Resolves an error where the CALL PROCEDURE/FUNCTION statement does not work correctly.
    jongmin-won committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    fab738a View commit details
    Browse the repository at this point in the history
  2. Merge commit 'f101fbc9c' into feature/plcsql-CBRD-25352

    jongmin-won committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    b2ade1d View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. 1) Add unique_name to sp_info object to find pl/casl system stored pr…

    …ocedure object, 2) select hello(); Modified so that [user_name.]hello is displayed when an error message occurs because the corresponding sp cannot be found during execution.
    jongmin-won committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    95a96e0 View commit details
    Browse the repository at this point in the history
  2. 1) Resolving the issue where the OWNER is changed to the current sess…

    …ion user when executing a CREATE OR REPLACE PROCEDURE/FUNCTION, 2) Add user_schema to SP when performing a schema unload
    jongmin-won committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    1aeb682 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Modify the if-statement in the case PT_METHOD_CALL: part of pt_bind_n…

    …ames() to simplify it.
    jongmin-won committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    6f190ca View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Merge branch 'goodone' into feature/plcsql-CBRD-25352

    jongmin-won committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    f90eab9 View commit details
    Browse the repository at this point in the history
  2. 1) Modified the logic to allow for separate execution of SP and Metho…

    …d within an if-else-statement when the CALL statement is executed. 2) Added a part to remove the owner and user_schema when the unloaddb utility is executed as a general user, provided that the owner and user_schema are the same.
    jongmin-won committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    4fabc96 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    1a797f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. dba 와 dba 그룹 이외 사용자가 다른 사용자의 CREATE PROCEDURE/FUNCTION 구문을 사용할 경우 에러가…

    … 발생하도록 수정 ex) u1 사용자가 create function u2.hello 수행할 경우
    jongmin-won committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    c658a6c View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. 1) test_sql 에서 error가 발생하는 case 수정(trigger_action, query_spec), 2) sy…

    …stem method 와 user method (Function& Stored_procedure) 구분을 grammar.y에서 확인하도록 수정
    jongmin-won committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    e2d51a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. pt_bind_names()에서 다음과 같은 이유로 [user_schema]를 다시 제거되도록 수정함. 첫 번째 arg_li…

    …st에 세션 변수가 있는 경우, csql_grammar.y에서는 세션 변수에 클래스, 객체 또는 상수 중 어떤 값이 포함되어 있는지 알 수 없습니다. 따라서, pt_bind_names()에서 java_stored_procedure가 아니고 on_call_target 값이 있으면 method로 간주하여 [user_schema]를 제거합니다.
    jongmin-won committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    54be451 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. 1) ALTER PROCEDURE/FUNCTION 구문에서 OWNER TO 없이 수행시 unique_name의 값이 empt…

    …y value 로 잘 못 수정되는 부분 수정, 2) PT_FUNCTION 노드를 수행시 generic_name 값을 항상 downcase 하도록 수정
    jongmin-won committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    170b14c View commit details
    Browse the repository at this point in the history
  2. [Rollback] PT_FUNCTION 노드를 수행시 generic_name 값은 사용자가 입력한 그대로 출력하게 수정 e…

    …x) select HELLO(); -> Query stmt: select HELLO() from dual dual
    jongmin-won committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    df41f70 View commit details
    Browse the repository at this point in the history
  3. name_resolution 파일에 오타 수정

    jongmin-won committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    aca5193 View commit details
    Browse the repository at this point in the history
  4. name_resolution 파일에 누락된 if-statement 추가

    jongmin-won committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    f869886 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. sp_param_def 토큰 내부의 sp_param_type 토큰 위치에 data_type 토큰이 잘못 사용되었기 때문에 d…

    …evelop과 같이 data_type 토큰을 sp_param_type 토큰으로 변경했습니다.
    jongmin-won committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    c0fa0ff View commit details
    Browse the repository at this point in the history
  2. Merge commit 'c18553564' into feature/plcsql-CBRD-25352

    jongmin-won committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    f8ab9a0 View commit details
    Browse the repository at this point in the history
  3. Merge commit 'ca9beeff5' into feature/plcsql-CBRD-25352

    jongmin-won committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    61fb31e View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    b9cae15 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. 1) The procedure_name and function_name tokens were merged into a pro…

    …cedure_or_function_name token with a common name. 2) Fixed the logic when PT_DOT_ node type is changed to PT_METHOD_CALL node type when STORED_PROCEDURE is executed.
    jongmin-won committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    fc2d58a View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Merge remote-tracking branch 'upstream/feature/plcsql-p1n' into featu…

    …re/plcsql-CBRD-25352
    jongmin-won committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    89d439b View commit details
    Browse the repository at this point in the history
  2. Add dbms_output user_schema to CALL enable and CALL disalbe related t…

    …o pl/csql execution.
    jongmin-won committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    df4f051 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. I modified it by referring to the code review.

    jongmin-won committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    5694430 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. 1) I modified it by referring to the code review. 2) The unique_name …

    …value in System pl/csql has been modified as follows. [public].[dbms_output].[System_pl_csql_name] 3) We have decided to integrate the unload_schema code modification into another issue (separated for unload integration testing).
    jongmin-won committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    bbdd267 View commit details
    Browse the repository at this point in the history
  2. Merge commit '59c98d544' into feature/plcsql-CBRD-25352

    jongmin-won committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    4ac8596 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. The maximum length of the identifier name that includes the user_sche…

    …ma specified in the manual is 222 bytes, but the actual error message is displayed as 223 bytes. Therefore, I have modified the error message.
    jongmin-won committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    01ba477 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Merge commit '5ae12df82' into feature/plcsql-CBRD-25352

    jongmin-won committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    fd1de0c View commit details
    Browse the repository at this point in the history
  2. Reflecting the code review content and adding a part to change the un…

    …ique_name in the change_sp_owner method.
    jongmin-won committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    0572d68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b7482bb View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. 1) Modify sp_name to be downcased in pl/csql, 2) We previously used s…

    …trdup to generate the sp_info.unique_name value, but failed to release the memory. To rectify this, we have added code to free the memory.
    jongmin-won committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    c6ae8b8 View commit details
    Browse the repository at this point in the history
  2. We added that part by omitting the length value of the NULL terminati…

    …on character ('\0') when performing downcase.
    jongmin-won committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    45d26fd View commit details
    Browse the repository at this point in the history