Skip to content

UPDATE Table having invalid ANTLR Parser logic #3

@OneEyeLag

Description

@OneEyeLag

There is an issue with the "where" condition for ANTLR Parser implementation.

tinysql> select A,B from T2;
+---+---------+
| A | B       |
+---+---------+
| 1 | 'Alice' |
| 2 | 'Bob'   |
+---+---------+

tinysql> update T2 SET A=1 where A=2;
1 row updated.
tinysql> select A,B from T2;
+---+---------+
| A | B       |
+---+---------+
| 1 | 'Alice' |
| 2 | 'Bob'   |
+---+---------+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions