Skip to content

Why does updating the same data affect the number of rows by 1 #33838

@tss3023coding

Description

@tss3023coding

When I update the same data, the number of affected rows is 1. The following is the code:
image
When I logged in through MySQL client and executed the same update statement, the number of affected lines was 0, as shown in the following figure:
image
Has anyone encountered the same problem, unsure if it is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.comstatus: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions