Skip to content

[FORMATTING] PLSQL incorrect format of "for update" syntax  #340

Closed

Description

@AndyGeng123

Oracle sql text:

 select *  from andy.t_test for update;

Expect output:

 select *  
   from andy.t_test for update;

output in demo website:

   select *
     from andy.t_test for
   update;

Activity

  1. nene commented on Jul 26, 2022

    @nene
    Collaborator

    Thanks for the bug report.

    Unfortunately this is currently pretty hard to fix. Problems like this are the reason why we're looking into doing some major architectural changes in the formatter.

  2. nene commented on Sep 1, 2022

    @nene
    Collaborator

    Found a simpler way of fixing this. Released in 10.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions