Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

Replace all values inside of IN() lists #42

@ghost

Description

To follow the same fingerprint to pt-query-digest. Replace all literals inside of IN() lists with a single placeholder, regardless of cardinality.

Related issues: #37

For example;

SELECT name FROM user WHERE id IN (?, ?, ?, ?, ?, ?);

To:

SELECT name FROM user WHERE id IN (?);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions