Skip to content

[Bug] sleep function with character constant(such as 'a', '1.1') leads to be crash #37327

@yoursweetie

Description

@yoursweetie

Search before asking

  • I had searched in the issues and found no similar issues.

Version

2.1

What's Wrong?

select sleep('1.1') leads to be crash

What You Expected?

just as 2.0version, be will not crash

How to Reproduce?

Just execute select sleep('1.1')
图片

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions