Skip to content

[FORMATTING] MySQL "NOT IN ()" removes space before ( #933

Closed

Description

@verhovsky

Input data

SELECT
  a
FROM
  b
WHERE
  x NOT IN(
    SELECT
      y
    FROM
      z
)

Expected Output

SELECT
  a
FROM
  b
WHERE
  x NOT IN (
    SELECT
      y
    FROM
      z
  )

Actual Output

(as is)

SELECT
  a
FROM
  b
WHERE
  x NOT IN(
    SELECT
      y
    FROM
      z
  )

Usage

Activity

  1. nene commented on Feb 13, 2026

    @nene
    Collaborator

    Thanks for reporting.

  2. nene commented on Feb 13, 2026

    @nene
    Collaborator

    Fixed in 15.7.1.

  3. added a commit that references this issue on Feb 13, 2026
    3a1a7a8
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