Skip to content

UPDATE Table having invalid ANTLR Parser logic #3

@arjunsk

Description

@arjunsk

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions