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

修复集合方法extend使用错误的提示信息 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HuangSongZ
Copy link

 DECLARE
    -- Associative array indexed by string:
    TYPE population IS TABLE OF NUMERIC  -- Associative array type
    INDEX BY VARCHAR(64);            --  indexed by string

    city_population population;
begin

    city_population('Smallville')  := 2000;
    
    city_population.extend; -- EXTEND is not support the Associative array

end;
/

ERROR: index by varchar type don't support trim function at or near "city_population"

这个提示信息是有问题的,用例使用的是extend方法,但是执行提示是使用了trim方法。

@wotchin
Copy link
Contributor

wotchin commented Sep 19, 2022

Great!
这是个镜像,PR可以在Gitee提交

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants