Skip to content

Strange delimiter behavior parsing the file in the wrong area #7

Open
@markoueis

Description

@markoueis

The default oracle delimiter for multiple statements is /
However this should obviously not cause the file to split on / if the / is used in some sort of math division. I'm seeing it incorrectly parse a large file at this line here

l_amount := mv_round_amount(l_amount_to_dist*(l_pct/100),trans_rec.currency_id);

What's going on here? This seems so basic that I feel I must be doing something wrong, but this is indeed what is happening.

It doesn't seem to parse on / if the / is in comments or in strings. What's going on here? How can i move forward.

From what i can tell the parsing logic is implemented in dbup and not in dbup.oracle which is why i'm posting this here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions