Skip to content

[Bug]: 删除数据库,mo_catalog.mo_user_defined_function里面该数据库下udf的记录没有被删掉 #14239

Closed

Description

@yangj1211

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

6581

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

企业微信截图_6d8a9e8d-5601-4d64-8e8e-13ebc9177e3c

Expected Behavior

删除数据库后,该数据库下创建的udf应该从mo_catalog.mo_user_defined_function中删除

Steps to Reproduce

create database db1;
create database db2;
use db1;
create function helloworld () returns int language sql as 'select id from tbl1 limit 1';
use db2;
drop function helloworld();
show function status;

Additional information

No response

Activity

  1. added
    kind/bug
    on Jan 17, 2024
  2. added this to the 1.2.0 milestone on Jan 17, 2024
  3. assigned and unassigned on Jan 17, 2024
  4. added
    severity/s0
    on Jan 17, 2024
  5. YANGGMM commented on Jan 23, 2024

    @YANGGMM
    Contributor

    fixed, plz test @yangj1211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugseverity/s0

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions