Skip to content

Mark dangerous multiple-table updates as destructive queries #791

@gfrlv

Description

@gfrlv

MySQL allows to update multiple tables at once, like this:

update foo, bar
set foo.a = 1, bar.b = 2
where bar.b = 1

The table for which there is no where-clause is specified will be updated completely. We now warn about complete table updates (issue #728, resolved in #785), but the current realization only works with the one-table form.

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