Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DROP PROCEDURE IF EXISTS produces ProgrammingError instead of Warning #48

Copy link
Copy link
Closed
@regner

Description

@regner
Issue body actions

Maybe this is more of a question than an actual issue, sorry about that.

I am attempting to solve this issue: evetrivia/thanatos#15

Which errors out when running the following SQL: https://github.com/evetrivia/thanatos/tree/master/thanatos/database/procs

The MySQL documentation says that the IF EXISTS clause is an extension and that it will throw an error. OK fine. Everything online seems to say it should throw a Warning exception though, not a ProgramingError.

Reference:

Is there a reason why this causes a ProgrammingError instead of a Warning? What is the best way to handle it?

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.